159 Commits

Author SHA1 Message Date
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
Michael Bienia
6e214de3b3 ubuntutools/lp/lpapicache.py: Replace tabs with spaces 2010-12-12 11:46:07 +01:00
Benjamin Drung
100ba7d1b5 Remove all trailing tabs. 2010-12-03 00:10:41 +01:00
Benjamin Drung
1943df29eb Remove all trailing spaces. 2010-12-03 00:06:43 +01:00
Stefano Rivera
f347770b46 Use dpkg-vendor in ubuntutools.misc.system_distribution(), cache result. 2010-12-02 09:34:09 +02:00
Stefano Rivera
516b264a8f Strip trailing whitespace 2010-12-02 09:33:54 +02:00
Benjamin Drung
65efe55972 ubuntutools/update_maintainer.py: Fix failure if debian/control.in is a
directory.
2010-09-22 15:54:47 +02:00
Benjamin Drung
533fac4911 requestsync, ubuntutools/lp/lpapicache.py: Import functions explicitely. 2010-09-22 14:07:23 +02:00
Stefano Rivera
a2a4fc785d ubuntutools/lp/libsupport.py: Support production API URLs in
translate_web_api.
2010-09-22 11:41:58 +02:00
Stefano Rivera
e55766b0d9 hugdaylist, manage-credentials, massfile, merge-changelog,
ubuntutools/requestsync/common.py: Some pyflakes-induced cleanup.
2010-09-22 11:29:14 +02:00
Luca Falavigna
4b13534eea * ubuntutools/misc.py:
- Use output of dpkg --print-architecture command to correctly display
    platform architecture
2010-09-20 18:12:39 +02:00
Benjamin Drung
5e0d815405 Move update-maintainer code into library for sponsor-patch. 2010-09-19 20:24:27 +02:00
Iain Lane
0021522956 all: Use production API rather than edge by default. Should be more
reliable and was advised by lifeless (LP team).
2010-09-14 09:30:04 +01:00
Michael Bienia
1e7993df3e ubuntutools/lp/lpapicache.py: The LP API function archive.checkUpload() throws
an exception when the person has no upload rights.
2010-07-22 21:13:20 +02:00
Michael Bienia
924f910335 ubuntutools/lp/lpapicache.py: use the new LP API function archive.checkUpload() to check upload permissions 2010-07-11 18:41:14 +02:00
Michael Bienia
bbe51620d4 Update to the new python-debian version:
- Depend on python-debian >= 1.1.15
 - Replace imports of debian_bundle with debian to fix the deprecation
   warnings.
2010-06-08 19:09:40 +02:00
Michael Bienia
24a8eae5c7 ubuntutools/requestsync/mail.py: Fix some more encoding issues. 2010-03-25 21:58:01 +01:00
Michael Bienia
dfc59c0558 ubuntutools/lp/lpapicache.py: Also specify the LP API version to use when
using anonymous login.
2010-03-20 19:58:13 +01:00
Michael Bienia
cc8ec956b0 Factor our the spliting of the release name and the pocket name into its
own function.
2010-03-20 19:45:04 +01:00
Michael Bienia
5babcfe869 ubuntutools/lp/udtexceptions.py: Rename PocketDoesNotExistException to PocketDoesNotExistError. 2010-03-20 19:27:40 +01:00
Michael Bienia
e4e8f156bd * ubuntutools/lp/lpapicache.py, ubuntutools/lp/libsupport.py: Add support
for different LP API versions.
* ubuntutools/lp/__init__.py: Set the '1.0' LP API version as default.
* massfile: Updated to 1.0 LP API.
2010-03-20 18:27:31 +01:00
Daniel Holbach
f84f961805 * hugdaylist, requestsync, doc/requestsync.1:
ubuntu-{main,universe}-sponsors → ubuntu-sponsors,
  {ubuntu,motu}-release → ubuntu-release.
* ubuntutools/ppaput.py: removed, not necessary any more.
* debian/copyright: removed references to ppaput.
2010-03-15 10:22:35 +01:00
Michael Bienia
8377c6bfa3 ubuntutools/lp/lpapicache.py:
* Specify __all__
2010-02-20 18:19:44 +01:00
Michael Bienia
f5c6695e13 ubuntutools/lp/lpapicache.py:
* Make PersonTeam.getMe() a class property (PersonTeam.me).
ubuntutools/requestsync/lp.py, ubuntu-build:
* Update for the above mentioned change.
2010-02-20 18:13:15 +01:00
Michael Bienia
8c114519e8 ubuntutools/lp/lpapicache.py:
* Add support for anonymous login to the Launchpad singleton.
ubuntutools/lp/udtexceptions.py:
* Add AlreadyLoggedInError
2010-02-20 17:07:03 +01:00