Stefano Rivera
b46114c20f
Move up mailserver config parsing, so we return deprecation errors fast
2010-12-22 00:11:10 +02:00
Stefano Rivera
692627c771
Restore -l
2010-12-21 21:54:57 +02:00
Stefano Rivera
a435c3234b
Use the improved staging support in lpapicache
2010-12-21 21:52:12 +02:00
Stefano Rivera
82eab1c349
Config file support in requestsync
2010-12-21 17:02:36 +02:00
Stefano Rivera
b1b1e5e332
requestsync: Style: named parameters shouldn't have spaces around =
2010-12-21 12:32:33 +02:00
Stefano Rivera
9dd04a43ba
requestsync: Convert the space-indented lines to tabs
2010-12-21 12:26:00 +02:00
Stefano Rivera
8588c064b7
ubuntutools.common is gone
2010-12-21 02:17:04 +02:00
Benjamin Drung
1943df29eb
Remove all trailing spaces.
2010-12-03 00:06:43 +01:00
Benjamin Drung
533fac4911
requestsync, ubuntutools/lp/lpapicache.py: Import functions explicitely.
2010-09-22 14:07:23 +02:00
Michael Bienia
403a1a9412
Add 'natty' to the recognized names and make it the default.
2010-09-15 09:23:28 +02:00
Michael Bienia
0cca58d2bb
requestsync: Fix bug where the variable 'hasLP' is not always set (lp: #607874 )
2010-07-20 19:47:45 +02:00
Michael Bienia
bbe51620d4
Update to the new python-debian version:
...
- Depend on python-debian >= 1.1.15
- Replace imports of debian_bundle with debian to fix the deprecation
warnings.
2010-06-08 19:09:40 +02:00
Iain Lane
51dc6ffb7e
Also fall back to rmadison when ubuntu_version >= debian_version
...
This happens, for example, when there are Ubuntu local changes and the Debian importer hasn't caught up yet.
2010-05-09 16:11:00 +01:00
Iain Lane
22274ef8aa
requestsync: Fall back to using rmadison when LP indicates that no new
...
version is available. The LP importer is often out of date wrt Debian when
rmadison isn't. (LP: #574398 )
2010-05-03 23:28:00 +01:00
Michael Bienia
9e89a22c58
[ Michael Bienia ]
...
Update the defaults for maverick and let requestsync and
pull-debian-source default to unstable (lp: #472837 ).
2010-04-20 17:56:51 +02:00
Daniel Holbach
f84f961805
* hugdaylist, requestsync, doc/requestsync.1:
...
ubuntu-{main,universe}-sponsors → ubuntu-sponsors,
{ubuntu,motu}-release → ubuntu-release.
* ubuntutools/ppaput.py: removed, not necessary any more.
* debian/copyright: removed references to ppaput.
2010-03-15 10:22:35 +01:00
Michael Bienia
95a8fdecb2
requestsync: Subscribe 'ubuntu-release' to Feature Freeze exceptions (updated
...
to current policy; lp: #532740 )
2010-03-05 17:59:46 +01:00
Michael Bienia
1cfe684420
requestsync:
...
* Add an error message when Ubuntu has a newer version than Debian.
2010-02-20 18:36:12 +01:00
Michael Bienia
0dfe4b4731
ubuntutools/lp/lpapicache.py:
...
* PersonTeam.canUploadPackage() can now also check package sets for upload
permissions. This requires now to also pass the distroseries as package sets
are per distroseries.
* Drop PersonTeam.isPerPackageUploader() as it's also handled by canUploadPackage()
ubuntu-build: Update for the PersonTeam.canUploadChange().
ubuntutools/requestsync/{lp,mail}.py:
* needSponsorship() now also expects a release name because of the above mentioned
change to PersonTeam.canUploadPackage().
requestsync: Update for needSponsorship() change.
2010-02-20 15:48:48 +01:00
Kees Cook
07451d8631
requestsync: add -C to allow manually adding changelog when missing
...
(LP: #518574 ).
2010-02-08 11:55:58 -08:00
Kees Cook
233ceb06b9
requestsync: add -C to allow manually adding changelog when missing.
2010-02-08 10:12:55 -08:00
Michael Bienia
5bd544b63c
requestsync: Use '~' as the Ubuntu version for new packages (it's lower
...
than '0~0').
2010-01-06 01:30:40 +01:00
Michael Bienia
65762755c0
* requestsync: Fix a bug that prevented sync requests for new packages with
...
a version smaller than 0.
2009-12-31 13:16:32 +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
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
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
Michael Bienia
82899a0f45
bug fixes
2009-08-25 13:02:57 +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
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
Michael Bienia
e628bfbe34
requestsync:
...
- move mail_bug() to ubuntutools.requestsync.mail
- implement support for UBU* environment variables (lp: #400133 )
2009-08-22 17:12:55 +02:00
Michael Bienia
ec92bb5d75
requestsync: move the remaining code of cur_version_component() into the
...
__main__ code.
2009-08-22 11:59:22 +02:00
Michael Bienia
ea3c45cb16
Merge from devel branch.
2009-08-22 11:40:43 +02:00
Iain Lane
d9dd366665
* requestsync:
...
- Guard some calls when -n is specified
- Fetch changelog of specified version, not current version. If an
experimenal upload happened after the unstable one we're syncing, this
is considered to be current by p.d.o and we would get those changelog
entries in the sync request
- Remove trailing fullstop from sync bug title
2009-08-17 12:02:35 +01:00
Michael Bienia
d96e4af643
requestsync: move post_bug() to ubuntutools/requestsync/lp.py
2009-08-12 13:46:21 +02:00
Michael Bienia
7ff9aa777a
requestsync, ubuntutools/requestsync/common.py:
...
Move the asking about editing the report to edit_report()
2009-08-12 13:14:50 +02:00
Iain Lane
e54ee2d25a
Attempt to fix sponsorship detection for new source packages
2009-08-09 15:06:56 +01:00
Michael Bienia
aab36b1d41
* Merge from devel branch
2009-08-09 13:43:18 +02:00
Michael Bienia
17c36f9107
requestsync: Call isLpTeamMember() from the correct object
2009-08-09 13:20:13 +02:00
Michael Bienia
c060c48ec8
Merge with trunk.
2009-08-09 13:03:00 +02:00
Iain Lane
39594f64e0
* requestsync: Guard some calls when -n is specified
...
* suspicious-source: Add *.hs *.el *.css to whitelist
2009-08-08 16:03:28 +01:00
Michael Bienia
6d924143c0
requestsync: refactor 'checkNeedsSponsorship'
2009-08-07 14:07:46 +02:00
Michael Bienia
5748f9d64f
requestsync: more refactoring
2009-08-07 13:27:45 +02:00
Michael Bienia
ba14d22954
requestsync: more refactoring
2009-08-07 12:53:33 +02:00
Michael Bienia
5e3e368bb8
requestsync: some more refactoring
2009-08-06 00:23:58 +02:00
Michael Bienia
a0f10bb410
Merge changes from my devel branch
2009-08-04 15:57:36 +02: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
b3b816515e
lpapiwrapper.py: Move getMe() from LpApiWrapper to PersonTeam
2009-08-04 15:32:39 +02:00