95 Commits

Author SHA1 Message Date
Evan Broder
cdde59f436 Typo fix 2012-05-13 14:06:09 -07:00
Evan Broder
4ef5a12e60 backportpackage: Pass -v to debuild with last published version
number. This matches the way backports have traditionally been
generated by archive admins.
2012-05-13 14:05:53 -07:00
Evan Broder
3136efc10d backportpackage: Switch to ~ubuntu12.04.1-style version numbers
instead of ~precise1, to make our version numbers more future-proof.
2012-05-13 13:49:49 -07:00
Stefano Rivera
0f5ab96310 * check-mir, check-symbols, grep-merges, pbuilder-dist-simple,
setup-packaging-environment, submittodebian, ubuntu-iso:
  Do enough argument parsing to handle --help (LP: #988009)
* dgetlp: Require a UTF-8 locale, or it'll crash when displaying errors
  (LP: #979117)
* pbuilder-dist: Don't try to enable -updates for Debian testing
  (LP: #993006)
* pbuilder-dist, pull-debian-source, pull-lp-source, requestsync,
  reverse-depends, submittodebian, syncpackage:
  Handle outdated distro-info data. Fall back to sane defaults where
  possible.
* backportpackage: Avoid uploading orig tarballs if they are already present
  in the destination PPA (LP: #691897)
* Allow mk-sbuild to be run by root if a configuration file exists
  (LP: #888736)
* backportpackage: Allow unsigned backports (LP: #992739)
* update-maintainer: Add a function to restore the original maintainer.
* submittodebian: Revert Ubuntu Maintainer mangling, and re-build the source
  package before diffing. (LP: #902233)
2012-05-11 18:13:04 -07:00
Evan Broder
fdbf495f15 backportpackage: Add -c, --close flag to include a changelog closer. 2012-05-11 09:56:19 -07:00
Stefano Rivera
ebe44bf04e backportpackage: Allow unsigned backports (LP: #992739) 2012-05-06 13:09:54 +02:00
Stefano Rivera
314ed77d77 backportpackage: Avoid uploading orig tarballs if they are already present
in the destination PPA (LP: #691897)
2012-05-06 12:32:54 +02:00
Stefano Rivera
18f3109cee * backportpackage
- Prompt to delete existing workdirs (LP: #885514)
  - Support a BACKPORTPACKAGE_UPLOAD configuration/enviornment variable
    (LP: #693217)
2012-03-28 23:25:33 +02:00
Stefano Rivera
3c81209b34 backportpackage: Prompt to delete existing workdirs (LP: #885514) 2012-03-28 14:47:30 +02:00
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