43 Commits

Author SHA1 Message Date
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
Stefano Rivera
2c1e1c8727 Add boolean as a get_value argument 2010-12-21 01:51:10 +02:00
Stefano Rivera
4f7a5232a2 Script-specific variables win over package variables no matter which store they come from 2010-12-21 00:28:31 +02:00
Stefano Rivera
0a272cab3f Support the notion of non-package-wide variables 2010-12-21 00:13:39 +02:00
Stefano Rivera
2a1a48ae56 Tone down ubu_email magic 2010-12-20 23:56:54 +02:00
Stefano Rivera
3d03dcdb3f Switch to using shlex for config file parsing 2010-12-20 23:36:17 +02:00
Stefano Rivera
680a4698d7 Some more ubu_email test-cases 2010-12-20 22:38:36 +02:00
Stefano Rivera
254be7bb5d Configuration system uses a class, add test suite 2010-12-20 22:08:12 +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