411 Commits

Author SHA1 Message Date
Stefano Rivera
d5c7de285e Configurable mirror support for pull-debian-source 2010-12-23 23:12:24 +02:00
Benjamin Drung
c28ddf5698 Wrap all long lines in ubuntutools. 2010-12-23 20:42:21 +01:00
Benjamin Drung
fec33a6a41 wrap-and-sort: Split Control into separate Python file. 2010-12-23 17:18:42 +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
Benjamin Drung
2a2cd83b74 sponsor-patch: Make pylint a little bit happier. 2010-12-22 23:31:35 +01:00
Stefano Rivera
9fa9f3eb96 Whitespace and style cleanups 2010-12-23 00:01:39 +02:00
Stefano Rivera
f01beda01c Convert last Python code from mixed tabs and spaces to spaces 2010-12-22 23:04:29 +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
b94d134650 Add warning() and substitution support to logger 2010-12-22 21:04:53 +02: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
Benjamin Drung
54c0a88464 sponsor-patch: Remove needless new-line from print command. 2010-12-22 18:35:11 +01: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
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
Stefano Rivera
2c2aaf90b3 Migrate to logging 2010-12-22 02:09:04 +02: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
Benjamin Drung
d264ee7e97 sponsor-patch: Fix indentation of Logger change. 2010-12-21 23:29:50 +01: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
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
ff84b6da91 sponsor-patch: Use "bzr builddeb" instead of the shortcut "bzr bd". 2010-12-21 22:41:53 +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
Stefano Rivera
a435c3234b Use the improved staging support in lpapicache 2010-12-21 21:52:12 +02:00
Stefano Rivera
13cbe49a19 Merge from trunk 2010-12-21 21:50:59 +02:00
Michael Bienia
2e2376d854 ubuntutools/lp/lpapicache.py: The wrapper classes now use the root uri from the
Launchpad object for checking the resource type during runtime (the root uri
  doesn't need to be known at import time anymore)
2010-12-21 18:57:29 +01:00
Stefano Rivera
82eab1c349 Config file support in requestsync 2010-12-21 17:02:36 +02:00
Stefano Rivera
8dd88f18f8 Forgot EMAIL 2010-12-21 12:59:45 +02:00
Stefano Rivera
98061bc423 Promote WORKDIR to UBUNTUTOOLS 2010-12-21 01:56:28 +02:00
Stefano Rivera
2c1e1c8727 Add boolean as a get_value argument 2010-12-21 01:51:10 +02:00
Stefano Rivera
820b8dc0c5 Default value for UDTConfig.config 2010-12-21 01:14:57 +02:00
Stefano Rivera
59464226c0 In fact, have no default, caller is responsible 2010-12-21 00:35:52 +02:00
Stefano Rivera
64e51e0617 Get default builder from UDTConfig 2010-12-21 00:31:23 +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
4336f7442a Use attribute accessors for pwd 2010-12-21 00:24:03 +02:00
Stefano Rivera
7229c63dc2 Further magic reduction in ubu_email 2010-12-21 00:18:47 +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
887aa1a9ab UDTConfig docstring 2010-12-20 22:38:53 +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
453112f342 Support quoted values 2010-12-20 21:00:14 +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