494 Commits

Author SHA1 Message Date
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
Jonathan Patrick Davies
2dafedde63 * pull-lp-source: Seems sed didn't replace distribution with release here. 2008-08-11 19:32:46 +01:00
Jonathan Patrick Davies
2c4fdd6553 * pull-lp-source: Use urllib2.urlopen() to read link to .dsc files. 2008-08-11 19:31:12 +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
45a5d024b3 * hugdaylist: Must remember to remove debugging messages in future... 2008-08-11 10:58:04 +01:00
Jonathan Patrick Davies
684715ff89 * hugdaylist: Improved argument and error handling. 2008-08-11 10:57:19 +01:00
Jonathan Patrick Davies
59a6f32e8e * get-branches:
- Improve invalid directory error.
  - Check that the team page exists before creating new directory for
    downloads.
* doc/get-branches.1: Created.
2008-08-11 07:57:58 +01:00
Jonathan Patrick Davies
dc80eacf3f * get-branches: Open the teams code page before making a new directory. 2008-08-11 07:38:59 +01:00
Jonathan Patrick Davies
f928a041be * debian/changelog: Uploaded 0.36ubuntu1 and added new entry for changes. 0.36ubuntu1 2008-08-10 22:08:35 +01:00
Siegfried-Angel Gevatter Pujals
7d7d4c0ef9 Unify headers. 2008-08-10 23:03:05 +02:00
Jonathan Patrick Davies
dba03d5022 * get-branches: Really add copyright header.
* hugdaylist: Remove "either". We use version 3 of the GPL only.
2008-08-10 21:57:25 +01:00
Jonathan Patrick Davies
4f9d3426b5 * get-branches:
- Rewrote option handling with optparse.
  - Added short version of GPL to header.
  - Fixed regular expressions to work with new Launchpad interface.
  - Use subprocess.call() on Bazaar instead of os.system().
2008-08-10 21:53:43 +01:00
Jonathan Patrick Davies
1c7abae846 * AUTHORS: Updated list.
* debian/copyright: Synchronized with above.
* hugdaylist:
  - Added short version of GPL to header.
  - Rewrote option handling with optparse.
  - Filter bugs subscribed to the ubuntu-archive team.
2008-08-10 17:20:13 +01:00
Jonathan Patrick Davies
e3afe4de77 * hugdaylist: Added code to handle exceptions. 2008-08-10 15:49:02 +01:00
Jonathan Patrick Davies
f45d1724c7 * doc/grab-attachments.1: Created.
* TODO: Added note about fixing all Launchpad bug reports.
2008-08-10 14:51:27 +01:00
Siegfried-Angel Gevatter Pujals
833061324a Fix versioning scheme to end with ubuntu1, so that Lintian doesn't complain anymore about NMU, distribution name and everything. General manpages cleanup. Fix the debian/changelog file (dch couldn't parse it). 2008-08-10 13:43:51 +02:00
Jonathan Patrick Davies
83040c34c4 * doc/requestsync.1: Describe environment variables used by requestsync.
(LP: #237595)
2008-08-10 12:09:41 +01:00
Jonathan Patrick Davies
860a2181ae * debian/changelog: Restored accidentally removed spaces.
* doc/dch-repeat.1: Created.
2008-08-10 11:35:55 +01:00
Jonathan Patrick Davies
20881174cd * doc/what-patch.1: Created.
* TODO: Updated.
* debian/changelog: Added new entry.
2008-08-10 11:06:13 +01:00
Siegfried-Angel Gevatter Pujals
22b2c58e41 Merge with Jordan Mantha's commit. 2008-08-09 14:22:12 +02:00
Siegfried-Angel Gevatter Pujals
82a29e4a88 Get ready for version 0.35. 0.35 2008-08-09 14:12:06 +02:00
Jordan Mantha
f612d1cadc remove release specific example in requestsync man page 2008-08-07 20:49:15 -07:00
Iain Lane
8090782049 Merge with trunk 2008-08-04 20:14:48 +01:00
Siegfried-Angel Gevatter Pujals
fcb0d7166a Merge with Iain Lane's branch and some other changes. 2008-08-04 20:51:47 +02:00
Iain Lane
ba986123a9 Put wrong program name in changelog. 2008-08-04 18:43:17 +01:00
Iain Lane
7c2f501b5b Merge with trunk, update changelog with my new changes 2008-08-04 18:32:27 +01:00
Iain Lane
35392e884d Add -h, --help to pull-lp-source. Add pull-lp-source manpage. 2008-08-04 18:23:13 +01:00
Iain Lane
fe8087a169 Two changes to pbuilder-dist. 1) Use /var/cache/archive/$distro as an apt source if it exists. Useful for making locally-built packages available. 2) Set mirror and components correctly for debian distros. 2008-08-04 18:04:07 +01:00
Iain Lane
d7d19fd41a Take code from requestsync to make massfile work with Firefox 3 cookies 2008-08-04 17:27:37 +01:00
Siegfried-Angel Gevatter Pujals
7d89c91b82 requestsync: If the email interface is used, check if DEBEMAIL is set before anything else (LP: #254632). 2008-08-04 15:16:07 +02:00
Siegfried-Angel Gevatter Pujals
27605a77a2 Remove --no-changelog from update-maintainer's manpage. 2008-08-04 14:56:15 +02:00
Luke Yelavich
b1308c7ba5 releasing version 0.34 0.34 2008-07-28 15:51:05 +10:00