975 Commits

Author SHA1 Message Date
Iain Lane
1973bde3e0 Also modify grab-attachments, hugdaylist, update-maintainer to bail on no creds 2009-11-07 19:34:59 +00: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
Iain Lane
e596fad456 Release 0.82 2009-11-06 10:38:29 +00:00
Iain Lane
2c4db266b4 Don't pass --logfile if logging in
pbuilder-dist: Don't pass --logfile if we are trying to log in to the
chrootthe logfile option swallows the prompt, and we probably don't
want to log if we are using login anyway.
2009-11-05 14:18:29 +00:00
Michael Bienia
25ec8a9092 Mention the changed default of pull-debian-source also in the changelog 2009-11-02 19:23:59 +01:00
Michael Bienia
fdb2e2d4d6 doc/requestsync.1: Also update the manpage about the changed default.
pull-debian-source: Change default release to pull from to 'testing'
 and also update the manpage about it
2009-11-02 19:20:56 +01:00
Michael Bienia
87660fb375 requestsync: request syncs from 'testing' by default
(should be changed back to 'unstable' for lucid+1)
2009-11-02 19:03:18 +01:00
Luca Falavigna
09cd08b58f Update copyright holders 2009-11-01 15:58:45 +01:00
Siegfried-Angel Gevatter Pujals
574d21c916 * setup-packaging-environment, setup.py, debian/copyright, debian/control:
- Add a new script, setup-packaging-environment.
2009-10-25 16:17:10 +01:00
Siegfried-Angel Gevatter Pujals
ea9ee6d0a7 Simplify some code. 2009-10-25 14:32:36 +01:00
Siegfried-Angel Gevatter Pujals
ab78b51a9f * debian/control:
- Improve description of pbuilder-dist and mention cowbuilder-dist.
  * pbuilder-dist:
     - Abort if the host's architecture can't be determined.
     - Error out instead of showing a traceback if pbuilder-dist is called
       without any argument.
  * pbuilder-dist, ubuntutools/misc.py:
     - Move the functions used to determine the hosts architecture and
       distribution to the ubuntutools.misc module.
2009-10-25 13:57:39 +01:00
Luca Falavigna
c293aa80cf doc/mk-sbuild-lv.1: manage hypens correctly 2009-10-24 18:06:06 +02:00
Luca Falavigna
5bdec5b5b2 Explicitly import exceptions for backward compatibility with Python 2.5 2009-10-19 20:51:08 +02:00
Siegfried-Angel Gevatter Pujals
7e41f58ea6 debian/control: Improve description of pbuilder-dist and mention
cowbuilder-dist.
2009-10-12 13:36:29 +02:00
Nathan Handler
5f1855196c debian/control: Mention lp-project-upload in Description 2009-10-01 13:34:24 +00:00
Iain Lane
1275d07e71 * debian/control: Readd XS-Python-Version - this is more standard
* debian/pyversions: Drop
2009-09-25 21:38:07 +01:00
Iain Lane
cc3c11315d Releasing 0.81 2009-09-25 20:26:28 +01:00
Iain Lane
c0ecedb2fe Oops, 0.80 was uploaded 0.81 2009-09-25 20:20:33 +01:00
Iain Lane
c8d75b6f98 * debian/control: Update standards-version to 3.8.3, no changes
* debian/control, debian/pyversions: Remove XS-Python version to
  debian/pyversions to silence a warning
