Benjamin Drung
b1bc7e1cdc
Address pylint complaints
...
Signed-off-by: Benjamin Drung <benjamin.drung@canonical.com>
2023-01-30 23:10:31 +01:00
Benjamin Drung
3354b526b5
style: Format Python code with black
...
```
PYTHON_SCRIPTS=$(grep -l -r '^#! */usr/bin/python3$' .)
black -C -l 99 . $PYTHON_SCRIPTS
```
Signed-off-by: Benjamin Drung <benjamin.drung@canonical.com>
2023-01-30 19:45:36 +01:00
Dan Streetman
e3268a62f4
pull-pkg: create pull-[lp|debian|uca]-* scripts
...
for backwards compatibility (i.e. to keep pull-lp-source,
pull-debian-source, and pull-uca-source) and for ease of use,
create scripts that default the pull-pkg -p and -D params
re-create pull-pkg script also, to call ubuntutools/pullpkg.py
without any default pull or distro parameters
2019-11-25 10:10:06 -05:00
Robie Basak
0291ad07b0
pull-debian-source: convert to Python 3
...
This has the (desired) side effect of fixing the guessing of the correct
encoding in dsc files when not UTF-8. Presumably this is because Python
3 has some improvements in that area. Since it's what we want, I see no
need to dig further.
LP: #1700846
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
Benjamin Drung
cc7170eccb
Fix all flake8 issues
2017-05-01 00:20:03 +02:00
Benjamin Drung
c2aa97dba2
Move devscripts.logger to ubuntutools.logger.
2013-03-19 00:18:02 +01:00
Stefano Rivera
0adca3f7a1
Use the same construction as pull-debian-source
2012-10-17 22:15:50 +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
ecc9501387
pull-debian-source: Handle JSON parsing failures in DDE responses
2012-03-28 14:27:37 +02:00
Stefano Rivera
9c20cc13a3
pull-debian-source, pull-lp-source: Resolve the source package (via DDE),
...
if a binary package was requested (LP: #617349 )
2011-12-02 15:22:57 +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
e8b3a18c45
Move suspicious-source and wrap-and-sort from ubuntu-dev-tools into devscripts.
2011-05-23 23:41:00 +02:00
Stefano Rivera
280d8c1172
pull-debian-source: Handle -p-u and -security suites.
2011-03-08 23:31:54 +02:00
Stefano Rivera
fd49a767bb
Correct metavar in pull-debian-source: s/UBUNTU/DEBIAN/
2011-03-08 23:03:18 +02:00
Stefano Rivera
1ce4774db7
Make that 'User abort.'
2011-03-06 01:12:24 +02:00
Stefano Rivera
6e485c2a7b
pull-{lp,debian}-source, pull-debian-debdiff: Catch KeyboardInterrupt.
...
(LP: #713845 )
2011-03-06 01:04:22 +02:00
Stefano Rivera
989aecd253
Canonicalise suites (use code-names) before passing them to rmadison.
2011-03-06 00:48:24 +02:00
Benjamin Drung
36b422605b
Wrap long line.
2011-03-05 22:11:52 +01:00
Stefano Rivera
c8a854cc4a
pull-{lp,debian}-source: Download requested versions, as well as simply
...
the latest version in a release.
2011-03-05 00:48:58 +02:00
Stefano Rivera
8657394219
Catch DownloadErrors in ubuntutools.archive users. (LP: #708862 )
2011-01-31 19:01:10 +02:00
Stefano Rivera
b248387f32
import optparse, without from
2011-01-22 21:21:29 +02:00
Stefano Rivera
eeb8efc0b1
Copyright lines
2011-01-22 21:17:39 +02:00
Stefano Rivera
2c84b5db5b
pull-debian-source: Rewritten in Python to take advantage of the new
...
ubuntutools library functions.
2011-01-22 20:58:52 +02:00
Stefano Rivera
00faea17e2
Remove devscripts checks (we Depend on it). Reword python-simplejson error
2010-12-25 18:31:00 +02:00
Stefano Rivera
18d02c4c39
Make pull-debian-source exit 0 on help, so tests pass again.
2010-12-25 18:05:12 +02:00
Stefano Rivera
3354374972
Actually --no-fallback makes no sense for these scripts, although we probably want it for test-builders
2010-12-24 11:08:55 +02:00
Stefano Rivera
8e27317b65
Rename mirror variables, add Ubuntu
2010-12-24 03:04:42 +02:00
Stefano Rivera
e9b90a8650
Minor tweaks to pull-debian-source
2010-12-24 00:19:27 +02:00
Stefano Rivera
d5c7de285e
Configurable mirror support for pull-debian-source
2010-12-23 23:12:24 +02:00
Stefano Rivera
c4de897e2a
404main, merge-changelog, pull-debian-debdiff, pull-debian-source:
...
Return 0 after showing help.
2010-12-22 16:53:58 +02:00
Benjamin Drung
100ba7d1b5
Remove all trailing tabs.
2010-12-03 00:10:41 +01:00
Michael Bienia
d55ea2647f
pull-debian-source: Fix logical error in abort check (lp: #678072 ).
2010-11-21 14:48:22 +01:00
Marco Rodrigues
af95fac84c
Show message when a package isn't in Debian testing
2010-09-27 22:45:19 +01: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
Iain Lane
acd67abdb5
pull-debian-source: Return the most recent source line.
...
pull-debian-source: Return the most recent source line. Depend on
libapt-pkg-perl for the Debian version comparison required for this.
2009-12-22 22:27:04 +00:00
Michael Bienia
fdb2e2d4d6
doc/requestsync.1: Also update the manpage about the changed default.
...
pull-debian-source: Change default release to pull from to 'testing'
and also update the manpage about it
2009-11-02 19:20:56 +01:00
Nathan Handler
67fec3a81a
pull-debian-source: Modify to work for packages not in main (LP: #379822 )
2009-05-23 20:40:21 +00:00
Nathan Handler
6ed32f4dde
pull-debian-source: use Getopt::Long
2009-04-20 22:35:04 +00:00
Nathan Handler
d940bef5dc
* pull-debian-source:
...
- Add support for etch/oldstable
- Make script work for codenames (etch, lenny, squeeze, sid)
2009-03-28 14:45:11 +00:00
Mitsuya Shibata
e97aef9426
Multiple check 'dget' if there are multiple PATHs
2009-03-15 01:41:38 +09:00
Nathan Handler
1af28e0d64
* pull-debian-source:
...
- Check if 'dget' is available
- Update Copyright/License info
* debian/copyright:
- Update my copyright information
2009-03-04 22:36:57 +00:00
Luca Falavigna
21de3bb377
pull-debian-source: do not fail if package name contains a hypen
2009-01-25 16:39:55 +01:00
Nathan Handler
d91f26495b
Add support for packages with a name beginning with lib
2009-01-02 11:36:39 -06:00
Nathan Handler
bd824b9072
pull-debian-source: Pass -xu arguments to dget to be consistant with pull-lp-source
2009-01-02 10:37:12 -06:00
Nathan Handler
ca4878872c
Allow pull-debian-source to work for packages with an epoch in their version
2008-12-22 10:30:53 -06:00
Nathan Handler
39bf024a2f
* Add pull-debian-source script
...
- debian/control: Add perl-modules and libwww-perl as Depends
- debian/copyright:
+ Add myself to the Upstream Authors and Copyright sections
+ Add pull-debian-source to the License section
- Add doc/pull-debian-source.1
2008-12-20 16:36:35 -06:00