86 Commits

Author SHA1 Message Date
Stefano Rivera
767951addb backportpackage: Map Debian release aliases to codenames (LP: #918231) 2012-02-15 16:57:17 +02:00
Stefano Rivera
f124357734 syncpackage, backportpackage, sponsor-patch: Use -nc when building source
packages. Avoids needing build-deps on the build machine.
2011-12-23 22:34:54 +02:00
Benjamin Drung
9e1a6f6ff9 backportpackage: Drop unused imports. 2011-12-21 22:13:25 +01:00
Stefano Rivera
705335a220 backportpackage: Add --release-pocket option, rather than relying entirely
on heuristics (Closes: #652000)
2011-12-21 22:49:24 +02:00
Stefano Rivera
fb44f55379 Remove redundant optparse parameters from backportpackage 2011-12-21 22:31:33 +02:00
Stefano Rivera
9ba1790863 pull-lp-source, requestbackport: Take the latest version from any
non-backports pocket. Implemented by making lpapicache's getSourcePackage
smarter.
2011-11-23 01:45:49 +02:00
Stefano Rivera
754b3128a3 backportpackage: Use absolute path of workdir when test-building. 2011-09-10 13:17:11 +02:00
Benjamin Drung
ba6bd9186b backportpackage: Search for newer versions in -{updates,security} on Ubuntu
(LP: #823833).
2011-09-08 17:26:40 +02:00
Benjamin Drung
dfdbce7108 Wrap long lines. 2011-06-24 17:50:10 +02:00
Evan Broder
19c33e5e32 * ubuntutools.subprocess:
- New drop-in replacement wrapper module around subprocess that
    backports the restore_signals kwarg and defaults close_fds=True
  - Switch everything previously using subprocess to use
    ubuntutools.subprocess instead (LP: #785854)
2011-06-24 16:32:07 +02:00
Evan Broder
c1eac4b0a9 Save the UDTConfig object and use it to find a default mirror. 2011-06-23 17:55:14 -07:00
Evan Broder
e6e0b97226 Clean up some long lines 2011-06-19 14:50:52 -07:00
Evan Broder
24452f43df Query rmadison for the canonical codename of a release, not aliases like "unstable" 2011-06-19 14:46:53 -07:00
Evan Broder
71b8bf786f Error out cleanly if unknown codename specified 2011-06-19 14:35:50 -07:00
Evan Broder
984ebf5e9b Cleanup unreachable code 2011-06-19 14:31:49 -07:00
Evan Broder
16300e471f Move vendor_to_distroinfo and codename_to_distribution into ubuntutools.misc 2011-06-11 06:04:09 -07:00
Evan Broder
1a6fb270b4 backportpackage, doc/backportpackage.1: Accept codenames from any
distribution in the parenting chain. Makes it possible to, e.g.,
backport from Debian. (LP: #703099)
2011-06-11 05:45:21 -07:00
Benjamin Drung
1cd7d50b85 backportpackage: Use --force-bad-version instead of --allow-lower-version (which requires a parameter) for debchange. 2011-05-28 19:41:07 +02:00
Evan Broder
d82e65e0e2 * ubuntutools.subprocess:
- New drop-in replacement wrapper module around subprocess that
    backports the restore_signals kwarg and defaults close_fds=True
  - Switch everything previously using subprocess to use
    ubuntutools.subprocess instead (LP: #785854)
2011-05-24 20:22:37 +02:00
Benjamin Drung
e8b3a18c45 Move suspicious-source and wrap-and-sort from ubuntu-dev-tools into devscripts. 2011-05-23 23:41:00 +02:00
Stefano Rivera
aa181c12ff backportpackage: dput correct changes filename (regression in 0.112)
(LP: #706010)
2011-01-21 21:24:50 +02:00
Stefano Rivera
cdd93a4cd8 backportpackage: check_call: Take first argument (command name) when reporting error. 2011-01-13 22:58:03 +02:00
Stefano Rivera
3ef8324ff7 Improve error handling 2011-01-01 19:51:03 +02:00
Stefano Rivera
3013ee034a Use *SourcePackage in backportpackage 2010-12-30 18:05:55 +02:00
Stefano Rivera
be79f00dff Lets make ubuntutools.mirrors return filenames 2010-12-28 00:42:35 +02:00
Stefano Rivera
2c27cf68a6 Move common downloading code into new ubuntutools.mirrors. Use in backportpackage, pull-debian-debdiff, pull-lp-source 2010-12-28 00:23:53 +02:00
Benjamin Drung
f6cb127479 backportpackage: Make pylint happier. 2010-12-27 20:32:07 +01:00
Benjamin Drung
0c8520ee8c Make pylint a little bit happier. 2010-12-27 15:20:49 +01:00
Benjamin Drung
f8d3f9f2f5 Wrap all long lines in Python scripts. 2010-12-27 14:21:01 +01:00
Stefano Rivera
53faae58dc Mirror support in backportpackage 2010-12-24 16:22:21 +02:00
Benjamin Drung
2a2cd83b74 sponsor-patch: Make pylint a little bit happier. 2010-12-22 23:31:35 +01:00
Stefano Rivera
692627c771 Restore -l 2010-12-21 21:54:57 +02:00
Stefano Rivera
7977a367fd Rename --launchpad to --lpinstance 2010-12-21 15:14:45 +02:00
Stefano Rivera
c6578d1ec0 Specify boolean for UPDATE_BUILDER 2010-12-21 02:02:38 +02:00
Stefano Rivera
9bc2bbf64f Settle on simply --no-conf, update manpages appropriately 2010-12-20 22:45:37 +02:00
Stefano Rivera
254be7bb5d Configuration system uses a class, add test suite 2010-12-20 22:08:12 +02:00
Stefano Rivera
3764bd12af Handle and document --noconf in backportpackage 2010-12-20 01:07:17 +02:00
Stefano Rivera
1bb418e02f Support configuration in backportpackage 2010-12-19 22:32:53 +02:00
Benjamin Drung
45c5d5206b backportpackage: Add full stops and exclamation marks to error messages. 2010-12-18 23:10:40 +01:00
Benjamin Drung
4afe3c8478 Use common error message for sponsor-patch and backportpackage. 2010-12-18 23:08:13 +01:00
Benjamin Drung
a0ef5a7e20 backportpackage: Disable lintian on source package creation. 2010-12-18 22:32:19 +01:00
Evan Broder
9f0722dfb3 backportpackage: You say goodbye, and I say hello. 2010-12-18 13:11:27 -08:00
Evan Broder
70a1dbecc7 backportpackage: Whoops, bdrung should get a copyright notice too 2010-12-18 12:58:11 -08:00
Evan Broder
21355cbf52 backportpackage: Allow for -S "" 2010-12-18 12:33:10 -08:00
Evan Broder
cbe6726eb3 Allow for just building the source package without a test build or
upload (LP: #691896)
2010-12-18 12:32:48 -08:00
Evan Broder
735ac962c3 Include -y option to skip prompts (LP: #691895) 2010-12-18 12:29:38 -08:00
Evan Broder
fca3e45826 backportpackage: Typo fix 2010-12-18 12:21:40 -08:00
Evan Broder
06446bbd4d backportpackage: Add --suffix option 2010-12-18 12:16:02 -08:00
Evan Broder
8afda6d3f1 backportpackage: Add missing copyright statement 2010-12-18 12:09:44 -08:00
Benjamin Drung
d7ee62e951 backportpackage: Put build result into /buildresult to avoid signature problems with the source tarball. 2010-12-18 20:35:20 +01:00