58 Commits

Author SHA1 Message Date
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
Stefano Rivera
df6b32086b Close /dev/null 2010-12-22 17:09:29 +02:00
Stefano Rivera
4c0a650052 Blacklist get-build-deps 2010-12-22 17:03:01 +02:00
Stefano Rivera
f55ab3d465 Provide pid when killing 2010-12-22 17:01:55 +02:00
Stefano Rivera
96d72d83e2 signals don't use underscores 2010-12-22 16:57:25 +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
Stefano Rivera
8756577518 Complete blacklist 2010-12-22 16:28:36 +02:00
Stefano Rivera
3ac706401f Test for that every script can run --help and return 0. 2010-12-22 15:05:55 +02:00
Stefano Rivera
2c2aaf90b3 Migrate to logging 2010-12-22 02:09:04 +02:00
Stefano Rivera
0184a10c21 Prefix replacement in warning 2010-12-22 00:14:28 +02: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