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
Benjamin Drung
82187df277
ubuntutools.distro_info: Fix TypeError crash (LP: #731398 ).
2011-03-08 16:55:55 +01:00
Benjamin Drung
b67cf6e986
Improve get_builder. Thanks to Julian Taylor.
2011-03-08 12:51:53 +01:00
Stefano Rivera
914af6bdfe
* add support for cowbuilder and cowbuilder-dist in builder.py
...
- allows use in sponsor-patch and backportpackage (LP: #728751 )
2011-03-06 11:08:59 +02:00
Stefano Rivera
989aecd253
Canonicalise suites (use code-names) before passing them to rmadison.
2011-03-06 00:48:24 +02:00
Julian Taylor
faf30c45ec
builder.py: sort builder check
2011-03-05 23:14:09 +01:00
Julian Taylor
abe0b35261
builder.py: mark self._command private
2011-03-05 22:38:31 +01:00
Julian Taylor
e0bc0afc78
builder.py: sort unsupported builder error message
2011-03-05 22:38:03 +01:00
Stefano Rivera
a93078cb32
ubuntutools.archive: Filter rmadison results. (LP: #710579 )
2011-03-05 00:05:04 +02:00
Julian Taylor
7c723753e6
simpler implementation of cowbuilder support
2011-03-04 00:12:01 +01:00
Julian Taylor
73518f83b5
add cowbuilder and cowbuilder-dist support
2011-03-03 22:57:37 +01:00
Stefano Rivera
35d3c4aee4
Skip pylint test if it crashes.
2011-03-01 00:51:25 +02:00
Stefano Rivera
3d7657e466
* Remove ubuntutools.lp.libsupport.get_launchpad, no longer used.
2011-03-01 00:32:36 +02:00
Stefano Rivera
997fb23b2d
Use Launchpadlib.login_with() directly in scripts.
2011-03-01 00:30:54 +02:00
Stefano Rivera
fe63eaec05
* Remove ubuntutools.lp.libsupport.approve_application, no longer used.
2011-02-28 23:56:09 +02:00
Stefano Rivera
ebe9bfe05b
Remove ubuntutools.lp.libsupporttranslate_api_web, no longer used.
2011-02-24 16:34:29 +02:00
Stefano Rivera
755166deec
Strip out old launchpad credential handling code
2011-02-24 16:25:20 +02:00
Benjamin Drung
3887bc06b1
update_maintainer.py: Update Maintainer field if it is set to
...
"Ubuntu Core Developers <ubuntu-devel@lists.ubuntu.com>".
2011-02-22 00:42:26 +01:00
Stefano Rivera
d054dcf796
requestsync, grep-merges: Require a UTF-8 locale. ( Closes : #613114 ,
...
LP: #553795 )
2011-02-13 16:15:24 +02:00
Stefano Rivera
7f311a2852
ubuntutools/archive.py: Rewrite launchpadlib redirects to https when
...
fetching dscs.
2011-02-13 14:40:14 +02:00
Benjamin Drung
c175f31ea7
ubuntutools/test/example_package.py: Use dpkg-source directly instead of
...
dpkg-buildpackage to avoid running fakeroot inside fakeroot which leads
to a FTBFS on natty.
2011-02-12 16:38:14 +01:00
Michael Bienia
5ef61615ce
Use the new web_link attribute of LP objects instead of our own
...
translate_api_web() function.
2011-02-11 15:33:09 +01:00