633 Commits

Author SHA1 Message Date
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
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
d80f54dfa5 Revert r863, let's use environment variables again 2010-12-20 01:08:07 +02:00
Stefano Rivera
4e827697e8 basename() script name for prefix 2010-12-20 00:27:21 +02:00
Stefano Rivera
1bb418e02f Support configuration in backportpackage 2010-12-19 22:32:53 +02:00
Stefano Rivera
8b5cd3d045 Actually configuration variables shouldn't come from the environment 2010-12-19 22:08:25 +02:00
Stefano Rivera
baae70c001 Support --noconf 2010-12-19 21:56:10 +02:00
Stefano Rivera
3a9ffe412c Support the combined "Name <email>" format in UBUMAIL, DEBFULLNAME, and
DEBEMAIL. (LP: #665202)
2010-12-19 20:47:37 +02:00
Stefano Rivera
a335ef7949 Support reading configuration variables from devscripts configuration
files. (LP: #681693)
2010-12-19 20:47:01 +02:00
Benjamin Drung
4afe3c8478 Use common error message for sponsor-patch and backportpackage. 2010-12-18 23:08:13 +01:00
Benjamin Drung
d7ee62e951 backportpackage: Put build result into /buildresult to avoid signature problems with the source tarball. 2010-12-18 20:35:20 +01:00
Benjamin Drung
d635434a5e backportpackage: Improve upload question. 2010-12-18 19:22:07 +01:00
Benjamin Drung
0852ffbda9 sponsor-patch: Allow updating the build environment if the build failed. 2010-12-17 22:52:03 +01:00
Benjamin Drung
4178bf7476 ubuntutools/question.py: Create a universal Question object. 2010-12-17 18:46:09 +01:00
Benjamin Drung
9e6a13f5a9 Split main function out of sponsor-patch script. 2010-12-17 17:47:23 +01:00
Benjamin Drung
fbe27a7ce4 Split objects out of sponsor-patch script. 2010-12-17 17:32:38 +01:00
Benjamin Drung
cec070446f ubuntutools/builder.py: Add update function to pbuilder-dist. 2010-12-17 14:40:19 +01:00
Benjamin Drung
4be074c8fa sponsor-patch: Add --update option to make sure build environment is
up to date (LP: #689605)
2010-12-17 14:35:27 +01:00
Benjamin Drung
7e038457bc ubuntutools/builder.py: Pass distribution and architecture to pbuilder update function. 2010-12-17 14:32:03 +01:00
Benjamin Drung
6aafc793dd Fix indentation and formatting of previous commit. 2010-12-17 13:56:36 +01:00
Bilal Akhtar
1747986a88 pbuilder-dist: Override the default build result location if
--buildresult is specified.
2010-12-17 13:47:48 +03:00
Evan Broder
ab0dc4244b Actually merge trunk 2010-12-17 01:47:15 -08:00
Benjamin Drung
8eda0c4326 backportpackage: new script for testing backport requests in a PPA. 2010-12-16 23:43:48 +01:00
Evan Broder
6961cbfb3c ubuntutools.builder: Use sbuild-update and friends instead of calling schroot directly 2010-12-13 10:47:26 -08:00
Evan Broder
b01194ef8d ubuntutools.builder: Add an "update" method for updating chroots 2010-12-13 03:47:37 -08:00
Evan Broder
ee157d1cd9 ubuntutools.builder: Small fixup spotted by pylint 2010-12-12 20:20:40 -08:00
Evan Broder
b56b02683b sponsor-patch: Separate multi-builder support into a Python module.
Rename SPONSOR_PATCH_BUILDER environment variable to
UBUNTUTOOLS_BUILDER (but still support SPONSOR_PATCH_BUILDER)
2010-12-12 19:45:52 -08:00
Evan Broder
fc7faa9780 sponsor-patch, backportpackage:
Factor out logging code from sponsor-patch and share it with backportpackage
2010-12-12 19:27:08 -08:00