[27092] in Source-Commits

home help back first fref pref prev next nref lref last post

Re: /svn/athena r25940 - trunk/debathena/scripts

daemon@ATHENA.MIT.EDU (Benjamin Kaduk)
Mon Apr 22 16:21:58 2013

Date: Mon, 22 Apr 2013 16:21:48 -0400 (EDT)
From: Benjamin Kaduk <kaduk@MIT.EDU>
To: Jonathan D Reed <jdreed@MIT.EDU>
cc: source-commits@MIT.EDU
In-Reply-To: <201304221813.r3MIDLI2016299@drugstore.mit.edu>
Message-ID: <alpine.GSO.1.10.1304221621450.9389@multics.mit.edu>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed

Sure, ACK.
-Ben

On Mon, 22 Apr 2013, Jonathan D Reed wrote:

> Author: jdreed
> Date: 2013-04-22 14:13:21 -0400 (Mon, 22 Apr 2013)
> New Revision: 25940
>
> Modified:
>   trunk/debathena/scripts/daupload-proposed
> Log:
> Allow overriding of DEBIAN_CODES (e.g., if you need to build and upload
> for a single release).  This is preferable to running 'dareprepro include'
> by hand.
>
>
> Modified: trunk/debathena/scripts/daupload-proposed
> ===================================================================
> --- trunk/debathena/scripts/daupload-proposed	2013-04-22 16:21:46 UTC (rev 25939)
> +++ trunk/debathena/scripts/daupload-proposed	2013-04-22 18:13:21 UTC (rev 25940)
> @@ -20,6 +20,14 @@
> : ${DA_SCRIPTS_DIR="$(dirname "$0")"}
> . "$DA_SCRIPTS_DIR"/debian-versions.sh
>
> +if [ -n "$DEBIAN_CODES_OVERRIDE" ]; then
> +    echo "Will override DEBIAN_CODES with: $DEBIAN_CODES_OVERRIDE"
> +    echo -n "Continue? [y/N]"
> +    read a
> +    [ "$a" = "y" ]
> +    DEBIAN_CODES="$DEBIAN_CODES_OVERRIDE"
> +fi
> +
> case "$(basename "$0")" in
>     daupload-release)
> 	release=""
> @@ -111,6 +119,11 @@
>     done
> fi
>
> +if [ -n "$DEBIAN_CODES_OVERRIDE" ]; then
> +    echo "Codes overridden, skipping copy of files.  Cleanup by hand."
> +    exit 0
> +fi
> +
> changes=$change
> for code in $DEBIAN_CODES; do
>     tag=$(gettag "$code")
>
>

home help back first fref pref prev next nref lref last post