377 Commits

Author SHA1 Message Date
Jelmer Vernooij
93ac014123 Add changelog entry 2008-08-23 18:29:26 +02:00
Jelmer Vernooij
97b9b9ccc2 Document -d in requestsync help. 2008-08-23 18:28:13 +02:00
Jelmer Vernooij
9a5df25367 Merge trunk. 2008-08-23 18:27:13 +02:00
Jelmer Vernooij
4a6e0118c1 Add -d option to requestsync to allow requesting syncs from other Debian distros than unstable. 2008-08-23 18:14:33 +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. 0.40ubuntu3 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. 0.40ubuntu1 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
307417e56a * common.py: What is with this little dot? 2008-08-14 23:12:45 +01:00
Jonathan Patrick Davies
e5052d74a8 * Added note about Mozilla Firefox cookie file to doc/requestsync.1 and doc/buildd.1. 2008-08-14 21:43:14 +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. 0.39ubuntu1 2008-08-14 12:24:50 +01:00
Jonathan Patrick Davies
f588ea57cf * buildd: Improved build status checking and rescore requesting. 2008-08-14 12:18:44 +01:00
Jonathan Patrick Davies
d84d815050 * buildd:
- Do not rescore packages not in the build queue.
  - Sort archs in order.
2008-08-14 11:20:28 +01:00
Jonathan Patrick Davies
f48309fd48 * buildd: Do not rescore or retry successfully built packages. 2008-08-14 11:02:27 +01:00
Jonathan Patrick Davies
28d84fa1a8 * get-branches: Sub string for invalid operation correctly. 2008-08-14 10:50:04 +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
abea053a51 * buildd: Improve usage notes. 2008-08-13 23:24:59 +01:00
Jonathan Patrick Davies
8ba739394c * buildd: Check that the architecture specified is correct and that --arch is
not used for incorrect operations.
2008-08-13 23:20:55 +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
Jonathan Patrick Davies
577643a6be Merge with Iain Lane's changes:
* pull-lp-source: Better handle errors when going to LP.
2008-08-13 12:15:42 +01:00
Iain Lane
728bb807d5 Better handle errors when going to LP 2008-08-13 10:56:53 +01:00
Iain Lane
ce044d17df Merge with trunk 2008-08-13 10:38:32 +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.
0.38ubuntu1
2008-08-12 18:18:11 +01:00
Jonathan Patrick Davies
575e8e76d4 * requestsync: Added left out '% team' to urlopen(). 2008-08-12 15:46:44 +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. 0.37ubuntu1 2008-08-12 14:53:15 +01:00
Jonathan Patrick Davies
f88e66ffdd * massfile: And here too. 2008-08-12 14:46:29 +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
00b3977dd8 * requestsync: Remove any other mentions of the "-s" flag. 2008-08-12 14:31:06 +01:00
Jonathan Patrick Davies
0d993122ea * setup.py:
- Install buildd.
  - Use a #!/usr/bin/python header.
2008-08-12 14:19:52 +01:00
Jonathan Patrick Davies
d6a19fc638 * requestsync:
- Print usage before checking for sponsorship.
  - Restore 're' import to where it was.
2008-08-12 14:07:51 +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
Siegfried-Angel Gevatter Pujals
0dc2681b17 Move ubuntutools/common.py to common.py. 2008-08-11 22:53:25 +02: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