[Piuparts-devel] [Piuparts-commits] [piuparts] 01/02: Revert "drop scripts/pre_upgrade_exceptions"

Holger Levsen holger at layer-acht.org
Sun May 18 20:37:53 UTC 2014


Hi,

On Sonntag, 18. Mai 2014, Holger Levsen wrote:
> holger pushed a commit to branch develop
> in repository piuparts.
> 
> commit b3a39f2f218c4dc1c2dee324b4734be2f134a162
> Author: Holger Levsen <holger at layer-acht.org>
> Date:   Sun May 18 13:56:16 2014 +0200
> 
>     Revert "drop scripts/pre_upgrade_exceptions"
> 
>     This reverts commit 51f34be8a3339465c6cf68767bc7ea07bfcf5b9d.

in which's commit message Andreas said: "I accept that the apt-listchanges 
test fails as long as there are RC bugs." 

Frankly, I disagree with that. Why should apt-listbugs fail the piuparts test, 
just becase there are RC bugs somehwere?

>  .../etc/scripts/pre_upgrade_exceptions                 | 18
> ++++++++++++++++++ 1 file changed, 18 insertions(+)
> 
> diff --git a/org/piuparts.debian.org/etc/scripts/pre_upgrade_exceptions
> b/org/piuparts.debian.org/etc/scripts/pre_upgrade_exceptions new file mode
> 100755
> index 0000000..db0a126
> --- /dev/null
> +++ b/org/piuparts.debian.org/etc/scripts/pre_upgrade_exceptions
> @@ -0,0 +1,18 @@
> +#!/bin/sh
> +
> +log_debug() {
> +	echo "Debug: piuparts exception for package $PIUPARTS_OBJECTS"
> +}
> +
> +echo "Debug: running script $0"
> +case $PIUPARTS_OBJECTS in
> +	apt-listbugs)		log_debug
> +				# apt-listbugs is run on installations / upgrades
> +				# and will them fail if packages have RC bugs
> +				# (which is good and sensible)
> +				printf "%b\n" "#/bin/sh\nexit 0" > /usr/sbin/apt-listbugs
> +				;;
> +esac
> +
> +exit 0
> +



cheers,
	Holger
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 828 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.alioth.debian.org/pipermail/piuparts-devel/attachments/20140518/2c01bc0b/attachment.sig>


More information about the Piuparts-devel mailing list