80 Commits

Author SHA1 Message Date
Stefano Rivera
497177760b Allow --force ing a blacklist override, when doing a non-native sync 2011-08-25 14:30:30 +02:00
Stefano Rivera
91c70189fd getDifferenceComments is a method on series 2011-08-25 14:29:36 +02:00
Stefano Rivera
95e5437f44 Note on LP bug to improve getDifferencesTo() 2011-08-24 23:52:45 +02:00
Stefano Rivera
76fabbe0ba Add blacklisting explanation 2011-08-24 19:54:02 +02:00
Stefano Rivera
1277344ec8 Check the +localpackagediffs blacklist too 2011-08-24 19:52:21 +02:00
Stefano Rivera
1d1f86cb9c Docstring 2011-08-24 14:59:22 +02:00
Stefano Rivera
e04d4df889 Check the sync blacklist 2011-08-24 14:46:11 +02:00
Benjamin Drung
3e3b9bcff5 * syncpackage: Convert to new LP API, with --no-lp available for the old
style of operation.
* syncpackage: Require -f/--force option to overwrite Ubuntu changes.
2011-08-20 11:11:16 +02:00
Colin Watson
a4000c606c drop quiet download stuff, not worth an API debate 2011-08-18 15:10:19 +01:00
Colin Watson
2aaa7de246 docstring for copy() 2011-08-18 15:07:09 +01:00
Colin Watson
d624e9d18f factor out dsc comparison into a method on ubuntutools.archive.Dsc 2011-08-18 15:06:05 +01:00
Colin Watson
9bc479dbcb drop unused variable 2011-08-18 13:00:00 +01:00
Colin Watson
f40db6836e drop unused argument 2011-08-18 12:59:15 +01:00
Colin Watson
38ade0ea7d avoid shadowing global "debian" name 2011-08-18 12:57:19 +01:00
Colin Watson
189bfa238a fake syncs require --no-lp 2011-08-17 17:10:09 +01:00
Colin Watson
0a2d4b11a8 use version.full_version rather than str(version) 2011-08-17 13:02:07 +01:00
Colin Watson
f91f61f8d4 DebianSourcePackage.lp_spph is annoyingly overloaded; just do the check directly 2011-08-17 12:59:54 +01:00
Colin Watson
5eb960dd3f make better use of ubuntutools.archive, allowing us to detect when fakesyncs are required in LP mode 2011-08-17 03:03:01 +01:00
Colin Watson
da15a35063 validate that the provided Debian version exists 2011-08-17 00:01:45 +01:00
Colin Watson
0ef30ff665 syncpackage: Require -f/--force option to overwrite Ubuntu changes. 2011-08-16 19:56:38 +01:00
Colin Watson
87e1cadcb0 use ubuntutools.question 2011-08-16 19:39:07 +01:00
Colin Watson
0735ad8de3 handle -d in Launchpad copy mode 2011-08-16 18:16:52 +01:00
Colin Watson
f8d4866cbc move copyPackage into lpapicache for better encapsulation 2011-08-16 18:07:58 +01:00
Colin Watson
b9353d781a better error presentation 2011-08-16 16:30:10 +01:00
Colin Watson
e8b02a39b2 monkeypatching doesn't work right; extend Launchpad.login instead 2011-08-16 16:20:29 +01:00
Colin Watson
e6bde18b04 add explicit confirmation step 2011-08-16 16:00:30 +01:00
Colin Watson
2b03e3ca99 more logging by default 2011-08-16 15:47:21 +01:00
Colin Watson
91bad45ec1 .dsc syncs only work with --no-lp 2011-08-16 15:45:33 +01:00
Colin Watson
fdfef34b37 document new syncpackage behaviour 2011-08-16 15:42:23 +01:00
Colin Watson
122e711d28 syncpackage: Convert to new LP API, with --no-lp available for the old
style of operation.
2011-08-16 15:32:48 +01: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
8657394219 Catch DownloadErrors in ubuntutools.archive users. (LP: #708862) 2011-01-31 19:01:10 +02:00
Stefano Rivera
ce34dff75f Typo in syncpackage help 2011-01-25 09:43:15 +02:00
Stefano Rivera
19f4f57c8c syncpackage: Don't fakesync when we have a new orig tarball (LP: #707187) 2011-01-25 09:41:59 +02:00
Stefano Rivera
f4bbff9e9c Move source package verification into ubuntutools.archive 2011-01-15 15:50:07 +02:00
Stefano Rivera
3ef8324ff7 Improve error handling 2011-01-01 19:51:03 +02:00
Stefano Rivera
1fb2545712 Use *SourcePackage in syncpackage 2010-12-30 17:16:58 +02:00
Stefano Rivera
62073c1085 Mirror support in syncpackage 2010-12-28 15:35:15 +02:00
Stefano Rivera
f7525d6dd5 Add UDTConfig and tidy OptParser 2010-12-27 21:09:24 +02:00
Stefano Rivera
c46bb9ed88 Use ubuntutools.logger in syncpackage 2010-12-27 18:24:21 +02:00
Benjamin Drung
0c8520ee8c Make pylint a little bit happier. 2010-12-27 15:20:49 +01:00
Benjamin Drung
b18aa6209a syncpackage: Make pylint a little bit happier. 2010-12-22 23:53:09 +01:00
Benjamin Drung
1943df29eb Remove all trailing spaces. 2010-12-03 00:06:43 +01:00
Benjamin Drung
17ea793a94 syncpackage: Fix error message for failed downloads. 2010-11-25 23:49:39 +01:00
Stefano Rivera
df87493df5 ack-sync, dgetlp, grab-merge, syncpackage: Export DEB_VENDOR=Ubuntu when
unpacking source packages. 3.0 (quilt) has optional per-vendor patch
series.
2010-11-24 21:06:23 +02:00
Benjamin Drung
45c8f13d65 syncpackage: Print an error message if the source-only build fails (LP: #668749). 2010-10-30 20:36:42 +02:00
Benjamin Drung
7241b30c16 syncpackage: Show a error message instead of raising an error if Ubuntu contains a newer version. 2010-10-30 20:13:07 +02:00
Benjamin Drung
b403dedbfb syncpackage: Don't add quotation marks to changelog entries (LP: #668805). 2010-10-30 19:58:08 +02:00
Benjamin Drung
fffcab6392 syncpackage: Fix reading of environment variables. 2010-10-30 19:44:19 +02:00