[Piuparts-commits] [SCM] piuparts git repository branch, develop, updated. 0.49-30-gbd8fd0e
Andreas Beckmann
debian at abeckmann.de
Mon Jan 21 17:38:55 UTC 2013
The following commit has been merged in the develop branch:
commit 1e3be187e5f7743dd9f220bba61ed971ace4801b
Author: Andreas Beckmann <debian at abeckmann.de>
Date: Sun Jan 20 19:54:26 2013 +0100
pre_remove_50_find_missing_copyright: add some exceptions
ignore missing copyright on some old packages with many rdepends
Signed-off-by: Andreas Beckmann <debian at abeckmann.de>
diff --git a/custom-scripts/scripts/pre_remove_50_find_missing_copyright b/custom-scripts/scripts/pre_remove_50_find_missing_copyright
index 5a530b3..9d82c7f 100755
--- a/custom-scripts/scripts/pre_remove_50_find_missing_copyright
+++ b/custom-scripts/scripts/pre_remove_50_find_missing_copyright
@@ -4,6 +4,13 @@ set -e
failed=
for pkg in ${PIUPARTS_OBJECTS%%=*}
do
+ # ignore failures for some old packages with many rdepends
+ ignore=
+ case "${pkg}_${PIUPARTS_DISTRIBUTION}" in
+ cdd-common_squeeze) ignore=1 ;; #692946
+ libcucul0_wheezy) ignore=1 ;; # removed
+ esac
+
# skip check if the package is not installed
dpkg-query -s "$pkg" >/dev/null 2>&1 || continue
status="$(dpkg-query -W -f '${Status}' $pkg)"
@@ -14,7 +21,11 @@ do
copyright="$docdir/copyright"
if [ ! -f "$copyright" ]
then
- failed="$failed $copyright"
+ if [ -n "$ignore" ]; then
+ echo "ignoring failure of $pkg on $PIUPARTS_DISTRIBUTION"
+ else
+ failed="$failed $copyright"
+ fi
echo "MISSING COPYRIGHT FILE: $copyright"
echo "# ls -lad $docdir"
ls -lad "$docdir" || true
diff --git a/debian/changelog b/debian/changelog
index e8deeef..c48d4e8 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -13,6 +13,7 @@ piuparts (0.50) UNRELEASED; urgency=low
* piuparts-report.py:
* pre_install_exceptions: Handle bootcd-ia64 installation in squeeze.
* post_distupgrade_exceptions: Handle libdb4.8 removal in wheezy.
+ * pre_remove_50_find_missing_copyright: Add some exceptions.
-- Andreas Beckmann <debian at abeckmann.de> Tue, 15 Jan 2013 11:51:43 +0100
--
piuparts git repository
More information about the Piuparts-commits
mailing list