Dan Streetman
3dabf05370
pull-pkg: add debian and ubuntu ddebs mirror urls
2019-11-25 09:57:54 -05:00
Dan Streetman
f4f16f95f7
pull-uca: update UbuntuCloudArchiveSourcePackage
...
look in its PPA for its SPPHs
look up the development (latest) UCA release if not specified
use the 'series' param as the UCA release, instead of 'uca_release' param
2019-11-25 09:57:54 -05:00
Dan Streetman
b96885f05e
ubuntutools/archive: convert external rmadison call to native implementation
...
instead of a function that calls the system program rmadison, use
a fully-functional class to interface with the madison api, as well
as the debian snapshot api
2019-11-25 09:57:54 -05:00
Dan Streetman
f944d3146a
pull-pkg: find src pkg name from binary pkg name
2019-11-25 09:57:54 -05:00
Dan Streetman
9f58f5cb80
pull-pkg: find latest pkg in series in SourcePackage
...
Allow specifying series instead of version, to find the latest
version in that series; or only specify package name, to get the
latest version in the devel series
2019-11-25 09:57:54 -05:00
Dan Streetman
b0c22e1d57
pull-pkg: update archive.py SourcePackage
...
verify it can parse/load DSC when created
throw PackageNotFoundException from lp_spph if can't find package
update test case expected order of url processing
2019-11-25 09:57:54 -05:00
Dan Streetman
506e3db601
pull-pkg: add SourcePackage.pull_binaries() function
2019-11-25 09:57:54 -05:00
Dan Streetman
d3b8d7a1b7
ubuntutools/lp/lpapicache: expand coverage for LP api
2019-11-25 09:57:54 -05:00
Dan Streetman
51231f116c
debian/control: add python3-lazr.restfulclient dep to python3-ubuntutools
2019-11-25 09:57:54 -05:00
Dan Streetman
d0aa64a51b
ubuntutools/misc: define POCKETS and DEFAULT_POCKETS
...
POCKETS is all valid pockets (capitalized), DEFAULT_POCKETS is all in
POCKETS except 'Backports'.
2019-11-25 09:57:54 -05:00
Dan Streetman
b5ae0bdca3
simplify subprocess usage
2019-11-25 09:57:54 -05:00
Mattia Rizzolo
463d1f63a8
requestbackport: Error out nicely when a tracking project doens't exist.
...
LP: #1852901
Signed-off-by: Mattia Rizzolo <mattia@debian.org>
2019-11-21 16:20:02 +01:00
Mattia Rizzolo
c7b2149e1a
Merge branch 'py3debian-changelog' of git+ssh://git.launchpad.net/ubuntu-dev-tools
...
MR: https://code.launchpad.net/~ubuntu-dev/ubuntu-dev-tools/+git/ubuntu-dev-tools/+merge/372620
Signed-off-by: Mattia Rizzolo <mattia@debian.org>
2019-11-11 14:44:04 +01:00
Mattia Rizzolo
8220accbe8
Merge branch 'submittodebian_context_mgr' of git+ssh://git.launchpad.net/~ddstreet/ubuntu-dev-tools/+git/ubuntu-dev-tools
...
MR: https://code.launchpad.net/~ddstreet/ubuntu-dev-tools/+git/ubuntu-dev-tools/+merge/375291
Signed-off-by: Mattia Rizzolo <mattia@debian.org>
2019-11-11 14:27:20 +01:00
Mattia Rizzolo
d3d63d6a59
Merge branch 'pylint_jobs' of git+ssh://git.launchpad.net/~ddstreet/ubuntu-dev-tools/+git/ubuntu-dev-tools
...
MR: https://code.launchpad.net/~ddstreet/ubuntu-dev-tools/+git/ubuntu-dev-tools/+merge/375289
Signed-off-by: Mattia Rizzolo <mattia@debian.org>
2019-11-11 14:25:46 +01:00
Dan Streetman
17cce2602c
submittodebian: use file context manager
2019-11-07 15:10:16 -05:00
Dan Streetman
0931098a2c
tests/pylint.conf: use jobs=0 to speed up tests
2019-11-07 15:03:29 -05:00
Mattia Rizzolo
982ebe6a46
Trust the installed debian-keyring when checking validity of dsc signatures.
2019-10-28 14:35:01 +01:00
Mattia Rizzolo
ba2afc6429
Release 0.174
...
Signed-off-by: Mattia Rizzolo <mattia@debian.org>
0.174
2019-09-26 11:07:46 +02:00
Mattia Rizzolo
21adb8f61f
fix flake8 warning
...
Signed-off-by: Mattia Rizzolo <mattia@debian.org>
2019-09-26 11:05:48 +02:00
Mattia Rizzolo
e083529784
import-bug-from-debian: revert a change from the last merge: keep debianbts an optional dependency
...
Signed-off-by: Mattia Rizzolo <mattia@debian.org>
2019-09-26 10:56:48 +02:00
Mattia Rizzolo
9cd3479218
Merge branch 'import-bug-from-debian' of git+ssh://git.launchpad.net/~ddstreet/ubuntu-dev-tools/+git/ubuntu-dev-tools
...
MR: https://code.launchpad.net/~ddstreet/ubuntu-dev-tools/+git/ubuntu-dev-tools/+merge/372643
Signed-off-by: Mattia Rizzolo <mattia@debian.org>
2019-09-26 10:53:54 +02:00
Mattia Rizzolo
b76201967a
Merge branch 'reverse-depends-fixes' of git+ssh://git.launchpad.net/~ddstreet/ubuntu-dev-tools/+git/ubuntu-dev-tools
...
MR: https://code.launchpad.net/~ddstreet/ubuntu-dev-tools/+git/ubuntu-dev-tools/+merge/372653
Signed-off-by: Mattia Rizzolo <mattia@debian.org>
2019-09-12 14:40:40 +02:00
Mattia Rizzolo
dc6e03d38c
Merge branch 'python3_missed_one' of git+ssh://git.launchpad.net/~ddstreet/ubuntu-dev-tools/+git/ubuntu-dev-tools
...
MR: https://code.launchpad.net/~ddstreet/ubuntu-dev-tools/+git/ubuntu-dev-tools/+merge/372644
Signed-off-by: Mattia Rizzolo <mattia@debian.org>
2019-09-12 14:37:26 +02:00
Mattia Rizzolo
c8602ba8a2
Merge branch 'ubuntutools-misc' of git+ssh://git.launchpad.net/ubuntu-dev-tools
...
MR: https://code.launchpad.net/~ubuntu-dev/ubuntu-dev-tools/+git/ubuntu-dev-tools/+merge/372627
Signed-off-by: Mattia Rizzolo <mattia@debian.org>
2019-09-12 14:34:30 +02:00
Dan Streetman
ec14165262
reverse-depends fixes
...
move from optparse to argparse
fix typo in --recursive-deph param
use list comprehensions to fix/simplify del-during-iteration functions
2019-09-11 18:11:20 -04:00
Dan Streetman
2c998a6fd2
setup.py: convert to py3
2019-09-11 17:18:51 -04:00
Dan Streetman
0d9d78a721
import-bug-from-debian fixes
...
change PEP263 coding value from invalid UTF-8 to valid utf-8
don't try to import debianbts, just import debianbts
migrate to argparge
add --verbose option
actually make --dry-run do a dry run
handle multiple cmdline bug numbers
correctly get the bug summary
2019-09-11 17:02:14 -04:00
Stefano Rivera
e5c90b986c
reverse-depends: Support Reverse-Testsuite-Triggers and Reverse-Build-Depends-Arch (LP: #1843614 )
2019-09-11 16:03:13 -03:00
Stefano Rivera
317b68bc08
Use a context manager for opening files
2019-09-11 13:38:42 -03:00
Stefano Rivera
7a6b779e77
ubuntutools.misc: Replace Popen() calls with check_output()
2019-09-11 13:38:42 -03:00
Stefano Rivera
454737b5bf
Rewrite merge-changelog using python3-debian
2019-09-11 12:14:08 -03:00
Mattia Rizzolo
4438c23a72
Changelog for 0.173
...
Signed-off-by: Mattia Rizzolo <mattia@debian.org>
0.173
2019-09-10 15:35:19 +02:00
Mattia Rizzolo
228c5710e7
Explicitly require Python3 >= 3.6.
...
Signed-off-by: Mattia Rizzolo <mattia@debian.org>
2019-09-10 14:27:42 +02:00
Mattia Rizzolo
2c4fcfc0b9
De-duplicate Depends field
...
Signed-off-by: Mattia Rizzolo <mattia@debian.org>
2019-09-10 14:25:55 +02:00
Mattia Rizzolo
68b41fc82f
Drop workaround for an old pylint bug
...
Signed-off-by: Mattia Rizzolo <mattia@debian.org>
2019-09-10 14:25:35 +02:00
Mattia Rizzolo
434ca8952e
Merge branch 'python3' of git+ssh://git.launchpad.net/ubuntu-dev-tools
...
MR: https://code.launchpad.net/~ubuntu-dev/ubuntu-dev-tools/+git/ubuntu-dev-tools/+merge/372305
Signed-off-by: Mattia Rizzolo <mattia@debian.org>
2019-09-10 14:19:07 +02:00
Mattia Rizzolo
19ba351f57
update changelog
...
Signed-off-by: Mattia Rizzolo <mattia@debian.org>
2019-09-10 10:57:57 +02:00
Dan Streetman
72a3420944
make ubuntu-dev-tools require matching version of python-ubuntutools
...
without specific version matching, a simple 'apt install ubuntu-dev-tools'
on a system with an older version of ubuntu-dev-tools and deps will leave
the older python-ubuntutools installed, which may not work with the updated
ubuntu-dev-tools code.
2019-09-09 14:55:16 -04:00
Dan Streetman
a7d166b52f
pull-pkg: use ubuntutools/version/Version
...
instead of debian.debian_support.Version, use ubuntutools version,
which extends it and adds the strip_epoch() function which is
needed to convert full version string to version used in filenames
2019-09-09 12:25:21 -04:00
Stefano Rivera
06642ef9f7
Remove some more u'' strings
2019-09-05 16:10:26 -03:00
Stefano Rivera
38632a190e
We depend on python3-debian
2019-09-05 09:50:09 -03:00
Stefano Rivera
7b2f1a713b
Remove more Python 2 fallback imports
2019-09-05 09:49:41 -03:00
Stefano Rivera
8bdf4f839a
requestbackport: In python3, Entry isn't hashable
2019-09-04 19:32:59 -03:00
Stefano Rivera
301569e809
Pull out Python 2 support hacks
2019-09-04 19:24:44 -03:00
Stefano Rivera
bb765237db
Port Python scripts to Python 3, remove python 2 modules. ( Closes : #938740 , LP: #1099537 )
2019-09-04 19:24:44 -03:00
Stefano Rivera
3d345113cc
Use python3-debian's Version class in merge-changelog, to support Python 3.
2019-09-04 19:24:44 -03:00
Stefano Rivera
66afe7c6fc
Port import-bug-from-debian to Python 3
...
Use python3-debianbts for BTS wrangling, rather than SOAPPy, which
wasn't ported to Python 3.
2019-09-04 19:24:44 -03:00
Stefano Rivera
d681c7dc89
Unused exception variables
2019-09-04 19:24:44 -03:00
Stefano Rivera
5f3247cfc0
Port update-maintainer to Python 3
2019-09-04 19:24:44 -03:00