[linux] 04/05: debian/patches/features/all/rt/genpatch.py: Use stable URLs in patch Origin headers

debian-kernel at lists.debian.org debian-kernel at lists.debian.org
Sun Jun 5 18:23:54 UTC 2016


This is an automated email from the git hooks/post-receive script.

benh pushed a commit to branch master
in repository linux.

commit 27d73ecf49a82a17da3d5bf86bb8056d5318021e
Author: Ben Hutchings <ben at decadent.org.uk>
Date:   Sun Jun 5 18:27:06 2016 +0100

    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.
---
 debian/changelog                           | 2 ++
 debian/patches/features/all/rt/genpatch.py | 2 +-
 2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/debian/changelog b/debian/changelog
index 00ecdbd..5934742 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -18,6 +18,8 @@ linux (4.6.1-1~exp1) UNRELEASED; urgency=medium
   * debian/patches/features/all/rt/genpatch.py: Fix mapping of -rt version to
     upstream version
   * debian/patches/features/all/rt/genpatch.py: Use upstream tarball directly
+  * debian/patches/features/all/rt/genpatch.py: Use stable URLs in patch Origin
+    headers
 
  -- Ben Hutchings <ben at decadent.org.uk>  Sat, 04 Jun 2016 18:33:11 +0100
 
diff --git a/debian/patches/features/all/rt/genpatch.py b/debian/patches/features/all/rt/genpatch.py
index 021bc4c..740780f 100755
--- a/debian/patches/features/all/rt/genpatch.py
+++ b/debian/patches/features/all/rt/genpatch.py
@@ -80,7 +80,7 @@ def main(source, version=None):
                 assert os.path.isdir(source_dir), 'tarball does not contain patches directory'
 
                 # Copy patch series
-                origin = 'https://www.kernel.org/pub/linux/kernel/projects/rt/%s/patches-%s.tar.xz' % (up_ver, version)
+                origin = 'https://www.kernel.org/pub/linux/kernel/projects/rt/%s/older/patches-%s.tar.xz' % (up_ver, version)
                 with open(os.path.join(source_dir, 'series'), 'r') as \
                         source_series_fh:
                     for line in source_series_fh:

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/kernel/linux.git



More information about the Kernel-svn-changes mailing list