[Piuparts-devel] Bug#894232: piuparts: deprecate --keep-tmpdir after buster in favor of --keep-env

Holger Levsen holger at layer-acht.org
Tue Mar 27 15:42:06 UTC 2018


package: piuparts
x-debbugs-cc: Agustin Henze <tin at debian.org>

On Tue, Mar 27, 2018 at 05:37:32PM +0200, Andreas Beckmann wrote:
> On 2018-03-27 16:44, Holger Levsen wrote:
> > So (I believe) we should introduce --keep-env (also -k) and deprecate
> > --keep-tmpdir now, but still support the latter until after the buster
> > release. 
> > 
> > Is that possible easily in a non-hackish way?
> 
> Yes!
> 
> parser.add_option("-k", "--keep-env", "--keep-tmpdir",
> 
> Note, this will set opts.keep_env instead of opts.keep_tmpdir.
> (Or maybe both, haven't tried it)
> 
> (I did this locally for
>   parser.add_option("-l", "--log-file", "--logfile",
> since I always forgot the inner dash)
> 
> You can have as many names for an option as you want :-)

thanks, Andreas.

So we first now need to do the above code changes and then deprecate
--keep-env after the buster release.

Filing a bug so we don't forget.


-- 
cheers,
	Holger
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/piuparts-devel/attachments/20180327/b1fa87f2/attachment.sig>


More information about the Piuparts-devel mailing list