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
Markus Korn
2963e1539c
replace launchpadbugs by launchpadlib in requestsync
2009-01-02 17:52:51 +01:00
Jonathan Davies
eee4c697d5
* requestsync: Implemented sleeps to --lp bug reporting in case of a slow
...
Launchpad to stop mass bug filing (LP: #311289 ).
2009-01-02 13:18:53 +00:00
Jonathan Davies
ff3c4a269f
* requestsync: Remove commented out getopt import.
2009-01-02 00:29:19 +00:00
Jonathan Davies
ac26414459
* requestsync:
...
- Use optparse instead of getopt for option parsing.
- Skip existing bug report check if python-launchpad-bugs is not
installed.
2009-01-02 00:17:49 +00:00
Jonathan Davies
75b115a5dd
requestsync: Do not check package's Launchpad bug list page if the package to be synced is a new package. As this page does not exist for it (LP: #312297 ).
2008-12-29 23:50:48 +00:00
Jonathan Davies
83a650c07f
* requestsync: Add -s flag to usage.
2008-12-29 19:04:42 +00:00
Jonathan Davies
50d55f1d9a
* requestsync: Readd sponsorship flag and related documentation in
...
doc/requestsync.1 (LP: #270605 ).
2008-12-29 18:58:11 +00:00
James Westby
082ba0b322
requestsync: tell the user when you are waiting for input from them after
...
giving the sponsorship warning, rather than appearing to hang.
2008-11-07 16:58:22 +00:00
Jonathan Patrick Davies
aea1d639e8
* requestsync: Improve wording.
2008-09-02 09:54:26 +01:00
Jonathan Patrick Davies
e34088a986
* requestsync: Improve dup sync bug checking.
2008-09-01 23:12:38 +01:00
Jonathan Patrick Davies
806beacb51
* requestsync: Check for already existing sync requests before filing a new
...
one.
2008-09-01 22:29:32 +01:00
Jonathan Patrick Davies
3c25fca142
* common.py: New function: isLPTeamMember() - checks if the user is a member of
...
the Launchpad team using cookies for authentication.
* requestsync: Adapt team checking with the function above.
* buildd: Adapt privilege checking code to the new function above.
2008-08-28 19:21:45 +01:00
Jonathan Patrick Davies
839c167927
* requestsync: Return an error when the script is unable to connect to
...
packages.debian.org (LP: #261916 ).
* Changes by Karl Goetz: Add a Recommends: on ca-certificates (LP:
#247157 ).
2008-08-27 23:28:05 +01:00
Jonathan Patrick Davies
159df6ac27
* Merged changes to requestsync by Jelmer Vernooij.
2008-08-25 11:06:36 +01:00
Jonathan Patrick Davies
570a068118
* requestsync: Exit when connecting to Launchpad fails.
2008-08-24 21:46:53 +01:00
Jelmer Vernooij
97b9b9ccc2
Document -d in requestsync help.
2008-08-23 18:28:13 +02:00
Jelmer Vernooij
9a5df25367
Merge trunk.
2008-08-23 18:27:13 +02:00
Jelmer Vernooij
4a6e0118c1
Add -d option to requestsync to allow requesting syncs from other Debian distros than unstable.
2008-08-23 18:14:33 +02:00
Loïc Minier
9a34c5c278
Import urllib2.
2008-08-18 12:07:45 +02:00
Jonathan Patrick Davies
3919c682e6
* requestsync: Correct print statement redirect to sys,stderr.
2008-08-18 11:01:04 +01:00
Jonathan Patrick Davies
1359d91815
* requestsync: Suggest using the --lp flag when mailing a request encounters
...
a failure.
2008-08-15 22:08:10 +01:00
Jonathan Patrick Davies
b0528dd32e
* requestsync: Fixes to permission checking.
...
* common.py: Change cookie file permissions to read and write only by user.
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
00b3977dd8
* requestsync: Remove any other mentions of the "-s" flag.
2008-08-12 14:31:06 +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
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
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
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
dca732d355
Merge the requestsync fix from Iain Lane (~laney/ubuntu-dev-tools/dev).
2008-07-03 19:26:25 +02:00
Iain Lane
17cb5f8283
Add my name (Iain Lane) as contributor of requestsync and pbuilder-dist
2008-05-22 18:55:45 +01:00
Siegfried-Angel Gevatter Pujals
2f90a21dd5
Merge with Iain Lane's branch.
2008-05-22 16:50:05 +02:00
Iain Lane
3bf7f10b53
Fix bug in requestsync causing corruption when bug text was edited for a second or subsequent time. Tuple returned by edit_report was not being unpacked as it needed to be.
2008-05-14 20:16:05 +01:00
Siegfried-Angel Gevatter Pujals
2df3b232fa
Little formatting change in requestsync.
2008-04-16 14:54:35 +02:00
Siegfried-Angel Gevatter Pujals
d912d52b37
Merge Daniel Hahler's requestsync improvements.
2008-04-16 14:44:30 +02:00
Daniel Hahler
a736d68653
requestsync: Add hint about how to create a valid cookie file (Firefox)
2008-04-16 02:30:01 +02:00
Daniel Hahler
3f7c03a0e8
requestsync: mail_bug: Catch socket.error (LP: #190739 )
2008-04-16 02:25:33 +02:00
Daniel Hahler
fd5479e548
requestsync:
...
- post_bug: Catch IOError when setting bug importance (LP: #190061 )
- Added myself to list of authors
2008-04-16 02:14:55 +02:00
Daniel Hahler
6eba68a20d
requestsync:
...
- Fix --lp for Firefox 3: it now tries ~/.lpcookie.txt,
~/.mozilla/*/*/cookies.sqlite and ~/.mozilla/*/*/cookies.txt to find
a Launchpad cookie file
- Added confirm loops, which displays the message to be send/posted and
either allows to edit (or forces to, in case of Ubuntu changes).
(LP: #194613 , #194615 )
This adds a convient edit_report method, which gets used both from the
Launchpad and mail code path.
- Do not fallback to submitting by email, if posting to Launchpad failed.
This hasn't been requested and therefore should not get done.
2008-04-16 02:05:58 +02:00
Daniel Hahler
4600ff8981
Fix added newlines in report
2008-02-24 19:59:14 +01:00