Merge lp:~xnox/ubuntu-dev-tools/always-sync-unstable into lp:~ubuntu-dev/ubuntu-dev-tools/trunk

Proposed by Dimitri John Ledkov
Status: Superseded
Proposed branch: lp:~xnox/ubuntu-dev-tools/always-sync-unstable
Merge into: lp:~ubuntu-dev/ubuntu-dev-tools/trunk
Diff against target: 79 lines (+11/-17)
5 files modified
debian/changelog (+8/-0)
doc/requestsync.1 (+1/-1)
doc/syncpackage.1 (+1/-2)
requestsync (+0/-5)
syncpackage (+1/-9)
To merge this branch: bzr merge lp:~xnox/ubuntu-dev-tools/always-sync-unstable
Reviewer Review Type Date Requested Status
Felix Geyer Needs Fixing
Review via email: mp+192185@code.launchpad.net

This proposal has been superseded by a proposal from 2013-10-22.

To post a comment you must log in.
Revision history for this message
Felix Geyer (debfx) wrote :

doc/syncpackage.1, requestsync and doc/requestsync.1 need to be updated as well.

review: Needs Fixing
1401. By Dimitri John Ledkov

Fix syncpackage manpage

1402. By Dimitri John Ledkov

  always done from unstable. Adjust requstsync & syncpackage to always
  default to unstable.

Unmerged revisions

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file 'debian/changelog'
--- debian/changelog 2013-10-14 20:09:27 +0000
+++ debian/changelog 2013-10-22 18:03:49 +0000
@@ -1,3 +1,11 @@
1ubuntu-dev-tools (0.151) UNRELEASED; urgency=low
2
3 * Since Britney migration was introduced in Ubuntu, automatic syncing is
4 always done from unstable. Adjust requstsync & syncpackage to always
5 default to unstable.
6
7 -- Dmitrijs Ledkovs <xnox@ubuntu.com> Tue, 22 Oct 2013 17:02:41 +0100
8
1ubuntu-dev-tools (0.150) unstable; urgency=low9ubuntu-dev-tools (0.150) unstable; urgency=low
210
3 [ Brian Murray ]11 [ Brian Murray ]
412
=== modified file 'doc/requestsync.1'
--- doc/requestsync.1 2012-02-11 19:59:46 +0000
+++ doc/requestsync.1 2013-10-22 18:03:49 +0000
@@ -44,7 +44,7 @@
44.TP44.TP
45.B \-d45.B \-d
46Specifies which Debian distribution a package should be synced from.46Specifies which Debian distribution a package should be synced from.
47Default is \fItesting\fR in LTS cycles, otherwise \fIunstable\fR.47Default is \fIunstable\fR.
48.TP48.TP
49.B \-n49.B \-n
50Specifies that the package is a new package, and requestsync should not50Specifies that the package is a new package, and requestsync should not
5151
=== modified file 'doc/syncpackage.1'
--- doc/syncpackage.1 2013-04-20 10:09:10 +0000
+++ doc/syncpackage.1 2013-10-22 18:03:49 +0000
@@ -35,8 +35,7 @@
35Show help message and exit35Show help message and exit
36.TP36.TP
37\fB\-d\fI DIST\fR, \fB\-\-distribution\fR=\fIDIST\fR37\fB\-d\fI DIST\fR, \fB\-\-distribution\fR=\fIDIST\fR
38Debian distribution to sync from. Default is \fItesting\fR during LTS38Debian distribution to sync from. Default is \fIunstable\fR.
39cycles, and \fIunstable\fR otherwise.
40.TP39.TP
41\fB\-r\fI RELEASE\fR, \fB\-\-release\fR=\fIRELEASE\fR40\fB\-r\fI RELEASE\fR, \fB\-\-release\fR=\fIRELEASE\fR
42Specify target Ubuntu release. Default: current development release.41Specify target Ubuntu release. Default: current development release.
4342
=== modified file 'requestsync'
--- requestsync 2012-10-30 09:18:17 +0000
+++ requestsync 2013-10-22 18:03:49 +0000
@@ -45,11 +45,6 @@
45def main():45def main():
46 ubu_info = UbuntuDistroInfo()46 ubu_info = UbuntuDistroInfo()
47 DEFAULT_SOURCE = 'unstable'47 DEFAULT_SOURCE = 'unstable'
48 try:
49 if ubu_info.is_lts(ubu_info.devel()):
50 DEFAULT_SOURCE = 'testing'
51 except DistroDataOutdated, e:
52 print >> sys.stderr, str(e)
5348
54 # Our usage options.49 # Our usage options.
55 usage = ('Usage: %prog [options] '50 usage = ('Usage: %prog [options] '
5651
=== modified file 'syncpackage'
--- syncpackage 2013-03-18 23:18:02 +0000
+++ syncpackage 2013-10-22 18:03:49 +0000
@@ -294,15 +294,7 @@
294 return DebianSourcePackage(dscfile=package, mirrors=mirrors)294 return DebianSourcePackage(dscfile=package, mirrors=mirrors)
295295
296 if dist is None:296 if dist is None:
297 ubu_info = UbuntuDistroInfo()297 dist = 'unstable'
298 try:
299 if ubu_info.is_lts(ubu_info.devel()):
300 dist = 'testing'
301 else:
302 dist = 'unstable'
303 except DistroDataOutdated, e:
304 Logger.warn(e)
305 dist = 'unstable'
306298
307 requested_version = version299 requested_version = version
308 if type(version) == str:300 if type(version) == str: