329 Commits

Author SHA1 Message Date
Jonathan Patrick Davies
03e3d66c30 Prepage 0.44ubuntu1 upload. 2008-09-02 21:44:58 +01:00
Jonathan Patrick Davies
806beacb51 * requestsync: Check for already existing sync requests before filing a new
one.
2008-09-01 22:29:32 +01:00
Jonathan Patrick Davies
772d40b939 * debian/control:
- Improved description.
   - Wrapped Depends line and bumped debhelper build-dependency version to 6.
* debian/compat: Changed to 6.
* Moved https_proxy dropping code to common.py.
2008-09-01 11:41:19 +01:00
Colin Watson
4b3746bb6d Fix a number of minor glitches in manual pages. 2008-09-01 09:50:23 +01:00
Jonathan Patrick Davies
033fb7aa12 Prepare 0.43ubuntu1 upload. 2008-08-31 11:41:14 +01:00
Jonathan Patrick Davies
ea5b154129 * common.py: New function: packageComponent() - returns which component a package
in Ubuntu is in.
* buildd: Check which component the package is in.
2008-08-29 07:44:58 +01:00
Jonathan Patrick Davies
3c25fca142 * common.py: New function: isLPTeamMember() - checks if the user is a member of
the Launchpad team using cookies for authentication.
* requestsync: Adapt team checking with the function above.
* buildd: Adapt privilege checking code to the new function above.
2008-08-28 19:21:45 +01:00
Jonathan Patrick Davies
839c167927 * requestsync: Return an error when the script is unable to connect to
packages.debian.org (LP: #261916).
* Changes by Karl Goetz: Add a Recommends: on ca-certificates (LP:
  #247157).
2008-08-27 23:28:05 +01:00
Ryan Kavanagh
8892c00d8d Added mk-sbuild-lv.1 2008-08-27 14:02:14 -04:00
Ryan Kavanagh
41d0be35a7 New manpage, fix typos 2008-08-27 11:21:36 -04:00
Jonathan Patrick Davies
49c0e14da3 * common.py:
- If loading a cookie file raises an exception exit.
  - Improve cookie file writing.
2008-08-27 15:33:18 +01:00
Jonathan Patrick Davies
70fc6fa3c7 * common.py: New functions: checkReleaseExists() and checkSourceExists().
* buildd and pull-lp-source: Adapt code to use new functions above.
2008-08-27 10:22:08 +01:00
Jonathan Patrick Davies
01db3cd8aa * doc/requestsync.1: Document new -d flag. 2008-08-26 15:33:01 +01:00
Jonathan Patrick Davies
159df6ac27 * Merged changes to requestsync by Jelmer Vernooij. 2008-08-25 11:06:36 +01:00
Jonathan Patrick Davies
570a068118 * requestsync: Exit when connecting to Launchpad fails. 2008-08-24 21:46:53 +01:00
Jelmer Vernooij
93ac014123 Add changelog entry 2008-08-23 18:29:26 +02:00
Kees Cook
884e3a8575 common.py: allow for multiple firefox instances, check all possible
cookie files.
2008-08-20 10:59:31 -07:00
Loïc Minier
3407655c52 When https_proxy is in the environment, output a warning and disable it as
urllib/urllib2 don't support it; see LP #122551.
2008-08-18 13:27:20 +02:00
Loïc Minier
2875772fa6 Drop spurious tab in buildd. 2008-08-18 13:09:50 +02:00
Loïc Minier
1fa64d54b0 Replace .BB in doc/pbuilder-dist.1 with a newline to fix a syntax error. 2008-08-18 12:22:27 +02:00
Loïc Minier
9a34c5c278 Import urllib2. 2008-08-18 12:07:45 +02:00
Jonathan Patrick Davies
3919c682e6 * requestsync: Correct print statement redirect to sys,stderr. 2008-08-18 11:01:04 +01:00
Jonathan Patrick Davies
b961efe7c5 0.40ubuntu1 uploaded to Ubuntu. 2008-08-16 23:40:49 +01:00
Jonathan Patrick Davies
1359d91815 * requestsync: Suggest using the --lp flag when mailing a request encounters
a failure.
2008-08-15 22:08:10 +01:00
Jonathan Patrick Davies
efb92c73af * buildd: Code cleanup on single arch options.
* doc/buildd.1: Created.
* doc/requestsync.1: Added note about sponsorship detecting.
2008-08-14 19:50:13 +01:00
Jonathan Patrick Davies
b65f74226c 0.39ubuntu1 uploaded. New debian/changelog entry added. 2008-08-14 12:24:50 +01:00
Jonathan Patrick Davies
a26bfee8bb * get-branches: Improved option handling. 2008-08-14 10:43:20 +01:00
Jonathan Patrick Davies
ba12b9a4d6 * buildd: Allow the rescoring of one arch too. 2008-08-13 23:37:06 +01:00
Jonathan Patrick Davies
e636aff690 * buildd:
- Added optparse support for option handling.
  - Added support to request the rebuilding of only one architecture.
* hugdaylist: Improved number of bugs option handling.
2008-08-13 22:39:02 +01:00
Iain Lane
728bb807d5 Better handle errors when going to LP 2008-08-13 10:56:53 +01:00
Siegfried-Angel Gevatter Pujals
91f62881df - Add functions mkdir and readlist. 2008-08-12 23:42:44 +02:00
Siegfried-Angel Gevatter Pujals
0faf0bc3e5 Relicense Kees' scripts to GPLv3+. Add sbuild as alternative recommend to pbuilder. 2008-08-12 20:15:15 +02:00
Jonathan Patrick Davies
8d89a43e4b * common.py: Use os.path.expanduser() instead of os.environ. 2008-08-12 18:48:56 +01:00
Jonathan Patrick Davies
a37b0de322 * common.py: Use os.path.expanduser() instead of os.environ. 2008-08-12 18:43:21 +01:00
Jonathan Patrick Davies
381a361c83 * debian/changelog:
- 0.38ubuntu1 uploaded for fixes.
  - Added new entry.
2008-08-12 18:32:45 +01:00
Jonathan Patrick Davies
b0528dd32e * requestsync: Fixes to permission checking.
* common.py: Change cookie file permissions to read and write only by user.
2008-08-12 18:18:11 +01:00
Jonathan Patrick Davies
ff50620915 * requestsync: Check if user is a member of ubuntu-core-dev if sync request
is for a package in main.
2008-08-12 15:42:55 +01:00
Jonathan Patrick Davies
6d1aa801fe * debian/changelog: 0.37ubuntu1 uploaded to Ubuntu - new changelog entry added. 2008-08-12 14:53:15 +01:00
Jonathan Patrick Davies
615bf224cc * massfile: Use the functions in the common.py file above to authenticate with
Launchpad.
2008-08-12 14:43:02 +01:00
Jonathan Patrick Davies
05c55bfbe2 * common.py: Removed print "Using cookie file" line.
* requestsync:
  - Using the Launchpad cookie file, validate that the user is a member
    the ubuntu-dev team on Launchpad. Thus, checking if the user needs
    sponsership or not (LP: #130648).
* doc/requestsync.1: Removed mention of -s flag. Obsoleted by the above.
2008-08-12 13:52:05 +01:00
Jonathan Patrick Davies
4a493b0c7a * get-branches: Check that the team has branches before downloading. 2008-08-12 00:09:01 +01:00
Jonathan Patrick Davies
eab57aec28 * get-branches: Now check team option before anything else. 2008-08-11 23:45:07 +01:00
Jonathan Patrick Davies
fb7bb815e0 * common.py: Use sqlite3 instead of pysqlite2 as it forms part of Python 2.5.
* debian/control: Changed XS-Python-Version to >= 2.5.
2008-08-11 23:15:47 +01:00
Jonathan Patrick Davies
0adea5faa0 * requestsync: Use the functions in the common.py file above to authenticate
with Launchpad.
* common.py: Check that the file written has Launchpad entries.
* buildd: Use new functions in common.py.
2008-08-11 22:53:37 +01:00
Jonathan Patrick Davies
341f2a60b5 * debian/changelog: common.py has moved. 2008-08-11 21:57:36 +01:00
Jonathan Patrick Davies
d3f18b8ec7 * buildd: Imported from Martin Pitt's scripts at:
http://people.ubuntu.com/~pitti/scripts/buildd.py
* ubuntutools/common.py: Python module to be used to enable the use of cookies
  to authenticate with Launchpad.
* debian/ubuntu-dev-tools.install: Added line to install common.py above to
  the correct location.
2008-08-11 21:48:40 +01:00
Jonathan Patrick Davies
bd51d19e4c * pull-lp-source: Now check if package exists in the release. 2008-08-11 19:24:39 +01:00
Siegfried-Angel Gevatter Pujals
d3efcc879f Remove unneeded AUTHORS and README. Add the GPL header to all scripts. 2008-08-11 20:06:35 +02:00
Jonathan Patrick Davies
3d4017fe77 * pull-lp-source:
- Use optparse for option handling.
  - Check that 'distro' exists on Launchpad.
  - Use subprocess for dget calls.
2008-08-11 14:20:38 +01:00
Jonathan Patrick Davies
684715ff89 * hugdaylist: Improved argument and error handling. 2008-08-11 10:57:19 +01:00