118 Commits

Author SHA1 Message Date
Jelmer Vernooij
c55c731237 Update test-help 2011-08-17 14:43:31 +02: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
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
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
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
Stefano Rivera
6aee8410eb Work around pylint bug: http://www.logilab.org/ticket/46273 2011-05-30 15:55:15 +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
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
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
Stefano Rivera
35d3c4aee4 Skip pylint test if it crashes. 2011-03-01 00:51:25 +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
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
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
3b97f4f3e5 debian-distro-info, distro-info, ubuntu-distro-info: New tools. 2011-01-21 18:24:30 +01:00
Stefano Rivera
d68b83af1d Typo in comment 2011-01-20 01:10:06 +02:00
Stefano Rivera
bb718951ed Store blank example package extracted 2011-01-15 19:47:13 +02:00
Stefano Rivera
b11d08f6b0 Generate example package 2011-01-15 17:56:48 +02:00
Stefano Rivera
d7c0cad962 Merge from trunk 2011-01-15 13:32:50 +02:00
Martin Pitt
45317aa8e0 ubuntutools/test/test_help.py: Blacklist --help test for check-mir, it
does not have help. Fixes FTBFS on the buildd.
2011-01-13 20:14:52 -06:00
Stefano Rivera
d9a9b4cab4 Complete test suite for ubuntutools.archive 2010-12-31 21:08:16 +02:00
Stefano Rivera
6b1ad27167 A bit less magic (for pylint) 2010-12-31 18:52:22 +02:00
Stefano Rivera
531aaba3a0 Basic test suite for ubuntutools.archive 2010-12-31 17:37:24 +02:00
Stefano Rivera
1fb2545712 Use *SourcePackage in syncpackage 2010-12-30 17:16:58 +02:00
Stefano Rivera
62073c1085 Mirror support in syncpackage 2010-12-28 15:35:15 +02:00
Benjamin Drung
fd667bdd5f Fix invalid name pylint report. 2010-12-27 22:46:16 +01:00
Benjamin Drung
2ba510bb89 Fix invalid name pylint report. 2010-12-27 22:33:01 +01:00
Benjamin Drung
f2d17d73a5 test_config.py: Move config_files and fake_open into ConfigTestCase. 2010-12-27 13:43:13 +01:00
Benjamin Drung
45a341dfd1 test_config.py: Use mox. 2010-12-27 13:37:40 +01:00
Stefano Rivera
04f52e9de6 Run pylint on Python source code. 2010-12-27 13:07:26 +01:00
Stefano Rivera
76ba39d60b Add regex whitelist to pylint 2010-12-27 13:39:43 +02:00
Benjamin Drung
ce3c2f6bee test_update_maintainer.py: Use mox. 2010-12-27 01:51:19 +01:00
Stefano Rivera
8b659d8fc3 Drop non-default values from pylint.conf 2010-12-27 02:00:25 +02:00
Benjamin Drung
2fa20670c3 test_update_maintainer.py: Unpatch os.path.isfile after test. 2010-12-27 00:33:49 +01:00
Stefano Rivera
0fa022c367 Run pylint on Python source code. 2010-12-26 21:57:44 +02:00
Benjamin Drung
d7ee0af9f7 Implement testcases for update-maintainer. 2010-12-26 01:35:22 +01:00
Benjamin Drung
c28ddf5698 Wrap all long lines in ubuntutools. 2010-12-23 20:42:21 +01:00
Stefano Rivera
86b7ff977c Add option parsing to massfile, for lpinstance, correct manpage's view on file locations 2010-12-23 12:35:41 +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
8cee545568 Migrate to ubuntutools.logger 2010-12-22 21:24:35 +02:00
Stefano Rivera
34b1991bdd Fix pull-revu-source help, and return 0 2010-12-22 17:14:48 +02:00