799 Commits

Author SHA1 Message Date
Stefano Rivera
2c27cf68a6 Move common downloading code into new ubuntutools.mirrors. Use in backportpackage, pull-debian-debdiff, pull-lp-source 2010-12-28 00:23:53 +02:00
Benjamin Drung
cfbc5c16cd ubuntutools/packages.py: Removed (used nowhere). 2010-12-27 22:39:27 +01:00
Stefano Rivera
04f52e9de6 Run pylint on Python source code. 2010-12-27 13:07:26 +01:00
Benjamin Drung
ce3c2f6bee test_update_maintainer.py: Use mox. 2010-12-27 01:51:19 +01:00
Stefano Rivera
d199de5185 Add add-patch to edit-patch manpage 2010-12-26 22:05:40 +02:00
Stefano Rivera
0fa022c367 Run pylint on Python source code. 2010-12-26 21:57:44 +02:00
Stefano Rivera
657a57d266 suspicious-source: Whitelist Python source code. 2010-12-26 20:32:48 +02:00
Benjamin Drung
6348bc3df1 Install add-patch link and use it in sponsor-patch. 2010-12-26 15:16:33 +01:00
Benjamin Drung
1ef75a1a23 Install additional files via setup.py instead of debian/*. 2010-12-26 15:14:35 +01:00
Benjamin Drung
3f3018aef2 update-maintainer: Rewrite completely using python-debian (LP: #666504). 2010-12-25 19:49:49 +01:00
Stefano Rivera
b5274624ac Suggest python-simplejson | python (>= 2.7) and complain if they are missing in pull-debian-debdiff 2010-12-25 18:06:18 +02:00
Stefano Rivera
9f340a7562 * pull-debian-debdiff: Rewrite in Python, and use snapshot.debian.org.
* pull-lp-source: Support -d (LP: #681699)
2010-12-25 16:26:43 +01:00
Benjamin Drung
1054307414 control.py: Add required methods for update-maintainer. 2010-12-24 13:38:59 +01:00
Stefano Rivera
86e940a9ae pull-lp-source: Support -d (LP: #681699) 2010-12-24 12:16:34 +02:00
Stefano Rivera
40aa623ac3 Update copyright 2010-12-24 03:43:01 +02:00
Stefano Rivera
cf68c75fa8 - Support this in many u-d-t scripts, and update manpages.
- Deprecate old configuration environment variables.
* pull-debian-debdiff: Rewrite in Python, and use snapshot.debian.org.
2010-12-24 02:58:54 +02:00
Stefano Rivera
d5c7de285e Configurable mirror support for pull-debian-source 2010-12-23 23:12:24 +02:00
Benjamin Drung
fec33a6a41 wrap-and-sort: Split Control into separate Python file. 2010-12-23 17:18:42 +01:00
Stefano Rivera
401dd27276 pythno-gnupginterface Depends -> Recommends 2010-12-23 17:38:30 +02:00
Stefano Rivera
30df1c0ec8 - Support this in many u-d-t scripts, and update manpages.
- Deprecate old configuration environment variables.
2010-12-22 21:33:58 +01:00
Stefano Rivera
bcf9772206 edit-patch: Don't let cat error through if debian/source/format doesn't
exist.
2010-12-22 20:53:38 +02:00
Benjamin Drung
43ec3ff136 Depend on python-gnupginterface (used by dgetlp). 2010-12-22 19:18:32 +01:00
Benjamin Drung
b2b0375646 Add most dependencies to Build-Depends for successfully run the tests. 2010-12-22 19:15:31 +01:00
Stefano Rivera
517bc10e3b - Test for that every script can run --help and return 0.
- 404main, merge-changelog, pull-debian-debdiff, pull-debian-source,
  pull-revu-source:
  + Return 0 after showing help.
2010-12-22 19:08:20 +01:00
Stefano Rivera
34b1991bdd Fix pull-revu-source help, and return 0 2010-12-22 17:14:48 +02:00
Stefano Rivera
c4de897e2a 404main, merge-changelog, pull-debian-debdiff, pull-debian-source:
Return 0 after showing help.
2010-12-22 16:53:58 +02:00
Michael Vogt
af2497291f add "add-patch" that provides the non-interactive version of
edit-patch
2010-12-22 15:44:22 +01:00
Benjamin Drung
71a1bffba5 Recommend bzr-builddeb (used by sponsor-patch for branches). 2010-12-22 14:23:28 +01:00
Benjamin Drung
715c554e88 Fix: The package was only uploaded if the target was "ubuntu". 2010-12-22 14:19:21 +01:00
Stefano Rivera
3ac706401f Test for that every script can run --help and return 0. 2010-12-22 15:05:55 +02:00
Benjamin Drung
9077c0babd Close already fixed bug. 2010-12-22 12:54:08 +01:00
Benjamin Drung
51966025d6 debian/changelog: Use capital LP for closing a bug. 2010-12-22 01:44:24 +01:00
Benjamin Drung
0a35d3d13d sponsor-patch: Fix crash if uploading to ubuntu without building the package before. 2010-12-22 00:52:45 +01:00
Stefano Rivera
c43e9775e0 - Support this in many u-d-t scripts, and update manpages.
- Deprecate old configuration environment variables.
2010-12-22 00:07:48 +02:00
Benjamin Drung
9ee1a8faa0 sponsor-patch: Fix 'str' object has no attribute 'startwith' crash caused by a typo. 2010-12-21 22:50:02 +01:00
Benjamin Drung
67ad32a06d Making debian/copyright a little bit shorter. 2010-12-21 22:15:54 +01:00
Benjamin Drung
41cc2fa194 sponsor-patch: Add new --lpinstance and --no-conf options and support
configuration files.
2010-12-21 21:42:32 +01:00
Michael Bienia
9bf33b330b Forgot to add changelog entry to close the bug. 2010-12-21 19:16:09 +01:00
Benjamin Drung
f00a490006 debian/copyright: Improve formatting. 2010-12-21 01:38:00 +01:00
Stefano Rivera
432ddc28ff override_dh_auto_test can go in the ifeq nocheck block, it's a noop with python_distutils atm 2010-12-20 22:49:16 +02:00
Stefano Rivera
4adf0f3eeb Tweak d/rules indentation 2010-12-20 22:47:36 +02:00
Stefano Rivera
254be7bb5d Configuration system uses a class, add test suite 2010-12-20 22:08:12 +02:00
Stefano Rivera
324c2957fd ubuntutools/common.py: Remove https_proxy unsetting code, working around
LP: #94130.
2010-12-20 20:56:38 +02:00
Stefano Rivera
303e7ae18f Merge from trunk 2010-12-20 18:29:31 +02:00
Stefano Rivera
552892f264 Incorrect versioned python dependancy 2010-12-20 13:11:12 +02:00
Stefano Rivera
32ed378668 * Switch to dh_python2:
- Use X-Python-Version instead of XS-Python-Version.
  - Use ${python:Breaks} to specify Python version compatibility.
2010-12-20 11:33:56 +02:00
Stefano Rivera
54f082b6e8 Drop preinst (pbuilder-dist bash_completion handling), it is not required
for any current upgrade path on Debian or Ubuntu.
2010-12-20 11:30:38 +02:00
Stefano Rivera
686b6a8649 * Add the beginnings of a test suite. (LP: #690386)
- Switch to setuptools, to support setup.py test.
2010-12-20 11:19:37 +02:00
Stefano Rivera
d67edd7c3c Relicense the code in this branch to ISC 2010-12-20 01:19:09 +02:00
Stefano Rivera
ae8648282c Added ubuntu-dev-tools.5 2010-12-19 21:19:04 +02:00