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
Iain Lane
e54ee2d25a
Attempt to fix sponsorship detection for new source packages
2009-08-09 15:06:56 +01: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
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
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
046798d12b
* lpapiwrapper.py:
...
Move isLpTeamMember from LpApiWrapper to PersonTeam where it belongs
2009-07-22 12:04:14 +02:00
Loïc Minier
509360d40d
Document target dist as optional in the help output
2009-07-16 00:02:41 +02:00
Loïc Minier
685b1ead09
Require an argument and print help if it's missing
2009-07-16 00:02:20 +02:00
Loïc Minier
1820a2ccfa
Allow for the EMAIL env var as a fallback for DEBEMAIL.
2009-07-15 23:58:24 +02:00
Michael Bienia
e6c5a0fe26
* requestsync:
...
Add "done" as last email command to stop parsing the email body for
further email commands (lp: #372555 )
2009-07-02 20:01:34 +02:00
Michael Bienia
a0ae5a2e23
* lpapiwrapper.py:
...
- Add _UbuntuSeries and _SourcePackage wrapper classes for proper type checking
* functions.py: Removed
- Move the remaining functions to lpapiwrapper.py
* buildd, requestsync:
- Updated for the new function location
2009-07-02 13:05:16 +02:00
Michael Bienia
e139944b3a
* lpapiwrapper.py:
...
canUploadPackage(): Assume 'universe' as component if the package doesn't
exist (yet) in Ubuntu (needed for checking sponsorship when requesting syncs
of new packages).
* requestsync: use canUploadPackage() from LpApiWrapper
2009-06-27 11:58:05 +02:00
Michael Bienia
47a2274264
* requestsync: use the correct object to call getUbuntuDistribution
2009-06-18 23:17:41 +02:00
Iain Lane
ba0d0664a8
requestsync: We need to use the output from madison, not just throw it
...
away.
2009-06-15 19:58:41 +01:00
Michael Bienia
f60a86b68d
* requestsync: Introduce some first LpApiWrapper use.
2009-06-12 00:48:41 +02:00
Jonathan Davies
7eb81c1185
Removed (superseded by Launchpad API support)
...
* ubuntutools/lp/cookie.py
* ubuntutools/lp/urlopener.py
And removed references from these files as necessary:
* requestsync
* ubuntutools/lp/functions.py
2009-06-09 10:19:58 +01:00
Jonathan Davies
6a17e7c6c7
* ubuntutools/packages.py: Created checkIsInDebian() function.
...
* requestsync: Adapt to use new function above.
* update-maintainer: Rewrote in Python and adapted to use Maintainer
field spec approved by the Technical Board at:
- https://lists.ubuntu.com/archives/ubuntu-devel/2009-May/028213.html
2009-05-31 21:45:35 +01:00
Jonathan Davies
2cd60187c0
* requestsync: urlopener module is no longer required here.
2009-05-27 16:50:42 -04:00
Iain Lane
4b8839ef15
- Correct bug supervisor team to ubuntu-bugcontrol
...
- Remove team names from sponsorship message - makes the function much
simpler
Also check if teams are valid using is_valid.
2009-05-09 21:08:46 +01:00
Iain Lane
b4cd975dc8
* ubuntutools/lp/lp_functions.py,
...
ubuntutools/lp/udtexceptions.py:
- Add new public functions that expose features from LP API
- Modify isLPTeamMember to use LP API
* requestsync
- Use new functions to check if user can upload requested package directly
instead of checking team membership
- Default to current development release if no release is specified on
commandline
* buildd
- Check if user has upload privileges instead of checking for team
membership when seeing if operations are permitted
2009-05-09 20:09:56 +01:00
Colin Watson
f27b248164
* requestsync:
...
- Send a "Content-Type: text/plain; charset=UTF-8" header (LP: #246307 ).
2009-04-27 21:28:22 +01:00
Iain Lane
863a19276e
requestsync: Fix unclosed string literal
2009-03-22 14:41:10 +00:00
Jonathan Davies
5cf5a784ec
Merged Mitsuya Shibata's FeatureFreezeException explanation flag for requestsync.
2009-03-15 18:14:55 +00:00
Mitsuya Shibata
c359d6ea5a
Add FFe report for requestsync.
2009-03-16 00:27:27 +09:00
Jonathan Davies
2cfb651336
* requestsync: Reverted old madison.php workaround (LP: #183346 ).
2009-03-14 12:16:32 +00:00
Jonathan Davies
81f3805efa
Merged changes by Marco Rodrigues for Debian madison workaround in
...
requestsync.
2009-03-04 20:48:32 +00:00
Iain Lane
bc1e0be5d7
Update in more places
2009-03-02 20:54:33 +00:00
Iain Lane
dea3df2e40
requestsync: Drop "please" in bug titles, per recent discussion on the
...
ubuntu-bugsquad ML.
2009-03-01 14:17:10 +00:00
Marco Rodrigues
c8933eb174
Remove workaround for debian madison, it works fine now
2009-02-24 09:55:38 +00:00
Luca Falavigna
d830c5a4c1
Add per-package upload permission checks.
2009-02-19 23:59:12 +01:00
Jonathan Davies
b04a9071c0
* requestsync: Only check existing reports if the --lp flag is used.
2009-02-16 15:07:30 +00:00
Loïc Minier
c05f149d67
Import ubuntutools.common explicitely in buildd and requestsync to get the
...
https_proxy fix.
2009-02-06 12:18:06 +01:00
Iain Lane
304cd20e8e
requestsync: Only attempt to change bug importance if in ubuntu-dev, as it
...
will fail otherwise.
2009-01-25 00:15:06 +00:00
Jonathan Davies
88abaa56cf
More module reorganzation.
2009-01-19 22:37:27 +00:00
Jonathan Davies
0bbef6d974
Forgot to convert this bit.
2009-01-19 18:13:28 +00:00
Jonathan Davies
32f8e2b2bc
* Converted everything else.
2009-01-19 18:10:53 +00:00
Jonathan Davies
d1ec836e76
* requestsync: Skip existing bug check if no credentials are
...
found (LP: #318120 ).
2009-01-17 14:33:29 +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
Jonathan Davies
152220567d
* requestsync: Catch credentials error to hide traceback.
2009-01-17 11:14:40 +00:00
Jonathan Davies
6d5d623e62
* doc/manage-credentials.1: Written up.
...
* common.py: Change default location of our credentials to
~/.lp_credentials.txt and service to edge.
* requestsync.1: Change as necessary to launchpadlib.
2009-01-13 21:43:14 +00:00
Markus Korn
59e7037ed8
* requestsync: use getSourcePackage() instead of loading the package-object
...
directly
2009-01-07 10:11:06 +01:00
Markus Korn
4845fcea2d
added comment about porting checkNeedsSponsorship() from py-lp-bugs to launchpadlib
2009-01-07 09:37:41 +01:00
Markus Korn
cbae36502c
string fixes in requestsync
2009-01-07 09:18:33 +01:00
Markus Korn
7439db8d3b
removed hardcoding of location for the 'common'-module, this module is now properly installed via 'py_modules'-definition in setup.py
2009-01-05 08:59:35 +01:00
Markus Korn
7e277c713c
merged changes from lp:ubuntu-dev-tools
2009-01-05 08:49:12 +01:00