[DRE-commits] [SCM] pkg-ruby-extras.git branch, master, updated. 60b4589667e0b2ce97ea5b19701aea144c71e9b3
Antonio Terceiro
terceiro at debian.org
Tue Jan 29 15:19:12 UTC 2013
The following commit has been merged in the master branch:
commit 60b4589667e0b2ce97ea5b19701aea144c71e9b3
Author: Antonio Terceiro <terceiro at debian.org>
Date: Tue Jan 29 12:18:46 2013 -0300
Do not abort the package check if lintian fails
but print a warning in red
diff --git a/upload b/upload
index 68f35de..70efbf7 100755
--- a/upload
+++ b/upload
@@ -19,6 +19,11 @@ banner() {
echo # blank line
}
+warning() {
+ msg="$@"
+ printf "\033[0;31;40mWARNING: ${msg}\033[m\n"
+}
+
# build
git buildpackage --git-pbuilder
@@ -28,7 +33,11 @@ check_package() {
dpkg-parsechangelog
banner "Lintian checks"
- lintian -Ii
+ if ! lintian -Ii; then
+ echo
+ warning "Lintian reported ERRORS in the package!"
+ echo
+ fi
banner "Rubygems integration"
debc | grep gemspec | sed 's/.*\s//'
--
pkg-ruby-extras.git
More information about the Pkg-ruby-extras-commits
mailing list