143 Commits

Author SHA1 Message Date
Stefano Rivera
09e468211a Add changelog retrieval to lpapicache, and use this in syncpackage and
requestsync. The changelogs should be available in Launchpad sooner than
Debian PTS.
2011-11-13 22:50:34 +02:00
Stefano Rivera
bf0709edf6 Cleanup progress bar if there's an exception, too 2011-09-10 01:25:23 +02:00
Stefano Rivera
ca2abaa613 * ubuntutools.archive:
- Add quiet option to silence downloading.
  - Use wget-style progress bar (fixed width) (LP: #845787)
2011-09-09 22:44:16 +02:00
Stefano Rivera
17b287e7bf ubuntutools.archive: Don't write .dsc files until we pull the entire
source package, just hold it in memory. Avoids littering the current
directory (LP: #838361)
2011-09-04 19:01:01 +02:00
Colin Watson
a4000c606c drop quiet download stuff, not worth an API debate 2011-08-18 15:10:19 +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
d26a7521b0 make it possible to quieten download progress information, particularly useful if downloading only the small .dsc files 2011-08-17 02:54:37 +01:00
Stefano Rivera
aa99618dd6 backportpackage: Backport from local source packages again (LP: #801945) 2011-08-16 01:17:25 +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
Stefano Rivera
6aee8410eb Work around pylint bug: http://www.logilab.org/ticket/46273 2011-05-30 15:55:15 +02:00
Stefano Rivera
1c248875b4 ubuntutools.archive: Display any errors rmadison emits, rather than
guessing at the cause. (LP: #788447)
2011-05-30 10:21:12 +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
Scott Kitterman
f5ce76d52e In ubuntutools/archive.py, instead of an AssertionError liburi-perl is not installed provide a similar message to the one rmadison provides. 2011-04-10 00:41:30 -04:00
Stefano Rivera
5bb84b1548 ubuntutools.archive.rmadison: suite can be None, handle this correctly. 2011-03-28 13:09:13 +02:00
Stefano Rivera
280d8c1172 pull-debian-source: Handle -p-u and -security suites. 2011-03-08 23:31:54 +02:00
Stefano Rivera
a93078cb32 ubuntutools.archive: Filter rmadison results. (LP: #710579) 2011-03-05 00:05:04 +02:00
Stefano Rivera
7f311a2852 ubuntutools/archive.py: Rewrite launchpadlib redirects to https when
fetching dscs.
2011-02-13 14:40:14 +02:00
Stefano Rivera
4faba7c569 ubuntutools.archive: Handle source package in workdir correctly.
Add regression tests. (LP: #706403)
2011-01-22 23:19:31 +02:00
Stefano Rivera
4a97dee930 Break source_is_workdir out of long if statement 2011-01-20 01:28:58 +02:00
Stefano Rivera
a5c5215959 Replace check_call with error and quit 2011-01-20 01:16:11 +02:00
Stefano Rivera
038cd428d3 Use ubuntutools.archive's rmadison code in requestsync.mail 2011-01-15 20:54:45 +02:00
Stefano Rivera
b1b1c9a91a Please pylint 2011-01-15 20:14:41 +02:00
Stefano Rivera
495d14b69d Help pylint 2011-01-15 16:05:15 +02:00
Stefano Rivera
baf7a803ae Read source and version from dsc, not dsc filename 2011-01-15 15:59:59 +02:00
Stefano Rivera
f4bbff9e9c Move source package verification into ubuntutools.archive 2011-01-15 15:50:07 +02:00
Stefano Rivera
e48a2c92d4 Cannot use with statement with StringIO 2011-01-15 13:55:20 +02:00
Stefano Rivera
394d956a37 Catch URLError, not HTTPError when pulling sources 2011-01-15 13:48:38 +02:00
Stefano Rivera
b62377b374 Handle missing debian-keyring more gracefully 2011-01-15 13:46:40 +02:00
Stefano Rivera
ed91b960e2 Move debdiff into SourcePackage 2011-01-15 13:28:44 +02:00
Stefano Rivera
3ef8324ff7 Improve error handling 2011-01-01 19:51:03 +02:00
Stefano Rivera
5ad9ee9f5b SourcPackage.pull() should raise DownloadError instead of returning False 2010-12-31 21:08:01 +02:00
Stefano Rivera
c52f0965e7 Fall back to master mirrors 2010-12-31 19:56:31 +02:00
Stefano Rivera
182cab66c4 distribution -> suite 2010-12-31 18:54:24 +02:00
Stefano Rivera
b78922b14a Help testing: Write download progress to Logger's streams 2010-12-31 17:36:38 +02:00
Stefano Rivera
26c2198838 Help testing: Separate rmadison out into a function 2010-12-31 17:36:20 +02:00
Stefano Rivera
a3b82ff2e9 Correct dsc location assertion 2010-12-31 17:30:39 +02:00
Stefano Rivera
620f3fb25a Typo in snapshot support 2010-12-30 20:14:15 +02:00
Stefano Rivera
eed9304664 GPG verification support 2010-12-30 20:11:13 +02:00
Stefano Rivera
a2da2da87b Snapshot and rmadison support 2010-12-30 19:50:07 +02:00
Stefano Rivera
3013ee034a Use *SourcePackage in backportpackage 2010-12-30 18:05:55 +02:00
Stefano Rivera
6c118ef1fe dsc filename support 2010-12-30 17:16:21 +02:00
Stefano Rivera
5553c11ddd Beginnings of an OO ubuntutools.archive.SourcePackage 2010-12-29 23:13:48 +02:00