55 Commits

Author SHA1 Message Date
Stefano Rivera
301569e809 Pull out Python 2 support hacks 2019-09-04 19:24:44 -03:00
Stefano Rivera
3f5e56c75e Port submittodebian to Python 3 2019-09-04 19:24:44 -03:00
Benjamin Drung
cc7170eccb Fix all flake8 issues 2017-05-01 00:20:03 +02:00
Stefano Rivera
4d28dfb9e6 Pass --builder=dpkg-buildpackage to bzr bd, in case the user has
configured a custom builder that doesn't do source builds (LP: #1019817)
2012-07-02 19:24:09 +02:00
Stefano Rivera
0a5812f168 submittodebian: Use --include instead of --attach when not using reportbug's
internal MUA.
2012-07-02 15:05:39 +02:00
Stefano Rivera
a8a1eef67a Use dpkg-buildpackage instead of debuild in submittodebian. It really
doesn't need to run lintian twice.
2012-07-02 13:21:10 +02:00
Stefano Rivera
605b27a550 submittodebian; Unset DEBEMAIL when building source package.
(LP: #1015066)
2012-06-20 22:44:12 +02:00
Stefano Rivera
9f33928d38 submittodebian: Explitictly UTF-8 encode the bug body (LP: #1005834) 2012-06-20 22:20:22 +02:00
Stefano Rivera
4f308cdf62 submittodebian: Style tweaks 2012-06-20 22:17:07 +02:00
Benjamin Drung
337917c4d9 Break long lines into two commands. 2012-05-27 00:46:24 +02:00
Stefano Rivera
4f66ed834b Move reportbug existance check after argument parsing 2012-05-12 19:21:39 -07:00
Stefano Rivera
055dce8f40 submittodebian: Revert Ubuntu Maintainer mangling, and re-build the source
package before diffing. (LP: #902233)
2012-05-06 19:46:05 +02:00
Stefano Rivera
343ac49b39 pbuilder-dist, pull-debian-source, pull-lp-source, requestsync,
reverse-depends, submittodebian, syncpackage:
Handle outdated distro-info data. Fall back to sane defaults where
possible.
2012-05-06 10:15:54 +02:00
Stefano Rivera
083d44f676 submittodebian: Use optparse to display --help (LP: #988009) 2012-05-05 19:34:02 +02:00
Stefano Rivera
2e8f16c972 submittodebian: rm the tmpdir with a little more force (shutil.rmtree) (LP: #899399) 2011-12-03 00:06:35 +02:00
Stefano Rivera
bb1dcea894 And VISUAL 2011-12-03 00:03:00 +02:00
Stefano Rivera
5b8ac8354e submittodebian: Do the report boiler-plate checking in a script that wraps
an editor, so that we only edit the report once, after checking for
duplicates.
2011-12-02 23:42:29 +02:00
Stefano Rivera
ff9305976b submittodebian: Check existing bug reports before editing anything. 2011-12-02 21:33:10 +02:00
Stefano Rivera
cefbe3ccc2 * New scripts:
- reverse-depends: Replaces reverse-build-depends. Uses an UbuntuWire
    webservice for determining all reverse(-build)-dependencies for a
    package. (LP: #696373)
  - requestbackport: Files a backport request bug report, including a full
    testing checklist.
* Don't allow boilerplate prompts through in submittodebian and requestsync
  (LP: #887336)
2011-11-13 21:31:01 +02:00
Stefano Rivera
1f91b015ab Use subprocess and EditFile in submittodebian 2011-11-13 20:54:05 +02:00
Stefano Rivera
12b5dfd4da submittodebian: Use prettier patch filenames (LP: #887333) 2011-11-13 00:09:41 +02:00
Stefano Rivera
1fc55fe66d * submittodebian:
- Don't parse the entire changelog, to avoid bumping into past illegal
    version numbers (LP: #727314)
  - Iterate over changelog blocks rather than using Chancgelog's private
    _blocks list.
[ Stefano Rivera ]
*
2011-09-09 23:54:36 +02:00
Stefano Rivera
de25fb4a6c submittodebian: Don't parse the entire changelog, to avoid bumping into
past illegal version numbers (LP: #727314)
2011-09-09 20:20:29 +02:00
Stefano Rivera
0d4c692262 dgetlp, submittodebian, 404main: Use unicode strings for literal strings
containing non-ASCII characters (LP: #836661)
2011-09-04 18:02:55 +02:00
Benjamin Drung
a03fa654f3 Move debian-distro-info, distro-info, and ubuntu-distro-info from
ubuntu-dev-tools into distro-info.
2011-06-25 17:53:44 +02:00
Benjamin Drung
61cc8e57ba submittodebian: Write a usable .reportbugrc if it doesn't exist. (LP: #800429) 2011-06-25 15:35:17 +02:00
Stefano Rivera
dd46215fbe submittodebian: Write a usable .reportbugrc if it doesn't exist.
(LP: #800429)
2011-06-22 12:15:57 +02:00
Benjamin Drung
1a8951e82d Use new ubuntutools.distro_info in various scripts. 2011-01-21 19:20:04 +01:00
Benjamin Drung
08042bf61f submittodebian: Make pylint happier. 2010-12-27 20:02:11 +01:00
Benjamin Drung
f8d3f9f2f5 Wrap all long lines in Python scripts. 2010-12-27 14:21:01 +01:00
Benjamin Drung
493597a500 Convert tabs to spaces in Python scripts (PEP-8) part 1. 2010-12-22 01:28:00 +01:00
Benjamin Drung
1943df29eb Remove all trailing spaces. 2010-12-03 00:06:43 +01:00
Colin Watson
684e340b54 submittodebian: Encourage sending multiple independent pieces of the
Ubuntu patch in separate bug reports.
2010-12-01 16:51:09 +00:00
Daniel Holbach
a7677ff836 submittodebian: rephrase boilerplate text to be more polite, add reminder
to explain the patch sufficiently and add necessary information.
2010-11-30 11:56:36 +01: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
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
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
Steve Langasek
fe3937b755 Revert the submittodebian change to inline patches. This is a style
choice, the patch length has nothing to do with it; if there's demand for
patch inlining, this should be made a (non-default) option to
submittodebian.
2009-12-27 16:27:32 -08:00
Steve Langasek
405535d3e8 submittodebian: os.system() doesn't throw exceptions, so attempt a
'bzr diff' first and check the return value; otherwise we get no output
at all from submittodebian in the non-bzr case.
2009-12-27 12:58:05 -08:00
Luca Falavigna
47abdefae9 submittodebian: if patch is relatively small (shorter than fifty
lines), display it inline instead of attaching to the report.
2009-12-18 21:33:37 +01:00
Steve Langasek
2fed60d3c4 submittodebian: if the package is in bzr, look for bzr metadata first
before looking for a previous package revision in the parent dir.
2009-12-11 13:46:28 -08:00
Steve Langasek
5343d2348f submittodebian: switch to use lucid as the default distro tag. 2009-12-11 13:28:46 -08:00
Colin Watson
719d62ff14 * submittodebian:
- New release cycle; use "karmic" usertag.
2009-04-27 13:58:54 +01:00
Michael Casadevall
9e1272482c * buildd: Fixed rescore (tested by Sarah Hobbs)
* submittodebian: Changed default tag to Jaunty
* pbuilder-dist: Added jaunty to ubuntu releases
* pull-lp-source: Made jaunty the default
* dch-repeat: Added jaunty
2008-11-09 06:54:51 -05:00
Daniel Hahler
0abc947c90 submittodebian: use "intrepid" for Usertags (LP: #276073) 2008-09-29 22:47:59 +02: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
737d0f8ad4 Released version 0.26 (with only some of the current changes); updated changelog. Other changes. 2008-02-17 23:39:10 +01:00
Soren Hansen
27b04b6237 Handle epochs properly in submittodebian. 2007-12-14 17:50:19 +01:00
Mathias Gug
ee8705dcd8 Add patch tag in submittodebian. 2007-11-23 11:59:48 -05:00
Michael Vogt
d333c56e3e * Enabled support for Bugs/Debian/Usertagging in submittodebian
* debian/control:
  - depend on reportbug (>= 3.39ubuntu1) to have working usertag support
2007-11-20 12:21:17 +01:00