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
1=== modified file 'debian/changelog'
2--- debian/changelog 2013-10-14 20:09:27 +0000
3+++ debian/changelog 2013-10-22 18:03:49 +0000
4@@ -1,3 +1,11 @@
5+ubuntu-dev-tools (0.151) UNRELEASED; urgency=low
6+
7+ * Since Britney migration was introduced in Ubuntu, automatic syncing is
8+ always done from unstable. Adjust requstsync & syncpackage to always
9+ default to unstable.
10+
11+ -- Dmitrijs Ledkovs <xnox@ubuntu.com> Tue, 22 Oct 2013 17:02:41 +0100
12+
13 ubuntu-dev-tools (0.150) unstable; urgency=low
14
15 [ Brian Murray ]
16
17=== modified file 'doc/requestsync.1'
18--- doc/requestsync.1 2012-02-11 19:59:46 +0000
19+++ doc/requestsync.1 2013-10-22 18:03:49 +0000
20@@ -44,7 +44,7 @@
21 .TP
22 .B \-d
23 Specifies which Debian distribution a package should be synced from.
24-Default is \fItesting\fR in LTS cycles, otherwise \fIunstable\fR.
25+Default is \fIunstable\fR.
26 .TP
27 .B \-n
28 Specifies that the package is a new package, and requestsync should not
29
30=== modified file 'doc/syncpackage.1'
31--- doc/syncpackage.1 2013-04-20 10:09:10 +0000
32+++ doc/syncpackage.1 2013-10-22 18:03:49 +0000
33@@ -35,8 +35,7 @@
34 Show help message and exit
35 .TP
36 \fB\-d\fI DIST\fR, \fB\-\-distribution\fR=\fIDIST\fR
37-Debian distribution to sync from. Default is \fItesting\fR during LTS
38-cycles, and \fIunstable\fR otherwise.
39+Debian distribution to sync from. Default is \fIunstable\fR.
40 .TP
41 \fB\-r\fI RELEASE\fR, \fB\-\-release\fR=\fIRELEASE\fR
42 Specify target Ubuntu release. Default: current development release.
43
44=== modified file 'requestsync'
45--- requestsync 2012-10-30 09:18:17 +0000
46+++ requestsync 2013-10-22 18:03:49 +0000
47@@ -45,11 +45,6 @@
48 def main():
49 ubu_info = UbuntuDistroInfo()
50 DEFAULT_SOURCE = 'unstable'
51- try:
52- if ubu_info.is_lts(ubu_info.devel()):
53- DEFAULT_SOURCE = 'testing'
54- except DistroDataOutdated, e:
55- print >> sys.stderr, str(e)
56
57 # Our usage options.
58 usage = ('Usage: %prog [options] '
59
60=== modified file 'syncpackage'
61--- syncpackage 2013-03-18 23:18:02 +0000
62+++ syncpackage 2013-10-22 18:03:49 +0000
63@@ -294,15 +294,7 @@
64 return DebianSourcePackage(dscfile=package, mirrors=mirrors)
65
66 if dist is None:
67- ubu_info = UbuntuDistroInfo()
68- try:
69- if ubu_info.is_lts(ubu_info.devel()):
70- dist = 'testing'
71- else:
72- dist = 'unstable'
73- except DistroDataOutdated, e:
74- Logger.warn(e)
75- dist = 'unstable'
76+ dist = 'unstable'
77
78 requested_version = version
79 if type(version) == str: