Stefano Rivera
7196ad55f1
More whitespace around the important post-build blocks
2011-09-04 01:04:13 +02:00
Stefano Rivera
7c994cefee
Run harvest in sponsor-patch --fixes lp:833699
2011-09-04 00:44:50 +02:00
Stefano Rivera
6f5982b9a7
Move harvest logic into ubuntutools.harvest
2011-09-04 00:24:27 +02:00
Stefano Rivera
c994254e4b
Merge from trunk
2011-09-03 21:08:52 +02:00
Jelmer Vernooij
b696cade13
merge trunk.
2011-09-01 19:39:20 +02:00
Stefano Rivera
165279fae9
TODO note on getDebianChangelog
2011-08-24 23:48:48 +02:00
Benjamin Drung
ce2f96bc0d
Make pylint happier and code more PEP-8 compliant.
2011-08-20 11:31:02 +02:00
Colin Watson
a6b95b7d53
style
2011-08-18 15:11:36 +01: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
Jelmer Vernooij
c55c731237
Update test-help
2011-08-17 14:43:31 +02: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
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
Colin Watson
f8d4866cbc
move copyPackage into lpapicache for better encapsulation
2011-08-16 18:07:58 +01:00
Colin Watson
7386ca4d0c
merge trunk
2011-08-16 16:41:23 +01:00
Colin Watson
e8b02a39b2
monkeypatching doesn't work right; extend Launchpad.login instead
2011-08-16 16:20:29 +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
Stefano Rivera
abfdd76f01
ubuntutools.test.test_archive: Forgive newer python-debian's for calling
...
GpgInfo.from_sequence() with the optional keyrings arguments.
2011-08-16 11:19:15 +02:00
Stefano Rivera
aa99618dd6
backportpackage: Backport from local source packages again (LP: #801945 )
2011-08-16 01:17:25 +02:00
Stefano Rivera
5f88f85278
Rename variables in get_builder
2011-07-26 10:54:16 +02:00
Stefano Rivera
5c960d720b
Drop unecessary os.path import
2011-07-26 10:54:04 +02:00
Stefano Rivera
6e05bb7e74
Detect missing builder early
2011-07-25 19:32:15 +02:00
Stefano Rivera
b4a6cf5310
Use Builder.name instead of _command for the pbuilder builders
2011-07-25 15:20:27 +02:00
Stefano Rivera
9357415020
cowbuilderdist -> cowbuilder-dist
2011-07-25 15:19:59 +02:00
Benjamin Drung
a03fa654f3
Move debian-distro-info, distro-info, and ubuntu-distro-info from
...
ubuntu-dev-tools into distro-info.
2011-06-25 17:53:44 +02:00
Benjamin Drung
ebbaada218
Add experimental to list of Debian distributions.
2011-06-25 16:20:22 +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
78a427ad2c
Make sure all DistroInfo classes have a .codename method.
2011-06-19 14:46:34 -07:00
Evan Broder
5c96b78d72
Reimplement ubuntutools.subprocess.Popen as a class instead of a factory function.
2011-06-19 14:20:47 -07:00
Benjamin Drung
de32133e75
distro_info.py: Add validity check method.
2011-06-15 00:01:49 +02: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
2560aa210b
ubuntutools.distro_info: Add a function to find the distribution that
...
used a given release codename.
2011-06-11 05:06:51 -07:00
Evan Broder
2398d09ba4
ubuntutools.misc: Add a new "system_distribution_chain", which returns
...
a list starting with the current distribution and working its way up
each distribution's parent.
2011-06-11 05:05:35 -07:00
Stefano Rivera
dcad51ec87
sponsor-patch: Use dch --release instead of --edit to work with
...
DEBCHANGE_RELEASE_HEURISTIC=changelog.
2011-06-03 19:18:38 +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
aa96842c84
Remove trailing spaces.
2011-05-23 23:44:45 +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
Benjamin Drung
7a104714c4
Move add-patch, edit-patch, and what-patch from ubuntu-dev-tools into
...
devscripts (Closes : #568481 ).
2011-05-21 17:53:16 +02:00
Benjamin Drung
a5691d4cd1
sponsor-patch: Fix assertion error if a relative working directory
...
is specified.
2011-05-16 00:57:57 +02:00
Stefano Rivera
ebe04d88b0
Exit 0 when showing help, and support -h.
2011-04-24 16:01:42 +02:00
Benjamin Drung
2d74893dd2
Add testcase for bug #701487 .
2011-04-17 16:30:09 +02:00
Benjamin Drung
457a6c6bee
ubuntutools.update-maintainer: Do not use python-debian to parse
...
debian/control to avoid mangling this file (LP: #756373 ). The new
simplified parser has no problems with comments in debian/control
(LP: #701487 , #713827 ).
2011-04-17 16:27:16 +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
Benjamin Drung
56b5ee1703
Make distro-info tests scricter.
2011-03-08 18:55:36 +01:00
Benjamin Drung
877592d0a4
Add a test case to catch bug #731398 .
2011-03-08 17:22:45 +01:00