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
Daniel Hahler
befa4c0850
requestsync: Use debian_bundle.changelog.Version for version comparison in debian_changelog. Fixes cases where the current ubuntu version is not in debian anymore, e.g. p7zip-rar 4.55~ds.1-2
2008-02-09 18:29:09 +01:00
Daniel Hahler
5401bffe45
requestsync: Fix indentation
2008-02-09 04:03:38 +01:00
Daniel Hahler
f99fc1109c
Fix argument name "subscribe" for post_bug! - seems to have used the global before
2008-02-09 04:00:46 +01:00
Daniel Hahler
8e74762bf5
Remove unused import "readline"
2008-02-09 03:54:32 +01:00
Daniel Hahler
060659df0c
- Refer to subprocess.CalledProcessError correctly
...
- Add space after operator ">>"
2008-02-09 03:48:57 +01:00
Daniel Hahler
72600ec914
If interaction is required (for an explanation to drop the Ubuntu changes), edit the report in the sensible-editor. Allow editing in general. Minor cleanup/consistency fixups.
2008-02-09 02:52:22 +01:00
Daniel Hahler
25aef8b726
Exit if debian and ubuntu version are the same already.
2008-02-08 23:29:53 +01:00
Michael Bienia
faecbf7c31
* requestsync: Add line editing during input.
2008-01-19 16:19:55 +01:00
Michael Bienia
cd7ea02ceb
* Add python-launchpad-bugs support to requestsync and update the manpage.
2008-01-19 15:40:28 +01:00
Michael Bienia
b531767097
* Add work-around for a bug(?) in Debian's madison.php (LP: #183346 )
2008-01-17 18:40:17 +01:00
Michael Bienia
2d00e3e45b
* requestsync: Set importance to wishlist and strip some more whitespace
...
from components so the URL for the Debian changelog doesn't break.
2007-12-30 17:07:35 +01:00
Siegfried-Angel Gevatter Pujals (RainCT)
7957399f70
what-patch: apply patch by Daniel Hahler (LP: #163454 ). pbuilder-dist: assume action 'build' when .dsc is passed, and update it's manpage.
2007-12-01 22:56:45 +01:00
Laurent Bigonville
ba5efa0230
* Always pass -u option to rmadison now that it defaults to ubuntu
2007-11-15 21:12:38 +01:00
Siegfried-Angel Gevatter Pujals (RainCT)
e30595f81d
Error handlign improvements in different scripts.
2007-11-07 20:05:37 +01:00
Siegfried-Angel Gevatter Pujals (RainCT)
b3e31310db
Merge with Laurent Bigonville's patch to allow to choose a SMTP port.
2007-10-06 21:39:08 +02:00
Siegfried-Angel Gevatter Pujals (RainCT)
31a385dbdf
merge
2007-10-06 21:32:29 +02:00
Laurent Bigonville
f6b542b3c0
requestsync: Add support to customize the smtp port and catch all other smtp exception
2007-10-06 20:52:48 +02:00
Daniel Holbach
ba8541352a
* requestsync: add an option to "Add latest debian version to the title of
...
the bug" (LP: #132221 )
2007-10-05 14:20:22 +02:00
Siegfried-Angel Gevatter Pujals (RainCT)
4a1c9b0cce
Add authentication.
2007-10-01 19:02:09 +02:00
Siegfried-Angel Gevatter Pujals (RainCT)
eca4d4e701
Proposed bug fix for 144244
2007-10-01 18:06:45 +02:00
Steve Kowalik
3587439e8b
* Add requestsync and its manual page from devscripts.
...
* Add Conflicts/Replaces against devscripts 2.10.7ubuntu3.
2007-09-12 01:14:23 +10:00