Package: ubuntu-dev-tools
Version: 0.155
Severity: normal
Tags: patch

It turns out getting pull-debian-source to pull a squeeze-lts version is not
complicated.  It will error out if there isn't an LTS package, but I think
that is OK.  Please see the attached patch.  It would be nice to have this
available generally.  I am using it for my LTS work locally.

Scott K
diff -Nru ubuntu-dev-tools-0.155/debian/changelog ubuntu-dev-tools-0.156/debian/changelog
--- ubuntu-dev-tools-0.155/debian/changelog	2015-10-30 18:00:26.000000000 -0400
+++ ubuntu-dev-tools-0.156/debian/changelog	2015-11-30 15:27:07.000000000 -0500
@@ -1,3 +1,9 @@
+ubuntu-dev-tools (0.156) UNRELEASED; urgency=medium
+
+  * Add suppport for Debian LTS to pull-debian-source
+
+ -- Scott Kitterman <sc...@kitterman.com>  Mon, 30 Nov 2015 15:24:37 -0500
+
 ubuntu-dev-tools (0.155) unstable; urgency=medium
 
   [ Dimitri John Ledkov ]
diff -Nru ubuntu-dev-tools-0.155/pull-debian-source ubuntu-dev-tools-0.156/pull-debian-source
--- ubuntu-dev-tools-0.155/pull-debian-source	2013-03-18 19:11:37.000000000 -0400
+++ ubuntu-dev-tools-0.156/pull-debian-source	2015-11-30 15:22:39.000000000 -0500
@@ -43,6 +43,8 @@
                 return (release + '-proposed-updates')
             elif pocket == 'security':
                 return (release + '-security')
+            elif pocket == 'lts':
+                return (release + '-lts')
     else:
         release = debian_info.codename(version, default=version)
         if release in debian_releases:

Reply via email to