2009-09-25 00:12:09 +01:00
Jonathan Davies
d093c7b35c Merged branch from Joe Bernard, fixes LP: #436006. 2009-09-24 17:36:31 +01:00
Jon Bernard
cc7ad33a4d Fix regexp parsing of dsc file for new launchpad API 2009-09-24 11:55:24 -04:00
Nathan Handler
f83148b000 debian/control: Mention pull-revu-source in description 2009-09-24 11:58:34 +00:00
Iain Lane
2c8a198018 debian/control: Included a short description of each script (LP: #406658). 2009-09-24 12:39:20 +01:00
Iain Lane
4550abc30e update-maintainer: Prefer updating control.in to control; this is used by
some Debian packages, notably those maintained by pkg-gnome.
2009-09-24 12:37:15 +01:00
Iain Lane
d281ff0428 update-maintainer: Also check if package is in experimental when looking
who to update maintainer to.
2009-09-24 12:36:26 +01:00
Jonathan Davies
6bc7b8e017 * debian/control: Included a short description of each script (LP: #406658). 2009-09-23 17:32:11 +01:00
Iain Lane
dac4145893 requestsync: Give an error message if no changelog entries - happens if,
for example, the new package's changelog hasn't yet been published on p.d.o
2009-09-21 00:41:11 +01:00
Kees Cook
e9bb3f8d1d releasing version 0.80 0.80 2009-09-10 10:32:45 -07:00
Kees Cook
73cd5897c0 mk-sbuild-lv: Export http_proxy. LP: #416438 2009-09-10 10:22:23 -07:00
Martin Pitt
97faca5bbb releasing version 0.79 0.79 2009-09-05 16:42:15 +02:00
Martin Pitt
f536680dd3 debian/copyright: Add lp-project-upload. 2009-09-05 16:42:07 +02:00
Martin Pitt
05efc70443 * Add lp-project-upload: Upload a release tarball to a Launchpad project.
* Add doc/lp-project-upload.1: Corresponding manpage.
* setup.py: Add lp-project-upload.
2009-09-05 16:40:10 +02:00
Steve Langasek
2bd5fba0e8 releasing version 0.78 0.78 2009-09-01 12:17:07 -07:00
Steve Langasek
66e5f15f40 Set XS-Python-Version to 2.6 or better, due to use of 2.6-specific
syntax in requestsync.
2009-09-01 12:14:03 -07:00
Nathan Handler
3b3d174e23 setup.py: Add pull-revu-source to list of scripts 2009-09-01 11:07:18 +00:00
Michael Bienia
1580e901de Upload 0.77 to karmic and prepare a new changelog entry. 2009-09-01 10:59:26 +02:00
Michael Bienia
ccc6d698a5 setup.py: Install also the ubuntutools/requestsync/* modules (lp: #421627) 0.77 2009-09-01 10:56:57 +02:00
Nathan Handler
72d3f50be2 pull-revu-source: Update to use dsc.py to get dsc URL 2009-08-30 19:51:57 +00:00
Kees Cook
eb94bb8f7e releasing version 0.76 0.76 2009-08-30 10:50:49 -07:00
Nathan Handler
e81c4a1ae7 * Add pull-revu-source and doc/pull-revu-source.1
* Update debian/copyright to include pull-revu-source
2009-08-30 17:25:53 +00:00
Michael Bienia
48f591a4bb lpapicache.py: Fix imports with python-launchpadlib 1.5.1 and add
python-lazr-restfulclient to Depends
2009-08-29 11:13:08 +02:00
Michael Bienia
7fba4ddbd1 requestsync:
- Use UBU* environment variables before the DEB* ones (lp: #400133)
 - Split requestsync into a "mail" module and a "lpapi" module and use
   the LP API only when --lp was used. In "mail" mode requestsync has
   to ask some more questions for parts it can't find out without LP API.
   (lp: #406659, #416955)
buildd:
 - Display the name of the current development series when none is 
   specified in --batch mode
2009-08-25 13:22:18 +02:00
Michael Bienia
0510f340ca ubuntutools/lp/lpapicache.py: remove the useless LpApiWrapper class 2009-08-25 13:18:46 +02:00
Michael Bienia
1efd85bb5f Merge my requestsync branch:
- Use UBU* environment variables before the DEB* ones (lp: #400133)
 - Split requestsync into a "mail" module and a "lpapi" module and use
   the LP API only when --lp was used. In "mail" mode requestsync has
   to ask some more questions for parts it can't find out without LP API.
   (lp: #406659, #416955)
2009-08-25 13:15:18 +02:00
Michael Bienia
82899a0f45 bug fixes 2009-08-25 13:02:57 +02:00
Michael Bienia
30bb23a2b7 lpapicache.py:
- Catch IOError from libsupport.get_launchpad(), display the error and
   exit
 - Bug fix in PersonTeam.canUploadPackage()
 - Remove leftover code from PersonTeam.isPerPackageUploader()
2009-08-24 12:14:02 +02:00
Michael Bienia
f284ee7cd6 requestsync: cleanup 2009-08-23 13:08:22 +02:00
Michael Bienia
966ab3727a requestsync: reindent remaining code and small cleanup 2009-08-22 18:34:22 +02:00
Michael Bienia
d5a19ca5a7 ubuntutools.requestsync.lp: fix errors in imports 2009-08-22 18:07:26 +02:00
Michael Bienia
5448add754 requestsync: make a "mail" and "lp" version of checkExistingReports and move
it to the correct module
2009-08-22 17:39:38 +02:00