Thursday, 31 August 2017

linting wrapper for dput

Hi all,

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:

(it also checks that for SRU bugs the listed bugs have open tasks for the appropriate distro / source packages).

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 :)