Benjamin Drung
1943df29eb
Remove all trailing spaces.
2010-12-03 00:06:43 +01:00
Stefano Rivera
0dd7a86948
Revert DEB_VENDOR exporting in pull-lp-source, dgetlp
2010-11-27 18:40:41 +02:00
Stefano Rivera
937e6c3aee
Forgotten DEB_VENDOR change for pull-lp-source
2010-11-24 21:32:45 +02:00
Michael Bienia
1372671779
pull-lp-source: Use (anonymously) the LP API to get the URL for the .dsc
...
file instead of screen scraping.
2010-03-20 20:22:55 +01:00
Iain Lane
6db05720f3
Conditional LP API usage & better p-l-s errors
...
* lpapicache: Do not immediately bail out if we have no credentials to
login. Clients are now expected to handle the lack of credentials
themselves.
* pull-lp-source: Make LP API use optional - fall back to a hardcoded
default release if we aren't using it. (LP: #477670 )
* pull-lp-source: Detect more failure conditions and give a nice error
instead of a trace
* buildd, requestsync: Detect & bail if we don't have credentials and need
them. These scripts cannot continue under those circumstances.
2009-11-07 19:20:46 +00:00
Jon Bernard
cc7ad33a4d
Fix regexp parsing of dsc file for new launchpad API
2009-09-24 11:55:24 -04:00
Michael Bienia
54e9563e92
Replace LpApiWrapper.getUbuntuSourcePackage() with
...
Distribution('ubuntu').getArchive().getSourcePackage()
2009-08-04 15:53:49 +02:00
Michael Bienia
a49e4f6d43
Replace LpApiWrapper.getUbuntuDistribution() with Distribution('ubuntu')
2009-08-04 15:49:24 +02:00
Michael Bienia
74e55c2166
Rename lpapiwrapper.py to lpapicache.py as it describes its function better
2009-08-04 15:40:41 +02:00
Michael Bienia
fcf86d2ad2
* lpapiwrapper.py:
...
Move getUbuntu{Development,}Series from LpApiWrapper to Distribution
and rename it to get{Development,}Series
* pull-lp-source, requestsync:
Updated for the above mention change.
2009-07-22 13:43:53 +02:00
Michael Bienia
5d9ef43b25
* pull-lp-source: Use the new LpApiWrapper class.
2009-06-12 00:14:22 +02:00
Jonathan Davies
d10afc2732
pull-lp-source: Use os.path.exists() instead of catching an error message
...
to check if dget is installed.
2009-05-28 03:37:38 -04:00
Jonathan Davies
b85dc1a793
pull-lp-source: Return an error message if dget is not installed.
2009-05-28 03:31:23 -04:00
Jonathan Davies
27f83c2602
pull-lp-source: Use launchpadlib instead of screen scraping to get and check if the Ubuntu release exists.
2009-05-28 03:12:35 -04:00
Colin Watson
723abf6259
* pull-lp-source:
...
- Set default release to karmic.
2009-04-27 14:00:14 +01:00
Jonathan Davies
32f8e2b2bc
* Converted everything else.
2009-01-19 18:10:53 +00:00
Jonathan Davies
59aac908c1
* Moved common.py to ubuntutools/ subdirectory to avoid possible conflicts
...
in Python packaging and fixed all imports as necessary.
2009-01-17 11:23:08 +00:00
Michael Casadevall
9e1272482c
* buildd: Fixed rescore (tested by Sarah Hobbs)
...
* submittodebian: Changed default tag to Jaunty
* pbuilder-dist: Added jaunty to ubuntu releases
* pull-lp-source: Made jaunty the default
* dch-repeat: Added jaunty
2008-11-09 06:54:51 -05:00
Jonathan Patrick Davies
3af0c337cc
* common.py: Improve wording.
...
* massfile and pull-lp-source: Point to https Launchpad links.
2008-08-29 08:14:15 +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
Iain Lane
728bb807d5
Better handle errors when going to LP
2008-08-13 10:56:53 +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
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
35392e884d
Add -h, --help to pull-lp-source. Add pull-lp-source manpage.
2008-08-04 18:23:13 +01:00
Iain Lane
45f2d5146c
Add simple script pull-lp-source to download and extract a source given source package from LP
2008-07-03 17:37:57 +01:00