Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] travis: do not ignore failure of all but last linted template
@ 2019-07-15 17:34 voidlinux-github
  2019-07-17  6:52 ` voidlinux-github
  2019-07-17  6:52 ` [PR PATCH] [Merged]: " voidlinux-github
  0 siblings, 2 replies; 3+ messages in thread
From: voidlinux-github @ 2019-07-15 17:34 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 434 bytes --]

There is a new pull request by Chocimier against master on the void-packages repository

https://github.com/Chocimier/void-packages-org xlint
https://github.com/void-linux/void-packages/pull/13135

travis: do not ignore failure of all but last linted template
[Example here](https://travis-ci.org/void-linux/void-packages/jobs/558632576#L396)

A patch file from https://github.com/void-linux/void-packages/pull/13135.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-xlint-13135.patch --]
[-- Type: application/text/x-diff, Size: 813 bytes --]

From 1b70f7992ba8dc8a3087272a8baf35945ff95a64 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Piotr=20W=C3=B3jcik?= <chocimier@tlen.pl>
Date: Mon, 15 Jul 2019 19:32:45 +0200
Subject: [PATCH] travis: do not ignore failure of all but last linted template

---
 common/travis/xlint.sh | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/common/travis/xlint.sh b/common/travis/xlint.sh
index 56714bcd3a2..753d4a1fa51 100755
--- a/common/travis/xlint.sh
+++ b/common/travis/xlint.sh
@@ -4,7 +4,9 @@
 
 [ "$XLINT" ] || exit 0 
 
-awk '{ print "srcpkgs/" $0 "/template" }' /tmp/templates | while read -r t; do
+EXITCODE=0
+for t in $(awk '{ print "srcpkgs/" $0 "/template" }' /tmp/templates); do
 	/bin/echo -e "\x1b[32mLinting $t...\x1b[0m"
-	xlint "$t"
+	xlint "$t" || EXITCODE=$?
 done
+exit $EXITCODE

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: travis: do not ignore failure of all but last linted template
  2019-07-15 17:34 [PR PATCH] travis: do not ignore failure of all but last linted template voidlinux-github
@ 2019-07-17  6:52 ` voidlinux-github
  2019-07-17  6:52 ` [PR PATCH] [Merged]: " voidlinux-github
  1 sibling, 0 replies; 3+ messages in thread
From: voidlinux-github @ 2019-07-17  6:52 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 144 bytes --]

New comment by Gottox on void-packages repository

https://github.com/void-linux/void-packages/pull/13135#issuecomment-512127679
Comment:
:+1: 

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PR PATCH] [Merged]: travis: do not ignore failure of all but last linted template
  2019-07-15 17:34 [PR PATCH] travis: do not ignore failure of all but last linted template voidlinux-github
  2019-07-17  6:52 ` voidlinux-github
@ 2019-07-17  6:52 ` voidlinux-github
  1 sibling, 0 replies; 3+ messages in thread
From: voidlinux-github @ 2019-07-17  6:52 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 276 bytes --]

There's a merged pull request on the void-packages repository

travis: do not ignore failure of all but last linted template
https://github.com/void-linux/void-packages/pull/13135
Description: [Example here](https://travis-ci.org/void-linux/void-packages/jobs/558632576#L396)

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2019-07-17  6:52 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-07-15 17:34 [PR PATCH] travis: do not ignore failure of all but last linted template voidlinux-github
2019-07-17  6:52 ` voidlinux-github
2019-07-17  6:52 ` [PR PATCH] [Merged]: " voidlinux-github

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).