Commit Graph

14 Commits

Author SHA1 Message Date
Ben Hutchings b5cdf98158 [rt] genpatch.py: Verify tag and tarball signatures 2017-01-25 04:30:46 +00:00
Ben Hutchings 9287597ec2 debian/patches/features/all/rt/genpatch.py: Catch more specific exception class
Now that we use Python 3, we can simply catch FileNotFoundError
instead of checking the IOError error code.
2016-12-08 19:26:46 +00:00
Ben Hutchings 465cba954c debian/patches/features/all/rt/genpatch.py: Fix support for git repositories
- Wrap UTF-8 decoder around pipe from git, since pipes produce bytes in
  Python 3
- Correct condition on number of arguments
2016-12-08 19:23:50 +00:00
Ben Hutchings 27d73ecf49 debian/patches/features/all/rt/genpatch.py: Use stable URLs in patch Origin headers
Previously each tarball would be uploaded to .../rt/<upstream-version>/
and then later moved to .../rt/<upstream-version>/older/.  Now they are
appearing in .../older/ immediately so we can construct stable URLs
under there.
2016-06-05 18:33:18 +01:00
Ben Hutchings 964980804a debian/patches/features/all/rt/genpatch.py: Use upstream tarball directly 2016-06-05 18:33:11 +01:00
Ben Hutchings 07db14c867 debian/patches/features/all/rt/genpatch.py: Fix mapping of -rt version to upstream version
Specifically, allow for a -rcN suffix on the upstream version.
2016-06-05 18:31:38 +01:00
Ben Hutchings 0724abc432 debian/patches/features/all/rt/genpatch.py: Use Python 3 2016-06-05 17:41:39 +01:00
Ben Hutchings 7666bbcb16 [rt] genpatch.py: Fix parsing of upstream patches with no header
svn path=/dists/sid/linux/; revision=20451
2013-08-07 13:04:39 +00:00
Ben Hutchings 14b281b156 [rt] genpatch.py: Accept missing series-rt
svn path=/dists/sid/linux/; revision=20449
2013-08-07 12:46:30 +00:00
Ben Hutchings db3f17661b [rt] genpatch.py: Add Origin header to all patches
svn path=/dists/trunk/linux/; revision=20312
2013-07-01 04:12:55 +00:00
Ben Hutchings 326f255d1f [rt] Fold convert-series into genpatch.py
In the process, stop stripping localversion.patch from an upstream
patch series, which we already stopped doing when exporting patches
from git.

svn path=/dists/trunk/linux/; revision=20310
2013-07-01 03:29:39 +00:00
Ben Hutchings 655014b03d [rt] Make genpatch.py work with upstream patch series as well as git
svn path=/dists/trunk/linux/; revision=20309
2013-07-01 03:06:18 +00:00
Ben Hutchings d55331e7c9 Add script to regenerate rt patch series from git
svn path=/dists/sid/linux/; revision=20025
2013-05-04 20:44:04 +00:00
Ben Hutchings 3577682f77 Add script to regenerate rt patch series from git
svn path=/dists/sid/linux/; revision=19981
2013-04-28 19:00:37 +00:00