From 082ee862b0b7b51b85e5b5bbee189ed740cd5ebc Mon Sep 17 00:00:00 2001 From: Simon Quigley Date: Sat, 16 May 2020 23:41:23 -0500 Subject: [PATCH] Run Lintian on built binaries if the package build succeeds. --- templates/package-stable.xml | 8 ++++++++ templates/package-unstable.xml | 8 ++++++++ 2 files changed, 16 insertions(+) diff --git a/templates/package-stable.xml b/templates/package-stable.xml index 7a15b77..e863954 100644 --- a/templates/package-stable.xml +++ b/templates/package-stable.xml @@ -68,6 +68,14 @@ git clone https://phab.lubuntu.me/source/ci-tooling.git tooling; ./tooling/ci/lp_check.py -p {{ NAME }} -v $VERSION-0ubuntu1~ppa1 -t lubuntu-ci -r stable-ci-proposed; + + +export VERSION="$(head -1 {{ NAME }}/debian/changelog | sed -n '/(/,/)/{:a; $!N; /)/!{$!ba}; s/.*(\([^)]*\)).*/\1/p}' | cut -d '-' -f1)"; +pull-ppa-debs --ppa=ppa:lubuntu-ci/stable-ci-proposed {{ NAME }} $VERSION-0ubuntu1~ppa1 +lintian -EvIL +pedantic *.dsc *.deb + + 1 + diff --git a/templates/package-unstable.xml b/templates/package-unstable.xml index 2ce924a..bf536ee 100644 --- a/templates/package-unstable.xml +++ b/templates/package-unstable.xml @@ -68,6 +68,14 @@ git clone https://phab.lubuntu.me/source/ci-tooling.git tooling; ./tooling/ci/lp_check.py -p {{ NAME }} -v $VERSION-0ubuntu1~ppa1 -t lubuntu-ci -r unstable-ci-proposed; + + +export VERSION="$(head -1 {{ NAME }}/debian/changelog | sed -n '/(/,/)/{:a; $!N; /)/!{$!ba}; s/.*(\([^)]*\)).*/\1/p}' | cut -d '-' -f1)"; +pull-ppa-debs --ppa=ppa:lubuntu-ci/unstable-ci-proposed {{ NAME }} $VERSION-0ubuntu1~ppa1 +lintian -EvIL +pedantic *.dsc *.deb + + 1 +