3
0
mirror of https://git.launchpad.net/ubuntu-dev-tools synced 2025-03-13 16:11:15 +00:00

648 Commits

Author SHA1 Message Date
Robie Basak
a761ccfc72 Fix rmadison parsing for Python 3
In Python 3, it matters that the output of rmadison must be decoded
before it can be parsed.
2017-06-30 15:47:29 +01:00
Robie Basak
4c66fba4d9 pull-debian-source: --no-verify-signature option
Using pull-debian-source fails on some very old packages such as on
texinfo 4.8.dfsg.1-4. I have hand-verified that the signature is good
(though with no trust path), so presumably this is because the signature
has rotated out of debian-keyring.

Add a --no-verify-signature option so that developers can still make use
of the find-and-download functionality of this tool, albeit without
signture verification.
2017-06-30 15:47:29 +01:00
Iain Lane
798a36c2d8 subprocess: Use getfullargspec on python3 2017-06-13 10:13:25 +01:00
Iain Lane
0a3738cfbc Fix some 2/3 differences and run pylint with confidence=HIGH
Too many false positives otherwise.
2017-05-30 11:22:49 +01:00
Iain Lane
179f45ca9c Add some more ignores for pylint
It doesn't work very well with apt_pkg.
2017-05-30 10:27:22 +01:00
Benjamin Drung
18ae4d8a39 Add flake8 check to test suite 2017-05-01 00:20:17 +02:00
Benjamin Drung
cc7170eccb Fix all flake8 issues 2017-05-01 00:20:03 +02:00
Benjamin Drung
3a6cd3ac66 Fix pylint3 error (for Python 2 support code) 2017-04-30 23:49:18 +02:00
Benjamin Drung
67c353d91b Raise maximum line length to 99 2017-04-30 22:31:09 +02:00
Benjamin Drung
ba16daf56f Repair pylint test case
The --include-ids parameter was dropped from pylint and thus the command
failed as was skipped. Repair the pylint check and add support for
Python 3.
2017-04-30 22:29:41 +02:00
Ursula Junque (Ursinha)
6fea8fb542 Fix behavior of getBinaryPackage in lpapicache
It was using the same parameters to get Source and Binary packages build
history, but source packages need a distro series, and binary packages
need distro arch series, as the results are arch dependent.

