331 Commits

Author SHA1 Message Date
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
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
Benjamin Drung
b2b37159d5 Shorten names of test methods. 2011-02-08 21:49:27 +01:00
Kees Cook
6265047606 update to allow for missing rules file 2011-02-08 11:57:07 -08:00
Kees Cook
9ebaa17ad8 ubuntutools/test/test_update_maintainer.py: update test cases to
handle checking for debian/rules.
2011-02-08 10:28:06 -08:00
Kees Cook
df38124295 improve comment 2011-02-07 10:46:36 -08:00
Kees Cook
fd6b8cdab0 ubuntutools/update_maintainer.py: do nothing if the rules file
already manages XSBC-Original (e.g. python).
2011-02-07 10:43:51 -08:00
Benjamin Drung
99e6e3cc27 *distro-info: Add a "created" column to the data. 2011-02-06 16:48:14 +01:00
Stefano Rivera
773c5c33e0 Rework Scott's requestsync modifications for robustness and staging-support 2011-02-01 10:10:31 +02:00
Benjamin Drung
d80f8248b8 distro_info.py: Change logic of _get_data_dir() to improve installation detection. 2011-01-27 21:28:00 +01:00
Benjamin Drung
526b7e63c6 update_maintainer.py: Process control.in first. 2011-01-25 22:09:15 +01: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
Benjamin Drung
88c4a0fc7f distro_info.py: Improve convert_date logic (to avoid try statement). 2011-01-22 12:03:30 +01:00