Benjamin Drung
fdd01746fe
syncpackage: Catch user abort.
2011-10-22 23:10:27 +02:00
Stefano Rivera
aab58522ad
syncpackage, requestsync: Sync from testing for LTSs (LP: #876400 )
2011-10-17 13:31:02 +02:00
Stefano Rivera
fc3d02f28f
syncpackge: Gracefully deal with no available changelog from Debian (PTS
...
changelogs aren't available immediately)
2011-10-14 22:28:57 +02:00
Benjamin Drung
c401cbb150
syncpackage: Put command-line parsing in separate function.
2011-10-12 00:58:42 +02:00
Benjamin Drung
bf5de3c686
syncpackage: Allow syncing to -proposed with --no-lp.
2011-10-12 00:51:59 +02:00
Stefano Rivera
268fea2a1c
syncpackage: Looks like we can't expect exactly one DSD record for every
...
source package (LP: #846890 )
2011-09-12 11:00:23 +02:00
Benjamin Drung
1c814c8ec6
ubuntutools/requestsync: Follow PEP 8 naming conventions.
2011-09-10 15:42:40 +02:00
Colin Watson
8543e3c5f9
syncpackage: Fix typo.
2011-09-09 11:53:04 +01:00
Stefano Rivera
5e59f725c0
Wrap blacklist messages and comments
2011-09-06 14:07:40 +02:00
Benjamin Drung
700d2473a0
Fix typo.
2011-09-06 13:31:36 +02:00
Stefano Rivera
ec13baee65
Tweak log levels, use error when bailing out because of blacklisting, and normal for everything else blacklist-related
2011-09-06 13:24:57 +02:00
Benjamin Drung
b5ca7c1971
syncpackage: Print name of blacklisted package.
2011-09-06 12:50:36 +02:00
Stefano Rivera
b35a2611af
LP: #833080 is fixed, refactoring blacklisting
2011-09-06 09:48:25 +02:00
Stefano Rivera
328e7bb241
Make CURRENT DSD Blacklisting overrideable
2011-09-05 15:40:24 +02:00
Stefano Rivera
54cb83cd4d
There's now a 4th state for getDifferencesTo, let's explicitly query both the ones we are interested in, rather than an inverted search on the 3rd state.
2011-09-04 01:49:24 +02:00
Benjamin Drung
a3378ee9fc
syncpackage:
...
- Show changes to be synced when performing native syncs.
- Support --bug (extra bugs to be closed by the sync) with
native syncs. (Bugs are closed one individually, via the API, post-sync)
2011-09-03 22:39:04 +02:00
Stefano Rivera
c994254e4b
Merge from trunk
2011-09-03 21:08:52 +02:00
Stefano Rivera
2b074fb581
Don't look for bugs closed in Debian changes, only close bugs mentioned on the command line
2011-09-03 20:49:35 +02:00
Benjamin Drung
fe102eaa5b
syncpackage: Check the sync blacklist.
2011-08-31 20:31:52 +02:00
Stefano Rivera
59b69d3767
Correcly handle NEW package bug closing (the task dosen't have a distribuiton attribute)
2011-08-25 18:41:57 +02:00
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
ed6962c413
Close bugs after syncing
2011-08-24 19:38:16 +02:00
Stefano Rivera
26d68da791
Detect bugs to be closed (but don't do anything with the list yet)
2011-08-24 17:46:23 +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