Signed-off-by: Mattia Rizzolo <mattia@debian.org>
2017-04-30 20:02:06 +02:00
Unit 193
f67601cb0c mk-sbuild, pull-debian-{debdiff,source}: Switch from httpredir.debian.org to deb.debian.org as the default mirror for Debian
Signed-off-by: Mattia Rizzolo <mattia@debian.org>
2017-04-30 18:44:04 +02:00
Iain Lane
a6043a6ba8 Remove the `harvest' command, and all other integration with the Harvest service, since it has been shut down. 2017-04-03 13:58:02 +02:00
Dan Streetman
03fda64eae pull-uca-source: update to allow using binary pkg names, -pockets, and specific versions 2017-02-03 10:21:37 -05:00
Scott Moser
12c86a8fda ubuntutools/archive.py/rmadison: return results for sid if asked about unstable
Some versions of rmadison return results with 'unstable' when asked about sid.
Others return 'sid'.  This makes a query of 'unstable' return results
for sid.

End result is fixing 'pull-debian-source hello' on wily.
2015-10-22 10:00:21 -04:00
Mike Miller
8ac2c33059 mk-sbuild, pull-debian-{debdiff,source}: Use httpredir.debian.org as the
default mirror for Debian.
2015-08-22 11:51:04 -04:00
Adam Conrad
f0d22226a9 Allow requestsync/syncpackage to work with either codename or alias 2015-06-14 13:50:28 -06:00
Dimitri John Ledkov
99eb51b4e1 Fix test_config to skip Unicode environment variable test, when python
interpreter is not running in an unicode capable locale.
2015-01-19 15:21:00 +00:00
Dimitri John Ledkov
8ae64c16e2 Disable test_dsc_badsig, when no networking is available. 2014-12-18 23:35:00 +00:00
Dimitri John Ledkov
866adfd768 Actually, now that more things expect streaming bytes over the wire
the mirror tests don't stall anymore. Also use a codec.reader to slurp
up unicode bytes for json.load.
2014-12-18 23:18:00 +00:00
Dimitri John Ledkov
5da114b070 More consistent binary handling throughout.
Don't mock open(..., "b") with str / StringIO.
Silence source package pull, buffered/mocked output does not flush.
Disable mirror tests on python3, stall/hang.
2014-12-18 23:03:23 +00:00
Dimitri John Ledkov
ed0cd2c1b5 file is gone in python3 2014-12-18 22:05:55 +00:00
Dimitri John Ledkov
412afabc1c Fix maintainer 2014-12-18 21:54:52 +00:00
Dimitri John Ledkov
1bab644191 Conf fixes 2014-12-18 21:53:00 +00:00
Dimitri John Ledkov
ddabeed530 Fix ups 2014-12-18 21:34:13 +00:00
Dimitri John Ledkov
d86cacddf9 finish no-regress pre-port. 2014-12-18 21:18:01 +00:00
Dimitri John Ledkov
b8cf7b113e logger 2014-12-18 21:11:00 +00:00
Dimitri John Ledkov
dae4c18c9e update_maintainer 2014-12-18 21:09:44 +00:00
Dimitri John Ledkov
a7f4fc202b fix test_config 2014-12-18 21:06:44 +00:00
Dimitri John Ledkov
8b5db046be t/t_config 2014-12-18 21:03:27 +00:00
Dimitri John Ledkov
509b612b0f fix sp/sp 2014-12-18 21:03:05 +00:00
Dimitri John Ledkov
e959384f02 update_maintainer 2014-12-18 20:57:17 +00:00
Dimitri John Ledkov
8c6371a416 sp/sp 2014-12-18 20:56:13 +00:00
Dimitri John Ledkov
c8ec463f7a sp/source_package 2014-12-18 20:54:00 +00:00
Dimitri John Ledkov
57ea2cc410 question 2014-12-18 20:52:51 +00:00
Dimitri John Ledkov
194d23e878 patch 2014-12-18 20:52:17 +00:00
Dimitri John Ledkov
e20d125709 bugtask 2014-12-18 20:51:24 +00:00
Dimitri John Ledkov
3f512ee337 rs/mail 2014-12-18 20:48:28 +00:00
Dimitri John Ledkov
1d2f7f6d0d rs/lp 2014-12-18 20:45:58 +00:00
Dimitri John Ledkov
ea74634e93 questions 2014-12-18 20:44:02 +00:00
Dimitri John Ledkov
1558b91dde misc.py 2014-12-18 20:34:04 +00:00
Dimitri John Ledkov
1bbedd4ddd lpapicache 2014-12-18 20:28:48 +00:00
Dimitri John Ledkov
0c211c1bc7 lp/libsupport.py 2014-12-16 02:54:30 +00:00
Dimitri John Ledkov
65ab539516 harvest.py 2014-12-16 02:48:52 +00:00
Dimitri John Ledkov
a7dedd9296 archive.py 2014-12-16 02:38:52 +00:00
Dimitri John Ledkov
d4f6ef320e remains of mox 2014-12-16 01:44:13 +00:00
Dimitri John Ledkov
88e3d1d6ba Port http_mock to mock. 2014-12-15 04:24:41 +00:00
Dimitri John Ledkov
522030be12 don't keep unused mocks 2014-12-15 03:47:59 +00:00
Dimitri John Ledkov
72487d0477 Stubout 2014-12-15 03:42:49 +00:00
Dimitri John Ledkov
7d70b6b3a3 Dropping mox 2014-12-15 03:25:41 +00:00