linting wrapper for dput
Simon Quigley
tsimonq2 at ubuntu.com
Fri Sep 1 03:55:50 UTC 2017
Hey Michael,
> If, like me, you spend time preparing uploads for ppas, the ubuntu
> development release, SRUs and/or debian, sometimes you no doubt screw up
> and upload a package without ~ppa1 to your ppa or upload a package with
> version X.Y~17.04 to xenial (at least, I do this sort of thing quite a
> lot). I've written a wrapper around dput that checks for many of these
> mistakes before invoking real dput:
>
> https://gist.github.com/mwhudson/616499edb1191bd99c987bbbd8781ce9
>
> (it also checks that for SRU bugs the listed bugs have open tasks for
> the appropriate distro / source packages).
Amazing, this will be really useful. Thank you!
> I've only been using this for a couple of days but I hope it's going to
> save me a bunch of time, maybe it will for you too :)
I wonder if there's a way to bake this into dput officially (i.e.
running these checks and giving an option to override if necessary).
Maybe file a bug in Debian?
--
Simon Quigley
tsimonq2 at ubuntu.com
tsimonq2 on freenode and OFTC
5C7A BEA2 0F86 3045 9CC8
C8B5 E27F 2CF8 458C 2FA4
More information about the ubuntu-devel
mailing list