Dan Streetman
7dd913fe16
Add a new changelog entry
2025-05-06 13:29:29 -04:00
Dan Streetman
bcf3e153f7
Fix pulling from upload queue
...
Commit 4a4c4e0a27cfd159ac0bbc135d4eff06be8bde1c completely broke
pull-lp-source --upload-queue, which now fails with:
Traceback (most recent call last):
File "/usr/bin/pull-lp-source", line 14, in <module>
PullPkg.main(distro="ubuntu", pull="source")
~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/ubuntutools/pullpkg.py", line 111, in main
cls(*args, **kwargs).pull()
~~~~~~~~~~~~~~~~~~~~~~~~~^^
File "/usr/lib/python3/dist-packages/ubuntutools/pullpkg.py", line 438, in pull
self.pull_upload_queue( # pylint: disable=missing-kwoa
~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
pull, arch=options["arch"], download_only=options["download_only"], **params
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
Fixes LP: #2110061
2025-05-06 13:21:52 -04:00
Simon Quigley
466e2784de
Upload to Unstable
2025-03-04 13:43:32 -06:00
Simon Quigley
ba3f0511f9
syncpackage: Catch exceptions cleanly, simply skipping to the next package (erring on the side of caution) if there is an error doing the download (LP: #1943286 ).
2025-03-04 13:42:50 -06:00
Simon Quigley
2e550ceff2
syncpackage: Cache the sync blocklist in-memory, so it's not fetched multiple times when syncing more than one package.
2025-03-04 13:39:07 -06:00
Simon Quigley
6c8a5d74bd
syncpackage: s/syncblacklist/syncblocklist/g
2025-03-04 13:29:02 -06:00
Simon Quigley
3d11516599
mk-sbuild: default to using UTC for schroots (LP: #2097159 ).
2025-03-04 13:22:40 -06:00
Simon Quigley
5a20308ab1
Read ~/.devscripts in a more robust way, to ideally pick up multi-line variables ( Closes : #725418 ).
2025-03-04 13:17:30 -06:00
Simon Quigley
b551877651
Add a changelog entry
2025-03-04 13:10:04 -06:00
ferbraher
4a4c4e0a27
Parsing arch parameter to getBinaryPackage()
2025-03-04 13:08:59 -06:00
Simon Quigley
865c1c97bc
Add a changelog entry
2025-03-04 13:07:42 -06:00
Shengjing Zhu
d09718e976
import-bug-from-debian: package option is overridden and not used
2025-03-04 13:07:11 -06:00
Simon Quigley
bff7baecc9
Add a changelog entry
2025-03-04 13:06:38 -06:00
Dan Bungert
45fbbb5bd1
mk-sbuild: enable pkgmaintainermangler
...
mk-sbuild installs pkgbinarymangler into the schroot. Of of the
provided tools in pkgbinarymangler is pkgmaintainermangler.
pkgmaintainermangler is disabled by default, and enabled with
configuration.
A difference between launchpad builds of a synced package and an sbuild
is that the maintainer information will be different.
Enable pkgmaintainermangler to close this difference.
2025-03-04 13:05:57 -06:00
Simon Quigley
ca217c035e
Add a new changelog entry
2025-03-04 13:04:49 -06:00
Simon Quigley
b5e117788b
Upload to Unstable
2025-03-01 11:30:18 -06:00
Simon Quigley
ddba2d1e98
Update Standards-Version to 4.7.2, no changes needed.
2025-03-01 11:29:53 -06:00
Simon Quigley
02d65a5804
[syncpackage] Do not use exit(1) on an error or exception unless it applies to all packages, instead return None so we can continue to the next package.
2025-03-01 11:26:59 -06:00
Simon Quigley
bda85fa6a8
[syncpackage] Add support for -y or --yes, noted that it should be used with care.
2025-03-01 11:22:52 -06:00
Simon Quigley
86a83bf74d
[syncpackage] Within fetch_source_pkg, do not exit(1) on an error or exception, simply return None so we can continue to the next package.
2025-03-01 11:17:02 -06:00
Simon Quigley
162e758671
[syncpackage] When syncing multiple packages, if one of the packages is in the sync blocklist, do not exit, simply continue.
2025-03-01 11:12:49 -06:00
Simon Quigley
049425adb7
Add debian/files to .gitignore
2025-03-01 11:11:34 -06:00
Simon Quigley
f6ca6cad92
Add a new changelog entry
2025-03-01 11:11:17 -06:00
Simon Quigley
3dc17934d6
Upload to Unstable
2025-02-24 19:55:03 -06:00
Simon Quigley
10a176567a
Remove mail line from default ~/.sbuildrc, to resolve the undeclared dependency on sendmail ( Closes : #1074632 ).
2025-02-24 19:52:59 -06:00
Simon Quigley
86b366c6c5
Add a large warning at the top of mk-sbuild encouraging the use of the unshare backend. This is to provide ample warning to users.
2025-02-24 19:15:55 -06:00
Simon Quigley
50b580b30e
Add a manpage for running-autopkgtests.
2025-02-24 18:51:12 -06:00
Simon Quigley
6ba0641f63
Rename bitesize to lp-bitesize ( Closes : #1076224 ).
2025-02-24 18:51:10 -06:00
Simon Quigley
1e815db9d2
Add my name to the copyright file.
2025-02-24 18:35:20 -06:00
Simon Quigley
e2f43318bd
Add several Lintian overrides related to .pyc files.
2025-02-24 18:34:18 -06:00
Julien Plissonneau Duquène
cdd81232d9
Fix reverse-depends -b crash on packages that b-d on themselves ( Closes : #1087760 ).
2025-02-24 18:31:33 -06:00
Simon Quigley
65044d84d9
Update Standards-Version to 4.7.1, no changes needed.
2025-02-24 18:26:59 -06:00
Mattia Rizzolo
19e40b49c2
Fix minor typo in pbuilder-dist(1)
...
LP: #2096956
Thanks: Rolf Leggewie for the patch
Signed-off-by: Mattia Rizzolo <mattia@debian.org>
2025-01-30 07:52:22 +01:00
Benjamin Drung
55eb521461
Release 0.203
2024-11-02 18:20:32 +01:00
Benjamin Drung
983bb3b70e
Depend on python3-yaml for pm-helper
2024-11-02 18:09:16 +01:00
Benjamin Drung
85f2e46f7d
conform to snake_case naming style
2024-11-02 18:07:23 +01:00
Benjamin Drung
649c3db767
ubuntu-build: fix used-before-assignment
...
```
ubuntu-build:244:40: E0601: Using variable 'necessary_privs' before assignment (used-before-assignment)
```
2024-11-02 17:56:47 +01:00
Benjamin Drung
e7ba650414
Avoid unnecessary "elif" after "continue"
...
Address pylint's no-else-continue.
2024-11-02 17:55:33 +01:00
Benjamin Drung
3bc802a209
Use lazy % formatting in logging functions
2024-11-02 17:55:20 +01:00
Benjamin Drung
92c80d7bb7
ubuntu-build: remove unused code/imports
2024-11-02 17:54:06 +01:00
Benjamin Drung
d7362d9ed8
Use Python f-strings
...
```
flynt -ll 99 -tc -tj -a pbuilder-dist pm-helper running-autopkgtests ubuntu-build ubuntutools
```
2024-11-02 17:49:20 +01:00
Benjamin Drung
c7a855ff20
Format code with black and isort
...
```
isort pbuilder-dist pm-helper running-autopkgtests ubuntu-build ubuntutools
black -C pbuilder-dist pm-helper running-autopkgtests ubuntu-build ubuntutools
```
2024-11-02 17:21:30 +01:00
Benjamin Drung
017941ad70
setup.py: add pm-helper
2024-11-02 16:41:44 +01:00
Benjamin Drung
69914f861e
add missing files to debian/copyright
2024-11-02 16:35:31 +01:00
Benjamin Drung
454f1e30c8
Bump year in copyright
2024-11-02 15:57:19 +01:00
Benjamin Drung
55bc403a95
Bump Standards-Version to 4.7.0
2024-11-02 15:56:01 +01:00
Benjamin Drung
c9339aeae4
import-bug-from-debian: add type hints
2024-11-02 15:34:59 +01:00
Benjamin Drung
c205ee0381
import-bug-from-debian: avoid type change of bug_num
...
The variable `bug_num` has the type `str`. Do not reuse the name for
type `int` to ease mypy.
2024-11-02 15:33:15 +01:00
Benjamin Drung
7577e10f13
import-bug-from-debian: reuse message variable
...
`log[0]["message"]` was already queried.
2024-11-02 15:32:19 +01:00
Florent 'Skia' Jacquet
e328dc05c2
import-bug-from-debian: split big main function into smaller ones
...
This allows better understanding of the various parts of the code, by
naming important parts and defining boundaries on the used variables.
2024-11-02 15:08:09 +01:00
Florent 'Skia' Jacquet
9a94c9dea1
import-bug-from-debian: handle multipart messages
...
With multipart messages, like #1073996 , `import-bug-from-debian` would
produce bug description with this:
```
[<email.message.Message object at 0x7fbe14096fa0>, <email.message.Message object at 0x7fbe15143820>]
```
For that kind of bug, it now produces a correct description with the
plain text parts concatenated in the description, the attachments added
as attachments, and the inline images converted to attachments with an
inline message placeholder.
See #981577 for a particularly weird case now gracefully handled.
If something weirder happens, then the tool will now abort with a clear
message instead of producing garbage.
Closes : #969510
2024-11-02 14:57:01 +01:00
Florent 'Skia' Jacquet
47ab7b608b
Add gitignore
2024-10-30 17:31:54 +01:00
Steve Langasek
56044d8eac
Recommend sbuild over pbuilder. sbuild is the tool recommended by Ubuntu developers whose behavior most closely approximates Launchpad builds.
2024-05-26 13:04:55 -07:00
Steve Langasek
c523b4cfc4
open new version
2024-05-26 13:01:23 -07:00
Steve Langasek
3df40f6392
Handle exceptions on retry
...
The "can be retried" value from launchpad may have been cached. Avoid an
exception when we race someone else retrying a build.
2024-05-26 12:57:14 -07:00
Simon Quigley
6ebffe3f4a
Consolidate Ubuntu changelog entries, upload to Unstable
2024-04-12 23:35:08 -05:00
Chris Peterson
f01234e8a5
update debian/copyright
...
- Correctly add ISC licenses to new files in ubuntutools/tests/*
as specified in debian/copyright
- Add GPL-3 licenses and correct attribution for:
- running-autopkgtests
- ubuntutools/running_autopkgtests.py
2024-03-13 09:21:30 -07:00
Chris Peterson
43891eda88
depends: python3-launchpadlib-desktop
...
Replace the dependency on python3-launchpadlib with
python3-launchpadlib-desktop. This package is the same as python3-launchpadlib
except that it also includes python3-keyring, which is a requirement for
some of the desktop-centric code-paths. In the case, requestsync has a
path for logging in via a web browser which also requires python3-keyring
to be installed. This had caused a ModuleNotFoundError when
python3-launchpadlib dropped python3-keyring from Recommends to Suggests
(LP: #2049217 ).
2024-03-13 09:17:49 -07:00
Steve Langasek
132866e2ba
releasing package ubuntu-dev-tools version 0.201ubuntu2
2024-03-12 17:03:58 -07:00
Steve Langasek
a0fcac7777
changelog update
2024-03-12 17:03:41 -07:00
Steve Langasek
490895075d
Merge latest Ubuntu upload
2024-03-12 17:01:59 -07:00
Chris Peterson
5186e76d8d
Import Debian version 0.201ubuntu1
...
ubuntu-dev-tools (0.201ubuntu1) noble; urgency=medium
.
* Replace Depends on python3-launchpadlib with Depends on
python3-launchpadlib-desktop (LP: #2049217 )
2024-03-12 17:01:19 -07:00
Steve Langasek
bf46f7fbc1
Fix license statement in manpage
2024-03-12 12:09:19 -07:00
Steve Langasek
881602c4b9
Update ubuntu-build manpage to match current options
2024-03-12 12:08:58 -07:00
Steve Langasek
c869d07f75
ubuntu-build: don't retry builds Launchpad tells us can't be retried
2024-03-12 11:52:32 -07:00
Gianfranco Costamagna
59041af613
update changelog
2024-03-12 10:39:36 +01:00
Gianfranco Costamagna
0ec53180f2
Merge remote-tracking branch 'vorlon/ubuntu-build-revamp'
2024-03-12 10:36:13 +01:00
Steve Langasek
c92fa6502f
ubuntu-build: Handling of proposed vs release pocket default for ppas
2024-03-10 21:43:06 -07:00
Steve Langasek
07d3158ade
Don't do expensive check of group membership on rescore, just handle exceptions
...
This could do with some further refactoring, but will probably postpone that
until a decision is made about dropping the non-batch mode
2024-03-10 16:51:15 -07:00
Steve Langasek
d5faa9b133
Proper handling of getDevelopmentSeries()
2024-03-10 15:48:16 -07:00
Steve Langasek
9e710a3d66
Always use exact match when looking for source packages by name
2024-03-10 15:46:22 -07:00
Steve Langasek
010af53d7c
Add a -A archive option to act on ppas as well.
...
This results in a major refactor of the code to use launchpadlib directly
instead of the ubuntutools.lp.lpapicache module in ubuntu-dev-tools which is
idiosyncratic and does not expose the full launchpad API. Easier to rewrite
to use the standard library.
2024-03-10 14:35:47 -07:00
Steve Langasek
0bef4d7352
ubuntu-build: fix licensing.
...
Canonical licensing policy has never been GPLv3+, only GPLv3.
2024-03-10 13:36:30 -07:00
Steve Langasek
688202a7cf
ubuntu-build: update copyright
2024-03-10 13:35:56 -07:00
Steve Langasek
691c1381db
ubuntu-build: support retrying builds in other states that failed-to-build
2024-03-10 01:45:20 -08:00
Steve Langasek
f01502bda2
ubuntu-build: make the --arch option top-level
...
This gets rid of the fugly --arch2 option
2024-03-08 18:53:20 -08:00
Steve Langasek
42f8e5c0d2
ubuntu-build: in batch mode, print a count of packages retried
2024-03-08 18:38:59 -08:00
Steve Langasek
bb8a9f7394
ubuntu-build: support --batch with no package names to retry all
2024-03-08 16:43:30 -08:00
Gianfranco Costamagna
a058c716b9
Upload to sid
2024-02-29 22:49:37 +01:00
Chris Peterson
e64fe7e212
Update Changelog
2024-02-29 13:08:13 -08:00
Chris Peterson
f07d3df40c
running-autopkgtests: make running-autopkgtests available
...
Previously running-autopkgtests was added to the source but
wasn't correctly added to the scripts in setup.py, so it wasn't
actually available in the installed package. This also adds the
script to the package description.
2024-02-29 13:06:12 -08:00
Gianfranco Costamagna
f73f2c1df1
Upload to sid
2024-02-15 18:09:28 +01:00
Gianfranco Costamagna
268d082226
Update changelog
2024-02-15 18:06:49 +01:00
Athos Ribeiro
6bc59d789e
Log syncpackage LP auth errors before halting
2024-02-15 18:06:38 +01:00
Logan Rosen
9a4cc312f4
Don't rely on debootstrap for validating Ubuntu distro
2024-02-15 17:51:35 +01:00
Ying-Chun Liu (PaulLiu)
ffc787b454
Drop qemu-debootstrap
...
qemu-debootstrap is deprecated for a while. In newer qemu release
the command is totally removed. We can use debootstrap directly.
Signed-off-by: Ying-Chun Liu (PaulLiu) <paulliu@debian.org>
2024-02-15 17:49:59 +01:00
Chris Peterson
bce1ef88c5
running-autopkgtests: use f-strings
2024-02-14 15:19:48 -08:00
Chris Peterson
a9eb902b83
running-autopkgtests: Changelog entry, ArgumentParser, refactor, tests
...
Created a new changelog entry to include addition of the running-autopkgtests
script. This includes a refactor of the original script resulting in a new
module in ubuntutools, test cases, and the addition an argument parser to
allow printing just the queued tests, just the running tests, or both
(default).
2024-02-14 15:19:43 -08:00
Chris Peterson
cb7464cf61
Add running-autopkgtests script
...
This script will print out all of the running and queued autokpgtests.
Originally this was a script titled lp-test-isrunning
from lp:~ubuntu-server/+git/ubuntu-helpers.
2024-02-14 14:55:33 -08:00
Simon Quigley
19f1df1054
Upload to Unstable
2024-01-29 10:03:47 -06:00
Simon Quigley
7f64dde12c
Add a changelog entry for Steve
2024-01-29 10:03:19 -06:00
Simon Quigley
c2539c6787
Add a changelog entry for adding myself to Uploaders.
2024-01-29 09:59:30 -06:00
Simon Quigley
fd885ec239
Merge remote-tracking branch 'vorlon/pm-helper'
2024-01-29 09:57:52 -06:00
Simon Quigley
abbc56e185
Add my name to Uploaders.
...
To be fair, the last four uploads should have started with "Team upload." Whoops.
2024-01-10 20:21:06 -06:00
Simon Quigley
a2176110f0
Upload to Unstable.
2024-01-10 20:04:15 -06:00
Simon Quigley
a5185e4612
Add proper support for virtual packages in check-mir, basing the determination solely off of binary packages. This is not expected to be a typical case.
2024-01-10 20:03:44 -06:00
Simon Quigley
e90ceaf26b
In check-mir, ignore debhelper-compat when checking the build dependencies. This is expected to be a build dependency of all packages, so warning about it in any way is surely a red herring.
2024-01-10 19:56:06 -06:00
Simon Quigley
47fd5d7cca
Upload to Unstable.
2023-10-03 14:01:44 -05:00
Simon Quigley
2f396fe549
When using pull-*-source to grab a package which already has a defined Vcs- field, display the exact same warning message apt source
does.
2023-10-03 14:01:19 -05:00
Gianfranco Costamagna
5bda35f6b4
Update also syncpackage help
2023-08-25 20:04:12 +02:00
Simon Quigley
db916653cd
Update the manpage for syncpackage to reflect the ability to sync multiple packages at once.
2023-08-10 14:39:01 -05:00
Simon Quigley
784e7814e9
Allow the user to sync multiple packages at one time (LP: #1756748 ).
2023-08-04 14:38:46 -05:00
Simon Quigley
bed2dc470d
Add support for the non-free-firmware components in all tools already referencing non-free.
2023-07-26 13:04:12 -05:00
Gianfranco Costamagna
414bc76b50
Upload to Debian
2023-07-08 08:43:09 +02:00
Gianfranco Costamagna
6f0caf1fc0
ubuntu-build: For some reasons, now you need to be authenticated before trying to use the "PersonTeam" class features.
...
Do it at the begin instead of replicating the same code inside the tool itself.
This fixes e.g. this failure:
./ubuntu-build --batch --retry morsmall
Traceback (most recent call last):
File "/tmp/ubuntu-dev-tools/ubuntu-build", line 317, in <module>
main()
File "/tmp/ubuntu-dev-tools/ubuntu-build", line 289, in main
can_retry = args.retry and me.canUploadPackage(
AttributeError: 'NoneType' object has no attribute 'canUploadPackage'
2023-07-07 19:23:41 +02:00
Robie Basak
4bcc55372a
Changelog for 0.193ubuntu5
2023-07-06 11:28:21 +01:00
Robie Basak
232a73de31
ubuntutools/misc: swap iter_content for raw stream
...
This is a partial revert of 1e20363.
When downloading a .diff.gz source package file, we do expect it to be
written to disk still compressed. If we were to uncompress it, then we
would get a size mismatch and even if we were to ignore that, we'd get a
hash mismatch.
On the other hand when downloading a changes file we need to make sure
that is written to disk uncompressed.
To make this work in both cases we can ask the HTTP server for no
special content encoding using "Accept-Encoding: identity". This is what
wget requests, for example. Then we can write the output to the file
without performing any decoding at our end by using the raw response
object again.
This fixes both cases.
LP: #2025748
2023-07-06 11:28:21 +01:00
Steve Langasek
9aab0135a2
Add an initial manpage for pm-helper
2023-06-14 17:01:36 -07:00
Steve Langasek
23539f28b1
Update license header
2023-06-14 16:52:56 -07:00
Steve Langasek
4a09d23db6
There is no dry-run mode
2023-06-14 16:29:43 -07:00
Steve Langasek
534cd254f4
typo update-excuses->update-excuse
2023-06-14 15:14:14 -07:00
Steve Langasek
29c3fa98bc
Use a context manager for lzma
2023-06-14 15:13:46 -07:00
Steve Langasek
7c9c7f2890
Sensible behavior when called for a non-existent package name
2023-06-14 15:12:57 -07:00
Steve Langasek
739279da3f
More pythonic function name (thanks, Bryce)
2023-06-14 14:51:15 -07:00
Steve Langasek
7c11832ee0
Sensible behavior when a requested package isn't in -proposed.
2023-06-14 14:01:53 -07:00
Steve Langasek
f5512846d6
Code refactor; thanks, Bryce
2023-06-14 13:59:25 -07:00
Steve Langasek
9e0dff4461
move from OptionParser to ArgumentParser
2023-06-14 13:57:14 -07:00
Steve Langasek
7129e6e27a
Fix imports
2023-06-13 13:57:47 -07:00
Steve Langasek
79d30a9bfc
Add dependency on dateutil
2023-06-13 13:52:18 -07:00
Steve Langasek
2c6a8b5451
Initial implementation of pm-helper
...
This is a tool for making it easier to identify the next thing to work on
for proposed-migration.
2023-06-13 13:48:28 -07:00
Steve Langasek
ad014685ea
Import utils.py from ubuntu-archive-tools
2023-06-13 13:47:15 -07:00
Steve Langasek
ff1c95e2c0
Remove references to architectures not supported in any active Ubuntu release.
2023-05-30 21:05:56 -07:00
Steve Langasek
89e788bf48
Remove references to deprecated http://people.canonical.com/~ubuntu-archive .
2023-05-30 19:37:11 -07:00
Steve Langasek
a000e9db5e
releasing package ubuntu-dev-tools version 0.193ubuntu4
2023-05-30 10:02:47 -07:00
Steve Langasek
83158d24d9
Merge staged changes
2023-05-30 10:00:57 -07:00
Steve Langasek
6e6e1f1e1a
Excise all references to cdbs (including in test cases)
2023-05-30 10:00:17 -07:00
Steve Langasek
c7a7767339
Fix a typo introduced in the last upload that made mk-sbuild fail unconditionally. LP: #2017177 .
2023-05-30 09:55:06 -07:00
Steve Langasek
ac2f980e0f
Remove references to ftpmaster.internal. When this name is resolvable but firewalled, syncpackage hangs; and these are tools for developers, not for running in an automated context in the DCs where ftpmaster.internal is reachable.
2023-04-12 17:59:40 -07:00
Steve Langasek
ccab82e054
releasing package ubuntu-dev-tools version 0.193ubuntu1
2023-04-12 09:45:23 -07:00
Steve Langasek
2e4e8b35b2
Merge branch 'mk-sbuild-not-automatic'
2023-04-12 09:45:15 -07:00
Steve Langasek
53fcd577e8
We no longer need to run sed
2023-04-12 09:41:52 -07:00
Steve Langasek
8430d445d8
Align with the Launchpad buildd implementation, per review comments
2023-04-12 09:28:41 -07:00
Benjamin Drung
c8a757eb07
Format Python code with black 23.1
...
Signed-off-by: Benjamin Drung <benjamin.drung@canonical.com>
2023-04-04 12:11:36 +02:00
Nathan Rennie-Waldock
66a2773c1c
backportpackage: Fix incorrectly reporting unknown distribution for Ubuntu
...
Fix incorrectly reporting unknown distribution for Ubuntu after commit
7fc6788b35d32aeb96c7cf81303853d4f31028d1 ("backportpackage: fix
automatic selection of the target release").
LP: #2013237
Signed-off-by: Nathan Rennie-Waldock <nathan.renniewaldock@gmail.com>
2023-04-04 11:50:41 +02:00
Stefano Rivera
17d2770451
Upload to unstable
2023-02-25 13:20:04 -04:00
Stefano Rivera
3136541ca6
Don't run linters at build time, or in autopkgtests. ( Closes : #1031436 ).
2023-02-25 12:52:39 -04:00
Benjamin Drung
f3a0182e1a
Release ubuntu-dev-tools 0.192
...
Signed-off-by: Benjamin Drung <benjamin.drung@canonical.com>
2023-02-01 12:45:31 +01:00
Benjamin Drung
6498a13f18
Drop unneeded X-Python3-Version from d/control
...
lintain says: "Your sources request a specific set of Python versions
via the control field X-Python3-Version but all declared autopkgtests
exercise all supported Python versions by using the command py3versions
--supported."
Signed-off-by: Benjamin Drung <benjamin.drung@canonical.com>
2023-02-01 12:43:00 +01:00
Benjamin Drung
d2debf9ed9
Update year in debian/copyright
...
Signed-off-by: Benjamin Drung <benjamin.drung@canonical.com>
2023-02-01 12:40:33 +01:00
Benjamin Drung
a11cb1f630
Bump Standards-Version to 4.6.2
...
Signed-off-by: Benjamin Drung <benjamin.drung@canonical.com>
2023-02-01 12:39:50 +01:00
Benjamin Drung
34578e6a1e
Enable more pylint checks
...
Signed-off-by: Benjamin Drung <benjamin.drung@canonical.com>
2023-02-01 12:07:19 +01:00
Benjamin Drung
21784052ba
test: Fix deprecated return value for test case
...
```
ubuntutools/test/test_archive.py::LocalSourcePackageTestCase::test_pull
/usr/lib/python3.11/unittest/case.py:678: DeprecationWarning: It is deprecated to return a value that is not None from a test case (<bound method LocalSourcePackageTestCase.test_pull of <ubuntutools.test.test_archive.LocalSourcePackageTestCase testMethod=test_pull>>)
return self.run(*args, **kwds)
```
`test_pull` does not need to be run directly. Make it private.
Signed-off-by: Benjamin Drung <benjamin.drung@canonical.com>
2023-01-31 17:39:12 +01:00
Benjamin Drung
aa556af89d
Use f-strings
...
pylint complains about C0209: Formatting a regular string which could be
a f-string (consider-using-f-string)
Signed-off-by: Benjamin Drung <benjamin.drung@canonical.com>
2023-01-31 19:32:58 +01:00
Benjamin Drung
069a6926c0
Implement conventions found by pylint
...
Signed-off-by: Benjamin Drung <benjamin.drung@canonical.com>
2023-01-31 17:28:33 +01:00
Benjamin Drung
444b319c12
Implement refactorings found by pylint
...
Signed-off-by: Benjamin Drung <benjamin.drung@canonical.com>
2023-01-31 16:58:24 +01:00
Benjamin Drung
4449cf2437
Fix warnings found by pylint
...
Signed-off-by: Benjamin Drung <benjamin.drung@canonical.com>
2023-01-31 15:51:29 +01:00
Benjamin Drung
9fa29f6ad5
fix(reverse-depends): Restore field titles format
...
Commit 90e8fe81e1b2610e352c82c0301076ffc7da5ac0 renamed `print_field` to
`log_field`, but changed the `print_field` call with `Logger.info`.
Therefore the line with `=` was lost.
Restore the previous formatting.
Signed-off-by: Benjamin Drung <benjamin.drung@canonical.com>
2023-01-31 14:42:22 +01:00
Benjamin Drung
a160def2ab
fix(requestbackport): Remove useless loop from locate_package
...
Commit 0f3d2fed2a4ed67b90b5d49aab25ca2bda5d9d37 removed the difference
between the two loop iterations in `locate_package`. So drop the useless
second iteration.
Signed-off-by: Benjamin Drung <benjamin.drung@canonical.com>
2023-01-31 14:35:12 +01:00
Benjamin Drung
909d945af4
Replace deprecated optparse with argparse
...
Signed-off-by: Benjamin Drung <benjamin.drung@canonical.com>
2023-01-31 13:33:18 +01:00
Benjamin Drung
f6fde2e217
fix: Use lazy % formatting in logging functions
...
pylint complains about W1201: Use lazy % formatting in logging functions
(logging-not-lazy) and W1203: Use lazy % formatting in logging functions
(logging-fstring-interpolation).
Signed-off-by: Benjamin Drung <benjamin.drung@canonical.com>
2023-01-31 11:13:07 +01:00
Benjamin Drung
17bed46ffb
feat: Add some type hints
...
Add some type hints to satisfy mypy.
Signed-off-by: Benjamin Drung <benjamin.drung@canonical.com>
2023-01-31 10:35:22 +01:00
Benjamin Drung
72add78e9d
Fix errors found by pylint
...
Signed-off-by: Benjamin Drung <benjamin.drung@canonical.com>
2023-01-31 10:19:24 +01:00
Benjamin Drung
ab64467f33
Run pylint during package build again
...
Commit ae74f71a1e9d4be043162b19d23f2d44c964c771 removed the pylint unit
test saying that unit tests are not needed to just run flake8 or pylint.
Since pylint is useful, add it back, but this time call it directly and
not embed it into a unit test.
Signed-off-by: Benjamin Drung <benjamin.drung@canonical.com>
2023-01-31 00:05:15 +01:00
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
8692bc2b1c
refactor(setup.py): Introduce get_debian_version
...
Move getting the Debian package version into a separate function and
fail in case it cannot find it or fails parsing it.
Signed-off-by: Benjamin Drung <benjamin.drung@canonical.com>
2023-01-30 21:56:37 +01:00
Benjamin Drung
a685368ae9
Run isort import sorter during package build
...
Signed-off-by: Benjamin Drung <benjamin.drung@canonical.com>
2023-01-30 21:34:24 +01:00
Benjamin Drung
4e27045f49
style: Sort Python imports with isort
...
```
isort -l 99 --profile=black .
```
Signed-off-by: Benjamin Drung <benjamin.drung@canonical.com>
2023-01-30 21:28:47 +01:00
Benjamin Drung
db0e091e44
Run black code formatter during package build
...
Signed-off-by: Benjamin Drung <benjamin.drung@canonical.com>
2023-01-30 19:48:49 +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
Benjamin Drung
79d24c9df1
fix: Check Python scripts with flake8 again
...
Commit ae74f71a1e9d4be043162b19d23f2d44c964c771 removed the flake8
unittest and commit 3428a65b1cd644445f55ad8ae65ece5f73d7acb5 added
running flake8 again, but only for files named `*.py`.
Check also all Python scripts with a Python shebang.
Signed-off-by: Benjamin Drung <benjamin.drung@canonical.com>
2023-01-30 19:29:51 +01:00
Benjamin Drung
932166484b
Fix issues found by flake8 on the Python scripts
...
Signed-off-by: Benjamin Drung <benjamin.drung@canonical.com>
2023-01-30 19:29:30 +01:00
Benjamin Drung
bd770fa6b1
test: Do not run flake8 in verbose mode
...
The verbose output of flake8 is not interesting and just clutters the
output.
Signed-off-by: Benjamin Drung <benjamin.drung@canonical.com>
2023-01-30 14:11:09 +01:00
Benjamin Drung
3d54a17403
refactor: Move linter checks into run-linters script
...
Signed-off-by: Benjamin Drung <benjamin.drung@canonical.com>
2023-01-30 14:10:02 +01:00
Benjamin Drung
3bdb827516
fix: Use PEP440 compliant version in setup.py
...
Versions like `0.176ubuntu20.04.1` in Ubuntu are clearly not compliant
with https://peps.python.org/pep-0440/ . With setuptools 66, the versions
of all packages visible in the Python environment *must* obey PEP440.
Bug: https://launchpad.net/bugs/1991606
Signed-off-by: Benjamin Drung <benjamin.drung@canonical.com>
2023-01-30 14:07:23 +01:00
Mattia Rizzolo
0d94b5e747
document the last commit
...
Signed-off-by: Mattia Rizzolo <mattia@debian.org>
2023-01-15 18:16:07 +01:00
Krytarik Raido
0f3d2fed2a
requestbackport: Adapt to new backports policy (LP: #1959115 )
...
As documented on <https://wiki.ubuntu.com/UbuntuBackports >
Template update done by Unit 193.
Signed-off-by: Mattia Rizzolo <mattia@debian.org>
2023-01-15 18:14:48 +01:00
Mattia Rizzolo
844d6d942c
Merge branch 'mk-sbuild' of git+ssh://git.launchpad.net/~myamada/ubuntu-dev-tools
...
Closes : #1001832
LP: #1955116
MR: https://code.launchpad.net/~myamada/ubuntu-dev-tools/+git/ubuntu-dev-tools/+merge/435734
Signed-off-by: Mattia Rizzolo <mattia@debian.org>
2023-01-14 18:49:29 +01:00
Mattia Rizzolo
ae43fd1929
document the previous changes
...
Signed-off-by: Mattia Rizzolo <mattia@debian.org>
2023-01-14 18:46:50 +01:00
Masahiro Yamada
69ac109cdb
mk-sbuild: fix security update repository for Debian bullseye and later
...
If I run "apt-get update" in the bullseye chroot, I get the following error:
Err:4 http://security.debian.org bullseye-updates Release
404 Not Found [IP: 2a04:4e42:600::644 80]
It looks like the directory path was changed since bullseye.
buster:
deb https://security.debian.org/debian-security buster/updates main
bullseye:
deb https://security.debian.org/debian-security bullseye-security main
Signed-off-by: Masahiro Yamada <masahiro.yamada@canonical.com>
2023-01-13 18:53:17 +09:00
Masahiro Yamada
9f2a53c166
mk-sbuild: add debian_dist_ge()
...
Add debian_dist_ge(), which will be used by the next commit.
To avoid code duplication, move the common part to dist_ge().
Signed-off-by: Masahiro Yamada <masahiro.yamada@canonical.com>
2023-01-13 18:34:01 +09:00
Steve Langasek
a69c40d403
Set up preferences for -proposed with NotAutomatic: yes
...
As of lunar, Ubuntu sets NotAutomatic: yes for its -proposed pockets. For
sbuild chroots, we want to continue to explicitly install from -proposed by
default; so override with apt preferences to get the correct behavior.
2022-11-16 17:49:13 -08:00
Benjamin Drung
c1e4b14a98
Demote bzr/brz from Recommends to Suggests
...
Nowadays git is used nearly everywhere. Therefore demoting bzr/brz to
Suggest is the right thing to do.
Bug-Debian: https://bugs.debian.org/940531
Signed-off-by: Benjamin Drung <benjamin.drung@canonical.com>
2022-11-16 18:49:42 +01:00
Benjamin Drung
096d5612e7
sponsor-patch: Use --skip-patches when extract source package
...
Use `--skip-patches` when extract source packages with `dpkg-source`.
`--no-preparation` is a source package build option and `--skip-patches`
is the correct extract option.
Signed-off-by: Benjamin Drung <benjamin.drung@canonical.com>
2022-11-16 18:37:56 +01:00
Benjamin Drung
b510dbd91e
sponsor-patch: Ignore exit code 1 of debdiff call
...
sponsor-patch calls `debdiff` which exits with 1 if there are
differences. So accept exit codes 0 and 1 as expected.
Signed-off-by: Benjamin Drung <benjamin.drung@canonical.com>
2022-11-15 16:43:27 +01:00
Mattia Rizzolo
803949ed8b
also include a lp bug number there
...
Signed-off-by: Mattia Rizzolo <mattia@debian.org>
2022-10-11 14:42:08 +02:00
Mattia Rizzolo
e219eaa5fc
Open changelog for the next release.
...
Signed-off-by: Mattia Rizzolo <mattia@debian.org>
2022-10-11 13:58:00 +02:00
Mattia Rizzolo
60ee986014
Release 0.191
...
Signed-off-by: Mattia Rizzolo <mattia@debian.org>
2022-10-11 13:56:13 +02:00
Mattia Rizzolo
dabe475067
ubuntutools/archive.py: fix crash in SourcePackage()._source_urls()
...
Fix operation of SourcePackage._source_urls() (as used, for example, in
SourcePackage.pull() called by backportpackage) to also work when the
class is instantiated with a URL as .dsc.
This is a regression caused by 1b12d8b4e3315de3bf417b40a3c66279f309d72c
(first in v0.184) that moved from os.path.join() to Pathlib, but
os.path.join() was also used to join URLs.
Thanks: Unit 193 for the initial patch.
Signed-off-by: Mattia Rizzolo <mattia@debian.org>
2022-09-29 10:34:51 +02:00
Mattia Rizzolo
0a9e18ed91
document the previous change
...
Signed-off-by: Mattia Rizzolo <mattia@debian.org>
2022-09-29 10:32:07 +02:00
Stefano Rivera
7859889438
backportpackage: Add support for lsb-release-minimal, which doesn't have a Python module, thanks Gioele Barabucci. (Closes: 1020901)
2022-09-28 11:40:33 +02:00
Gioele Barabucci
a3c87e78aa
backportpackage: Run lsb_release as command if the Python module is not available
2022-09-28 11:36:22 +02:00
Mattia Rizzolo
05af489f64
Merge branch 'lp1984113' of git+ssh://git.launchpad.net/~ddstreet/ubuntu-dev-tools
...
MR: https://code.launchpad.net/~ddstreet/ubuntu-dev-tools/+git/ubuntu-dev-tools/+merge/428101
Signed-off-by: Mattia Rizzolo <mattia@debian.org>
2022-08-22 17:57:07 +02:00
Mattia Rizzolo
d5fdc00396
open changelog for the next release
...
Signed-off-by: Mattia Rizzolo <mattia@debian.org>
2022-08-22 17:56:02 +02:00
Dan Streetman
7d278cde21
ubuntu-build: use correct exception from LP login failure
2022-08-09 12:15:09 -04:00
Dan Streetman
ad402231db
ubuntu-build: explicitly login to LP
...
LP: #1984113
2022-08-09 12:14:56 -04:00
Dan Streetman
562e6b13cd
lpapicache: force lp access on login to workaround possibly invalid cached creds
2022-08-09 12:08:50 -04:00
Dan Streetman
9c1561ff26
lpapicache: remove try-except around login that only logs the error and then re-raises
2022-08-09 12:07:31 -04:00
Benjamin Drung
06a04f642f
Release ubuntu-dev-tools 0.190
...
Signed-off-by: Benjamin Drung <bdrung@ubuntu.com>
2022-06-16 10:55:29 +02:00
Benjamin Drung
8f0005ce1d
Bump Standards-Version to 4.6.1
...
Signed-off-by: Benjamin Drung <bdrung@ubuntu.com>
2022-06-16 10:54:41 +02:00
Benjamin Drung
51ebfb21d3
Add missing files to debian/copyright
...
Signed-off-by: Benjamin Drung <bdrung@ubuntu.com>
2022-06-16 10:52:51 +02:00
Benjamin Drung
f83161dcc2
Wrap long line in setup-packaging-environment.1
...
Signed-off-by: Benjamin Drung <bdrung@ubuntu.com>
2022-06-16 10:24:32 +02:00
Benjamin Drung
bf5796c69e
mk-sbuild: Rename SCRIPT to DEBOOTSTRAP_SCRIPT
...
Signed-off-by: Benjamin Drung <bdrung@ubuntu.com>
2022-06-16 10:20:22 +02:00
Gianfranco Costamagna
214da052b2
pbuilder-dist: fix typo kernal/kernel
2022-06-13 10:09:24 +02:00
Mattia Rizzolo
b9c9a21696
Merge branch 'unknown-ubuntu-script' of git+ssh://git.launchpad.net/~xnox/ubuntu-dev-tools
...
MR: https://code.launchpad.net/~xnox/ubuntu-dev-tools/+git/ubuntu-dev-tools/+merge/420623
Signed-off-by: Mattia Rizzolo <mattia@debian.org>
2022-05-01 14:40:23 +02:00
Dimitri John Ledkov
1f3e4a5ad7
mk-sbuild: build Ubuntu chroots for unknown new releases
...
Signed-off-by: Dimitri John Ledkov <dimitri.ledkov@canonical.com>
2022-04-27 14:18:15 +01:00
Mattia Rizzolo
835fe258ab
open changelog for the next release
...
Signed-off-by: Mattia Rizzolo <mattia@debian.org>
2022-04-04 15:05:49 +02:00
Mattia Rizzolo
5618358870
Release 0.189
...
Signed-off-by: Mattia Rizzolo <mattia@debian.org>
2022-04-04 15:03:39 +02:00
Mattia Rizzolo
d1de55b320
Merge branch 'master' of git+ssh://git.launchpad.net/~tobhe/ubuntu-dev-tools
...
MR: https://code.launchpad.net/~tobhe/ubuntu-dev-tools/+git/ubuntu-dev-tools/+merge/416458
Signed-off-by: Mattia Rizzolo <mattia@debian.org>
2022-04-04 14:56:38 +02:00
Matthias Klose
87858a4387
mk-sbuild: don't require pkg-config-$target_tuple
...
Packages pkg-config-$target_tuple are no longer built by from source
package gcc-defaults-ports. Install pkg-config instead (LP: #1966881 ).
2022-03-30 15:37:08 +02:00
Tobias Heider
cb48d71056
mk-sbuild: document SCHROOT_TYPE zfs in the manpage
2022-03-07 14:08:23 +01:00
Mattia Rizzolo
b2d259b415
init changelog for the next release
...
Signed-off-by: Mattia Rizzolo <mattia@debian.org>
2022-02-07 16:32:07 +01:00
Mattia Rizzolo
533b9535aa
Changelog for 0.188
...
Signed-off-by: Mattia Rizzolo <mattia@debian.org>
2022-02-07 16:30:14 +01:00
Mattia Rizzolo
7d3ea739a2
close a bug in the changelog
...
Signed-off-by: Mattia Rizzolo <mattia@debian.org>
2022-02-07 16:19:47 +01:00
Mattia Rizzolo
c53750694f
document the last change
...
Signed-off-by: Mattia Rizzolo <mattia@debian.org>
2022-01-20 15:41:55 +01:00
Graham Inggs
0dde3262d1
ubuntutools/lp: Python 3.10 compatibility
2022-01-20 15:38:03 +01:00
Mattia Rizzolo
3a903ca628
archive.py: support python 3.6
...
this is needed for the backports to bionic
Signed-off-by: Mattia Rizzolo <mattia@debian.org>
2021-12-09 17:56:50 +01:00
Mattia Rizzolo
c7058559c5
Changelog for 0.187
...
Signed-off-by: Mattia Rizzolo <mattia@debian.org>
2021-12-05 15:58:23 +01:00
Mattia Rizzolo
13123c51c6
Merge branch 'cleanup' of git+ssh://git.launchpad.net/~ddstreet/ubuntu-dev-tools
...
MR: https://code.launchpad.net/~ddstreet/ubuntu-dev-tools/+git/ubuntu-dev-tools/+merge/412242
Signed-off-by: Mattia Rizzolo <mattia@debian.org>
2021-12-05 15:58:06 +01:00
Mattia Rizzolo
009b79224f
backportpackage: also close a debian bug
...
Signed-off-by: Mattia Rizzolo <mattia@debian.org>
2021-12-05 15:49:53 +01:00
Mattia Rizzolo
7fc6788b35
backportpackage: fix automatic selection of the target release.
...
Signed-off-by: Mattia Rizzolo <mattia@debian.org>
2021-12-05 15:49:31 +01:00
Mattia Rizzolo
3ef7c4a569
backportpackage: add a full stop after the changelog line :3
...
Signed-off-by: Mattia Rizzolo <mattia@debian.org>
2021-12-05 15:44:02 +01:00
Mattia Rizzolo
cd4d717551
backportpackage: change the ubuntu backports version following the new policy from the Backporters team
...
Thanks: Unit 193 for the patch
Signed-off-by: Mattia Rizzolo <mattia@debian.org>
2021-12-05 15:43:51 +01:00
Mattia Rizzolo
d903160215
backportpackage: slight refactor for the debian versioning handler
...
Signed-off-by: Mattia Rizzolo <mattia@debian.org>
2021-12-05 15:42:11 +01:00
Dan Streetman
8fe22fbbb6
Remove hugdaylist script
...
The last email announcing a 'hug day' appears to have been over
5 years ago, and the hugdaylist script doesn't seem to work
right anymore anyway.
This also removes ubuntutools/lp/libsupport, which has no functions
used by anything else.
2021-11-22 13:00:52 -05:00
Dan Streetman
06038060b0
update changelog
2021-11-19 08:22:07 -05:00
Dan Streetman
4d72d184db
pullpkg: change pull_upload_queue params into specific keyword-only params
2021-11-19 08:11:31 -05:00
Dan Streetman
20261960f6
pullpkg: unpack downloaded src from upload queue
2021-11-19 08:11:31 -05:00
Dan Streetman
d05e023dfe
ubuntutools: don't sys.exit if unpack fails, just log it
2021-11-19 08:11:31 -05:00
Dan Streetman
de295fe524
ubuntutools/misc: return dst Path object from download()
2021-11-19 08:11:31 -05:00
Dan Streetman
1e2036399e
ubuntutools/misc: use iter_content instead of raw stream access
...
Reading the raw stream doesn't decode files that are content-encoded,
which is true for the 'changes' file from launchpad, so it's saved
to disk gzipped which isn't what is expected.
Using the python requests iter_content method instead uses the
built-in stream decoding that the requests library provides, and
saves the file uncompressed/unencoded.
Note that since the encoded Content-Length won't match the resulting
unencoded actual length of data we save to file, this also turns off
the progress bar for any files that have Content-Encoding.
2021-11-19 08:11:31 -05:00
Dan Streetman
85125e3c90
ubuntutools/misc: allow specifying blocksize to download methods
2021-11-19 08:11:15 -05:00
Dan Streetman
cfa45994d0
ubuntutools/misc: create helper class to display download progress bar
2021-11-19 08:09:08 -05:00
Mattia Rizzolo
a74a49fb81
backportpackage: Support backporting to Debian releases. LP: #974132
...
Signed-off-by: Mattia Rizzolo <mattia@debian.org>
2021-10-31 16:47:43 +01:00
Peter Pentchev
74867c90f4
mk-sbuild: Fix a check for TARGET_ARCH in a message.
...
Closes : #968316
Signed-off-by: Mattia Rizzolo <mattia@debian.org>
2021-10-31 16:34:00 +01:00
Mattia Rizzolo
b904993e05
Merge branch 'mk-sbuild-zfs' of git+ssh://git.launchpad.net/~paride/ubuntu-dev-tools
...
MR: https://code.launchpad.net/~paride/ubuntu-dev-tools/+git/ubuntu-dev-tools/+merge/409346
Signed-off-by: Mattia Rizzolo <mattia@debian.org>
2021-10-31 16:31:39 +01:00
Mattia Rizzolo
000d3c1c2d
open changelog
...
Signed-off-by: Mattia Rizzolo <mattia@debian.org>
2021-10-31 16:25:12 +01:00
Stefano Rivera
9a44175a17
Upload to unstable
2021-10-24 16:13:01 -07:00
Stefano Rivera
a9e2a2689d
Replace nose with pytest (see: #997758 ).
2021-10-24 16:05:08 -07:00
Paride Legovini
fec7a72ef7
mk-sbuild: add support for zfs-snapshot schroots
...
Creating datasets with mountpoint=legacy is necessary because the
schroot helper scripts expect it. This will make zfs-snapshot schroots
behave more like lvm-snapshot schroots and less like btrfs-snapshot
schroots (e.g. the source schroot is not permanently mounted/visible).
Switching mount "style" requires changes in at least the
/etc/schroot/setup.d/05zfs and 10mount scripts.
LP: #1945349
2021-09-28 19:59:42 +02:00
Stefano Rivera
9360b17bcb
Upload to unstable
2021-09-17 15:53:13 -07:00
Stefano Rivera
5eeb707142
Bump Standards-Version to 4.6.0, no changes needed.
2021-09-17 15:52:51 -07:00
Stefano Rivera
c1b1c106dc
Update changelog
2021-09-17 15:52:51 -07:00
Dan Streetman
266085d587
misc: fix flake8 complaints
2021-09-17 07:25:47 -04:00
Dan Streetman
6ca12331d6
archive: use proper component
...
source packages sometimes have different component than their
bpphs, so use the correct component when downloading binaries
LP: #1943819
2021-09-16 21:01:19 -04:00
Dan Streetman
5fcc4b5b46
misc: handle ConnectionError as NotFoundError
2021-09-16 20:29:14 -04:00
Dan Streetman
a3ff68be5a
misc: download to tmp file, to avoid leftover 0-size file on error
2021-09-16 19:24:00 -04:00
Krytarik Raido
a1b56ac31f
merge-changelog: Fix setting of newlines.
...
Signed-off-by: Mattia Rizzolo <mattia@debian.org>
2021-09-08 19:44:15 +02:00
Mattia Rizzolo
ceb020d0fa
lpapicache: fix sorting in Archive.getUploadersForPackage().
...
LP: #1862372
Signed-off-by: Mattia Rizzolo <mattia@debian.org>
2021-08-17 15:55:14 +02:00
Mattia Rizzolo
fbbcee9cc1
reflow code for the next commit
...
Gbp-Dch: Ignore
Signed-off-by: Mattia Rizzolo <mattia@debian.org>
2021-08-17 15:51:23 +02:00
Mattia Rizzolo
511aa3d80c
Merge branch 'fix-ppa-pull-lp-1938659' of git+ssh://git.launchpad.net/~alexmurray/ubuntu-dev-tools
...
MR: https://code.launchpad.net/~alexmurray/ubuntu-dev-tools/+git/ubuntu-dev-tools/+merge/406518
Signed-off-by: Mattia Rizzolo <mattia@debian.org>
2021-08-04 12:02:46 +02:00
Mattia Rizzolo
6c8109b6ae
init changelog
...
Signed-off-by: Mattia Rizzolo <mattia@debian.org>
2021-08-04 11:59:24 +02:00
Alex Murray
296e498fe9
archive: Fix PersonalPackageArchiveSourcePackage to yield URLs
...
Yielding the result of super()_source_urls() / _binary_urls() yields the
generator object itself which generates the list of URLs - not the URLs
which would be returned from this generator. Instead use yield from which
forwards the yield onto the generator object itself.
Fixes LP: #1938659
Signed-off-by: Alex Murray <alex.murray@canonical.com>
2021-08-03 10:39:55 +09:30
Mattia Rizzolo
3f0d63d5b6
Release 0.184
...
Signed-off-by: Mattia Rizzolo <mattia@debian.org>
2021-07-17 17:57:22 +02:00
Mattia Rizzolo
49527c36e1
d/control: Bump debhelper compat level to 13.
...
Signed-off-by: Mattia Rizzolo <mattia@debian.org>
2021-07-17 17:56:30 +02:00
Mattia Rizzolo
14a8005d45
d/control: remove redudant Recommends that are already in Depends.
...
Signed-off-by: Mattia Rizzolo <mattia@debian.org>
2021-07-17 17:56:08 +02:00
Mattia Rizzolo
52032eb081
Merge branch 'ccache-support' of git+ssh://git.launchpad.net/~3v1n0/ubuntu-dev-tools
...
MR: https://code.launchpad.net/~3v1n0/ubuntu-dev-tools/+git/ubuntu-dev-tools/+merge/401817
Signed-off-by: Mattia Rizzolo <mattia@debian.org>
2021-07-17 17:54:04 +02:00
Mattia Rizzolo
4fc36efcf2
pbuilder-dist: use shutil.which instead of distutils.spawn.find_executable() to save a dependency
...
LP: #1936697
Signed-off-by: Mattia Rizzolo <mattia@debian.org>
2021-07-17 17:47:51 +02:00
Dan Streetman
7f227f6264
update changelog
2021-07-14 17:53:26 -04:00
Dan Streetman
d598900df7
d/control: remove no longer needed requirements
...
Nothing uses termcolor or yaml anymore in the code
2021-07-14 17:41:10 -04:00
Dan Streetman
b4ca04efaa
test: fix archive tests
...
Assumptions were made about the implementation by mocking
that are no longer true, and the tests generally need to be
fixed to be more robust about testing
2021-07-14 17:41:10 -04:00
Dan Streetman
0eaf71737d
test: fix example package class
...
this class can be much simpler and more robust and doesn't require
checking in the example package files to git
2021-07-14 17:41:10 -04:00
Dan Streetman
1b12d8b4e3
archive: convert to use pathlib instead of os.path
...
Mostly convert to using pathlib
2021-07-14 17:41:10 -04:00
Dan Streetman
be6e09a02b
archive: don't use existing file if no verification methods provided
...
we shouldn't use an existing file if we aren't checking its checksums
2021-07-14 17:41:10 -04:00
Dan Streetman
86276665cd
archive: Update PersonalPackageArchiveSourcePackage to handle private PPA
...
Unfortunately private PPAs require downloading files from the special server
private-ppa.launchpad.net, and all the usual urls provided by the LP api fail.
So add code to handle using those custom private URLs, and use authentication
when downloading.
2021-07-14 17:41:10 -04:00
Dan Streetman
3f2983c157
misc: Change download() method to use python requests and optional authentication
...
Since private PPAs require authentication, use python requests library instead
of urlopen(), since requests handles authentication easily
2021-07-14 17:41:10 -04:00
Dan Streetman
4f6d6bf2d8
misc: add extract_authentication method
...
This pulls the username:password out of a URL
2021-07-14 17:41:10 -04:00
Dan Streetman
df93a225a8
misc: replace os.path with Pathlib
...
also change some strings to use f-strings
2021-07-14 17:41:10 -04:00
Dan Streetman
d8df8cc869
misc: add download_bytes() and deprecate mode param for download_text()
...
Passing 'mode' assumes use of open(), but callers don't care about
implementation, just if the returned object is text or bytes
2021-07-14 17:41:04 -04:00
Dan Streetman
243a728d6c
Move DownloadError into ubuntutools/misc
2021-07-13 14:08:59 -04:00
Dan Streetman
6e18d60de4
lpapicache: add Archive.getMySubscriptionURL()
...
Private PPA require using username/password to access their files,
so make this information available. This gets the currently logged in
user's "subscription URL", which includes the authentication data.
2021-07-13 07:55:02 -04:00
Dan Streetman
dbd453876e
flake8 tests no longer need to specifically exclude ubuntu-archive-assistant
...
Now that ubuntu-archive-assistant is removed, we can simply test everything
with flake8
2021-07-12 12:45:27 -04:00
Dan Streetman
732ff00cac
Completely remove ubuntu-archive-assistant code
...
This hasn't been updated even a single time since it was added without
review almost 3 years ago. It additionally has never been included in the
ubuntu-dev-tools package. It's unclear if anyone is using it for anything,
but in any case it certainly shouldn't be in the ubuntu-dev-tools repository.
2021-07-12 12:45:27 -04:00
Marco Trevisan (Treviño)
2ac69a89e3
mk-sbuild: Add support to configure ccache for each schroot
...
ccache can help greatly in speeding up recompilations in sbuild, but it
is a bit annoying to configure at each schroot creation.
So, add --cache option (and relative CCACHE config parameter) to
configure ccache for sbuild schroots.
By default we use a shared ccache directory, but each schroot can use
a customized one if needed (with local parameters) by using --cache-dir
(or CCACHE_DIR).
Default ccache max-size is 4G, but can be configured with --ccache-size
(or CCACHE_SIZE), the size value is applied to each ccache path, so can
be shared by multiple schroots or applied to a single one.
2021-06-15 02:24:16 +02:00
Marco Trevisan (Treviño)
4e5e6efdb1
mk-sbuild: Enable debugging in the finish.sh script if --debug is used
2021-06-15 02:23:05 +02:00
Marco Trevisan (Treviño)
e193c30695
mk-sbuild: Use a more maintainable OPTS list using a bash array
2021-06-15 02:23:05 +02:00
Stefano Rivera
6bf3640e8f
Upload to unstable
2021-06-08 10:09:16 -04:00
Dan Streetman
5dcde81c58
pbuilder: include missing import
...
commit d784fea1cdf50ca8d80fe2a0074aeb96ab1b580f did not include the
import for 'suppress'
2021-06-06 21:16:44 -04:00
Stefano Rivera
30abe6eacd
Upload to unstable
2021-06-06 19:52:25 -04:00
Stefano Rivera
c0546396bf
Respect nocheck in DEB_BUILD_OPTIONS, again.
2021-06-06 19:52:14 -04:00
Dan Streetman
ef100f6166
update changelog
2021-06-04 12:26:32 -04:00
Dan Streetman
3428a65b1c
d/rules: override build tests to use flake8 and nosetests3
2021-06-04 12:25:21 -04:00
Dan Streetman
91e0babd93
d/t/control: add minimum version requirement for flake8 test
...
the --extend-exclude parameter was added in flake8 3.8.0
2021-06-04 12:25:21 -04:00
Dan Streetman
952b331c22
archive: fix flake8 test failure
2021-06-04 12:14:10 -04:00
Dan Streetman
e44bc63209
update changelog
2021-06-02 14:57:27 -04:00
Dan Streetman
c2ea95c067
syncpackage: don't login to LP if using --simulate
...
No need to login to LP if no real action is being taken.
2021-06-02 14:55:17 -04:00
Dan Streetman
f25f815bef
update changelog
2021-06-02 11:49:20 -04:00
Dan Streetman
a0315dac8c
archive: only download dsc file to the workdir from pull() method
...
LP: #1928946
2021-06-02 11:24:53 -04:00
Dan Streetman
ec36c7c792
syncpackage: remove calls to no-op pull_dsc()
2021-05-28 16:24:53 -04:00
Dan Streetman
9be49e7b93
archive: deprecate poorly-named pull_dsc() method
2021-05-28 16:24:15 -04:00
Dan Streetman
90824e056c
archive: move check for verify_signature into check_dsc_signature
2021-05-28 16:18:50 -04:00
Dan Streetman
1093c372eb
archive: allow passing absolute path to _download_file
2021-05-28 16:17:29 -04:00
Dan Streetman
ff66707a4c
Add mode param to download_text() to allow using custom modes like 'rb'
2021-05-28 16:14:51 -04:00
Mattia Rizzolo
128eca1a5b
Changelog for 0.181
...
Signed-off-by: Mattia Rizzolo <mattia@debian.org>
2021-05-02 20:04:32 +02:00
Mattia Rizzolo
4f10be3f13
mk-sbuild: document eatmydata in the manpage
...
Signed-off-by: Mattia Rizzolo <mattia@debian.org>
2021-05-02 20:02:47 +02:00
Mattia Rizzolo
b687e11813
Merge branch 'fix-backportpackage' of git+ssh://git.launchpad.net/~ddstreet/ubuntu-dev-tools/+git/ubuntu-dev-tools
...
Closes: https://bugs.debian.org/983854
MR: https://code.launchpad.net/~ddstreet/ubuntu-dev-tools/+git/ubuntu-dev-tools/+merge/400848
Signed-off-by: Mattia Rizzolo <mattia@debian.org>
2021-05-02 19:55:44 +02:00
Mattia Rizzolo
eca442bf35
Merge branch 'lp1916633' 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/399686
Signed-off-by: Mattia Rizzolo <mattia@debian.org>
2021-05-02 19:49:03 +02:00
Marco Trevisan (Treviño)
ede8a77718
doc/mk-sbuild.1: Add documentation for --debootstrap-proxy and DEBOOTSTRAP_PROXY
...
LP: #1926166
2021-04-26 20:33:48 +02:00
Dan Streetman
85ed9ad1ce
backportpackage: don't use SourcePackage() directly
...
As the warning from 2010 says, don't use this class directly.
2021-04-08 22:52:20 -04:00
Balint Reczey
f97b19554f
Use eatmydata by default
...
Since only the dpkg is wrapped in eatmydata it should be the safe and fast
default. Eatmydata is widely used around apt thus it should be a serious bug
if a package can't be installed with eatmydata in use.
2021-03-26 15:41:10 +01:00
Balint Reczey
a5ee35c812
Use eatmydata only with the dpkg command
...
Eatmydata wrapping the build as well could break tests.
Thanks: Julian Andres Klode for suggesting this solution
2021-03-26 15:40:25 +01:00
Dan Streetman
d784fea1cd
pbuilder: handle debian change from /updates to -security
...
starting in bullseye, the security suite is -security instead of /updates
LP: #1916633
2021-03-12 13:09:17 -05:00
Krytarik Raido
728849964e
Logging: Fix oversight from the last logging refactor
...
Signed-off-by: Mattia Rizzolo <mattia@debian.org>
2021-02-24 14:26:18 +01:00
Mattia Rizzolo
09537bd44d
Merge branch 'fix-sponsor-patch' of git+ssh://git.launchpad.net/~logan/ubuntu-dev-tools
...
MR: https://code.launchpad.net/~logan/ubuntu-dev-tools/+git/ubuntu-dev-tools/+merge/398509
Signed-off-by: Mattia Rizzolo <mattia@debian.org>
2021-02-24 14:24:50 +01:00
Mattia Rizzolo
484a668c0a
init changelog
...
Signed-off-by: Mattia Rizzolo <mattia@debian.org>
2021-02-24 14:23:42 +01:00
Logan Rosen
bc24ef23de
sponsor-patch: fix bugs from py3 migration
2021-02-22 22:24:52 -05:00
Mattia Rizzolo
ea549d6c19
Changelog for 0.180
...
Signed-off-by: Mattia Rizzolo <mattia@debian.org>
2021-02-19 12:36:01 +01:00
Mattia Rizzolo
7118411b89
Drop coverage in the autopkgtest, as python3-nose-cov is not in Debian
...
Signed-off-by: Mattia Rizzolo <mattia@debian.org>
2021-02-19 12:12:02 +01:00
Dan Streetman
2c6f87acd3
update changelog for 0.179
2021-02-03 10:21:50 -05:00
Dan Streetman
211416d2fd
update changelog
2021-02-02 06:26:08 -05:00
Dan Streetman
0eeb93ee0c
logging: update ubuntutools.getLogger() to output to stdout/stderr correctly
...
Python logging by default sends all output to stderr, but that's not what
normal programs usually do and is not expected for these scripts.
Change the ubuntutools.getLogger() method to return a logger with handlers
correctly set up to send INFO level (or lower) logs to stdout and WARNING
level (or higher; technically INFO+1 level or higher) logs to stderr.
This results in normally logged output going to stdout and warnings/errors
going to stderr, as expected.
2021-02-02 06:25:12 -05:00
Dan Streetman
b35712fa40
archive: wrap filtered masters in list
...
LP: #1913330
2021-02-02 06:25:12 -05:00
Dan Streetman
ee9b8756d9
archive: make SourcePackage ABC abstract class to enforce subclasses provide distribution
2021-02-02 06:25:12 -05:00
Dan Streetman
9792f5b95c
archive: don't download from archive if using UCA staging ppa
...
Signed-off-by: Dan Streetman <ddstreet@canonical.com>
2021-02-02 06:25:12 -05:00
Dan Streetman
d8d4fd9285
archive: log warnings around 'staging' pocket
...
The 'staging' pocket contains binaries that don't match published binaries,
so log a warning if we fallback to that pocket, and log a warning if pulling
binaries using that pocket.
Signed-off-by: Dan Streetman <ddstreet@canonical.com>
2021-02-02 06:25:12 -05:00
Dan Streetman
9a38ad1b7b
archive: add UCA parsing/finding code for UCA releases/pockets
...
Signed-off-by: Dan Streetman <ddstreet@canonical.com>
2021-02-02 06:25:12 -05:00
Dan Streetman
db181f4aa6
archive: use UCA Project to find valid UCA release names
...
Signed-off-by: Dan Streetman <ddstreet@canonical.com>
2021-02-02 06:25:12 -05:00
Dan Streetman
04ae04e17b
archive: simplify PPA source package class
...
Signed-off-by: Dan Streetman <ddstreet@canonical.com>
2021-02-02 06:25:12 -05:00
Dan Streetman
ae3837be1d
lp: add Project and ProjectSeries classes
...
Signed-off-by: Dan Streetman <ddstreet@canonical.com>
2021-02-02 06:25:12 -05:00
Dan Streetman
20036e6c36
ubuntutools/pullpkg: add --login parameter
...
Just in case we want to pull from a private ppa...
Signed-off-by: Dan Streetman <ddstreet@canonical.com>
2021-02-02 06:25:12 -05:00
Dan Streetman
e13a4eb45e
ubuntutools/archive: deprecate passing 'lp' object to SourcePackage()
...
There is no point to doing this, as the Launchpad object is a singleton;
the caller should just call Launchpad.login_with() directly and leave
the SourcePackage class out of it.
Signed-off-by: Dan Streetman <ddstreet@canonical.com>
2021-02-02 06:25:12 -05:00
Dan Streetman
cb865e3b86
ubuntutools/lp: change default login to anonymous
...
If not specified, default to logging in anonymously.
Signed-off-by: Dan Streetman <ddstreet@canonical.com>
2021-02-02 06:25:12 -05:00
Dan Streetman
61f0023c37
archive: use verify_file_checksums()
...
This reduces duplicate verification steps, and results in logging
error from the verification function if there is a size mismatch,
instead of the silent verification failure that was present in case
neither sha checksum was provided.
Signed-off-by: Dan Streetman <ddstreet@canonical.com>
2021-02-02 06:25:12 -05:00
Dan Streetman
e5a42b1ba1
misc: add verify_file_checksums() function
...
Signed-off-by: Dan Streetman <ddstreet@canonical.com>
2021-02-02 06:25:12 -05:00
Dan Streetman
359cb18d8d
lpapicache: replace httplib2 use with call to download_text()
...
Signed-off-by: Dan Streetman <ddstreet@canonical.com>
2021-02-02 06:25:12 -05:00
Dan Streetman
b89ad962f4
misc: add download_text() method
...
Signed-off-by: Dan Streetman <ddstreet@canonical.com>
2021-02-02 06:25:12 -05:00
Dan Streetman
58ca95e719
pullpkg: provide dst to download()
...
Signed-off-by: Dan Streetman <ddstreet@canonical.com>
2021-02-02 06:25:12 -05:00
Dan Streetman
a26a154bc9
misc: move logic into download() to handle plain file paths, and src == dst
...
Update download() function to handle src of plain path, by prepending
'file://' to it. Also handle the case of src and dst pointing to the same
file.
Signed-off-by: Dan Streetman <ddstreet@canonical.com>
2021-02-02 06:25:12 -05:00
Dan Streetman
fed562405d
archive: simplify handling of dsc file
...
There are only 2 options for getting the dsc file:
1) it's provided as 'dscfile' param
2) we look it up via lp_spph
For case #1 , update the constructor to immediately read the provided file
to create the self._dsc object, and set package and version from that.
For case #2 , simplify various functions to simply use the normal
_download_file_from_urls() function to get the dsc file from the
normal locations (mirrors, masters, directly from lp), using the same
process as any other file, including checking checksum(s).
Signed-off-by: Dan Streetman <ddstreet@canonical.com>
2021-02-02 06:25:12 -05:00
Dan Streetman
248cf38d79
misc: update download() function
...
-require 'dst' parameter
-allow 'dst' parameter to be dir or dest file
-use contextlib.suppress instead of try/except/pass
Signed-off-by: Dan Streetman <ddstreet@canonical.com>
2021-02-02 06:25:12 -05:00
Dan Streetman
3d0921ee54
archive: simplify _source_urls() and _binary_urls()
...
Signed-off-by: Dan Streetman <ddstreet@canonical.com>
2021-02-02 06:25:12 -05:00
Dan Streetman
c29b660dbf
lpapicache: make sure source/binary file metadata includes all keys
...
Signed-off-by: Dan Streetman <ddstreet@canonical.com>
2021-02-02 06:25:12 -05:00
Dan Streetman
b2f4ceee8e
archive: use _download_file_from_urls()
...
Both pull() and pull_binaries() are changed to use the common function.
Signed-off-by: Dan Streetman <ddstreet@canonical.com>
2021-02-02 06:25:12 -05:00
Dan Streetman
b6e0b5b388
archive: add _download_file_from_urls()
...
This will consolidate the download functionality from pull() and
pull_binaries()
Signed-off-by: Dan Streetman <ddstreet@canonical.com>
2021-02-02 06:25:12 -05:00
Dan Streetman
494e0d6ddd
archive: change log level of some messages
...
Change some messages to the correct log level for their importanance.
Signed-off-by: Dan Streetman <ddstreet@canonical.com>
2021-02-02 06:25:12 -05:00
Dan Streetman
2cfcbdb300
Remove pull-revu-source
...
This script used a website that no longer exists.
Signed-off-by: Dan Streetman <ddstreet@canonical.com>
2021-02-02 06:25:12 -05:00
Dan Streetman
07d7381b4d
Remove reverse-build-depends
...
It's been warning about its deprecation since 2012. Time to do it.
Signed-off-by: Dan Streetman <ddstreet@canonical.com>
2021-02-02 06:25:12 -05:00
Dan Streetman
d19ac157b0
mk-sbuild: don't print usage on stderr
...
Signed-off-by: Dan Streetman <ddstreet@canonical.com>
2021-02-02 06:25:12 -05:00
Dan Streetman
6698b70f98
d/t/control: change to test with flake8 and nosetests
...
Signed-off-by: Dan Streetman <ddstreet@canonical.com>
2021-02-02 06:25:12 -05:00
Dan Streetman
d464c1ffe8
d/rules: override dh_auto_clean to cleanup tox and nose coverage files
...
Signed-off-by: Dan Streetman <ddstreet@canonical.com>
2021-02-02 06:25:12 -05:00
Dan Streetman
42c659555c
d/control: remove flake8 dep
...
Signed-off-by: Dan Streetman <ddstreet@canonical.com>
2021-02-02 06:25:12 -05:00
Dan Streetman
120f15ca50
d/control: remove pylint dep
...
Signed-off-by: Dan Streetman <ddstreet@canonical.com>
2021-02-02 06:25:12 -05:00
Dan Streetman
4e63b2cbb5
d/control: add dput dependency, remove runtime check
...
Signed-off-by: Dan Streetman <ddstreet@canonical.com>
2021-02-02 06:25:12 -05:00
Dan Streetman
f2118d6e7f
d/control: add python3-debianbts dep, remove runtime check
...
Signed-off-by: Dan Streetman <ddstreet@canonical.com>
2021-02-02 06:25:12 -05:00
Dan Streetman
52739e44ad
test: simplify test_help with subtests
...
Signed-off-by: Dan Streetman <ddstreet@canonical.com>
2021-02-02 06:25:12 -05:00
Dan Streetman
12c2e6bf42
test: remove unneeded stuff in test/__init__.py
...
Signed-off-by: Dan Streetman <ddstreet@canonical.com>
2021-02-02 06:25:12 -05:00
Dan Streetman
ae74f71a1e
test: remove flake8 and pylint unittest files
...
unit tests aren't needed just to run flake8 or pylint.
Signed-off-by: Dan Streetman <ddstreet@canonical.com>
2021-02-02 06:25:12 -05:00
Dan Streetman
930c05621e
test: move tests/* into ubuntu_archive_assistant/
...
This single test is part of ubuntu-archive-assistant, and fails several
flake8 tests; throw it in with the rest, so it's ignored by flake8.
None of it is actually shipped.
Signed-off-by: Dan Streetman <ddstreet@canonical.com>
2021-02-02 06:25:12 -05:00
Dan Streetman
48c7130008
test: remove dep on mock, use unittest.mock instead
...
Signed-off-by: Dan Streetman <ddstreet@canonical.com>
2021-02-02 06:25:12 -05:00
Dan Streetman
3eefdec9b6
test: add support for running tox tests
...
Setup tox to run both flake8 and nosetests
Signed-off-by: Dan Streetman <ddstreet@canonical.com>
2021-02-02 06:25:12 -05:00
Stefano Rivera
e7f0447342
Close LP: #1913330
2021-02-01 17:33:10 -07:00
Stefano Rivera
90cb51becb
archive.py: Evaluate the filter() fixing syncpackage.
2021-01-29 22:18:22 -07:00
Dimitri John Ledkov
e54a13743c
releasing package ubuntu-dev-tools version 0.178
2021-01-25 23:28:38 +00:00
Dan Streetman
07b81efd24
doc: update pull-pkg man page to clarify default pockets
...
Signed-off-by: Dan Streetman <ddstreet@canonical.com>
2021-01-22 17:14:28 -05:00
Dan Streetman
390be3f0b3
archive: remove DebianSourcePackage.pull_dsc()
...
No longer necessary to override this function as the superclass
now does everything the subclass function does.
Signed-off-by: Dan Streetman <ddstreet@canonical.com>
2021-01-22 16:19:49 -05:00
Mattia Rizzolo
9d7ce2745f
Merge branch 'pbuilder-dist_more_archs' of git+ssh://git.launchpad.net/~misterc/ubuntu-dev-tools
...
MR: https://code.launchpad.net/~misterc/ubuntu-dev-tools/+git/ubuntu-dev-tools/+merge/379692
Signed-off-by: Mattia Rizzolo <mattia@debian.org>
2021-01-19 23:36:25 +01:00
Mattia Rizzolo
f8c0d87b6f
Merge branch 'fix-pull-pkg' of git+ssh://git.launchpad.net/~xnox/ubuntu-dev-tools
...
MR: https://code.launchpad.net/~xnox/ubuntu-dev-tools/+git/ubuntu-dev-tools/+merge/396459
Signed-off-by: Mattia Rizzolo <mattia@debian.org>
2021-01-19 23:31:03 +01:00
Dimitri John Ledkov
02c531dfb5
archive.py: use Regular, Ports, and Internal mirrors by default. Thus enabling pull-lp-debs to work with ports architectures, and inside launchpad builds too.
2021-01-19 10:43:48 +00:00
Dimitri John Ledkov
5a428b462d
config.py: add UBUNTU_INTERNAL_MIRROR option, for launchpad internal mirror.
2021-01-19 10:43:47 +00:00
Dimitri John Ledkov
6cc8040510
pullpkg.py: fix --mirror option parsing.
2021-01-19 10:43:46 +00:00
Michael R. Crusoe
5856b6a41f
Use arch-test to determine local arch support
...
Will work with qemu-user-static, if installed
2021-01-19 10:50:40 +01:00
Mattia Rizzolo
d3a7eac62f
backportpackage: Add a -e/--message option to change the default "No-change" in "No-change backport to DIST".
...
Thanks to Unit 193 for the initial patch.
Signed-off-by: Mattia Rizzolo <mattia@debian.org>
2021-01-14 15:03:28 +01:00
Mattia Rizzolo
a75fb35fc8
ubuntu-archive-assistant/mir: Fix a SyntaxWarning.
2020-12-27 11:43:47 +01:00
Mattia Rizzolo
c5b5d554bc
Merge branch 'lp-1193941' of git+ssh://git.launchpad.net/~logan/ubuntu-dev-tools
...
MR: https://code.launchpad.net/~logan/ubuntu-dev-tools/+git/ubuntu-dev-tools/+merge/395616
Signed-off-by: Mattia Rizzolo <mattia@debian.org>
2020-12-27 11:40:18 +01:00
Logan Rosen
2720ffa12a
import-bug-from-debian: limit description to 50K chars
...
LP: #1193941
2020-12-26 01:49:43 -05:00
Mattia Rizzolo
bafe94c5c7
Merge branch 'for-upstream/depends-on-tzdata' of git+ssh://git.launchpad.net/~vicamo/ubuntu-dev-tools/+git/ubuntu-dev-tools
...
MR: https://code.launchpad.net/~vicamo/ubuntu-dev-tools/+git/ubuntu-dev-tools/+merge/395578
Signed-off-by: Mattia Rizzolo <mattia@debian.org>
2020-12-22 17:54:05 +01:00
Mattia Rizzolo
6a9bcc6e14
Bump Standards-Version to 4.5.1, no changes needed.
...
Signed-off-by: Mattia Rizzolo <mattia@debian.org>
2020-12-22 17:52:27 +01:00
Mattia Rizzolo
b00aea7aa5
init the next changelog
...
Signed-off-by: Mattia Rizzolo <mattia@debian.org>
2020-12-22 17:51:54 +01:00
You-Sheng Yang
322df409c2
d/control: explicitly depends on tzdata
...
mk-sbuild would copy /etc/timezone and /etc/localtime from the host
environment, and it fails without them.
Signed-off-by: You-Sheng Yang <vicamo@gmail.com>
2020-12-23 00:21:25 +08:00
Dan Streetman
b30df2b227
pullpkg: also catch InvalidPullValueError
...
LP: #1908770
2020-12-21 11:28:08 -05:00
Mattia Rizzolo
6c097233a9
Release 0.177
...
Signed-off-by: Mattia Rizzolo <mattia@debian.org>
2020-06-28 15:52:37 +02:00
Mattia Rizzolo
4b3e9b8479
syncpackge: Fix the new flake8 E741. Closes : #963310
2020-06-28 15:52:23 +02:00
Mattia Rizzolo
097eea7d5f
flak8-fy
...
Gbp-Dch: Ignore
Signed-off-by: Mattia Rizzolo <mattia@debian.org>
2020-06-26 20:47:05 +02:00
Mattia Rizzolo
622f550cc9
Merge branch 'update-maintainer-recursive' of git+ssh://git.launchpad.net/~bryce/ubuntu-dev-tools
...
MR: https://code.launchpad.net/~bryce/ubuntu-dev-tools/+git/ubuntu-dev-tools/+merge/386415
Signed-off-by: Mattia Rizzolo <mattia@debian.org>
2020-06-26 20:45:32 +02:00
Bryce Harrington
8d77c72c33
update-maintainer: Consider only valid-looking debian directories
...
When scanning for debian/ directories to use, only consider ones that
have control and changelog files present. This should handle cases
where the user may have non-package directories named debian high in
their path.
2020-06-26 10:57:46 -07:00
Bryce Harrington
928da0ec02
update-maintainer: Find debian/control from inside debian/
...
In addition to looking for ./debian in the current directory, scan up
the path in the case of running update-maintain from inside the debian/
directory. This scans up to a maximum of 6 levels.
The --help text is adjusted to identify the detected path if one was
found, defaulting to './debian' otherwise.
LP: #1885233
Signed-off-by: Bryce Harrington <bryce@bryceharrington.org>
2020-06-25 18:19:30 -07:00
Mattia Rizzolo
f5aa75a3a5
Merge branch 'lintian-fixes' of git+ssh://git.launchpad.net/~debian-janitor/ubuntu-dev-tools
...
MR: https://code.launchpad.net/~debian-janitor/ubuntu-dev-tools/+git/ubuntu-dev-tools/+merge/383535
Signed-off-by: Mattia Rizzolo <mattia@debian.org>
2020-05-09 17:34:56 +02:00
Debian Janitor
529c2870fc
Wrap long lines in changelog entries: 0.25, 0.11.
...
Fixes: lintian: debian-changelog-line-too-long
See-also: https://lintian.debian.org/tags/debian-changelog-line-too-long.html
2020-05-06 14:41:56 +00:00
Mattia Rizzolo
ce4d8fb85f
also update the docs
...
Signed-off-by: Mattia Rizzolo <mattia@debian.org>
2020-04-29 00:17:32 +02:00
Mattia Rizzolo
0aa7280f94
ubuntu-build: add support for riscv64.
...
Signed-off-by: Mattia Rizzolo <mattia@debian.org>
2020-04-29 00:12:24 +02:00
Dan Streetman
5a895e9685
update changelog
...
pullpkg: support pulling from Ubuntu upload queues
2020-03-13 10:03:33 -04:00
Dan Streetman
8aa2d602c5
pullpkg: add support for pulling from upload queue
2020-03-13 10:02:05 -04:00
Dan Streetman
8f42fb976f
lpapicache: add PackageUpload class
2020-03-13 10:02:05 -04:00
Dan Streetman
ea30b9f5bc
ubuntutools/misc: add download() function
...
Move the download functionality from the archive.py into the common
misc.py file.
2020-03-13 10:02:05 -04:00
Dan Streetman
c622c30297
update changelog
...
Verify checksums for downloaded binary files
2020-03-13 09:59:28 -04:00
Dan Streetman
fe4d2f08a5
test: remove test_dsc_missing test
...
This test class performs 'local source package' tests, but a missing
local dsc file won't perform any local test, it will query the LP server.
The test attempted to narrowly mock out specific network access to
emulate a 'missing' package by trying to return 404 when the url from
SourcePackage._lp_url() is opened, but now that _lp_url() is removed,
a missing local dsc file will result in full querying of the LP api,
which is not as easily mocked.
2020-03-06 13:01:37 +01:00
Dan Streetman
11429b213c
archive: remove _lp_url()
2020-03-06 13:01:37 +01:00
Dan Streetman
eaa07014e0
archive: verify and use existing already-downloaded files
2020-03-06 13:01:37 +01:00
Dan Streetman
8682c44957
archive: update pull_dsc to use _source_urls() and verify_file_checksum()
2020-03-06 13:01:37 +01:00
Dan Streetman
20dd65b281
archive: verify binary file checksums
2020-03-06 13:01:37 +01:00
Dan Streetman
45253b398c
archive: remove unneeded 'found' flag
...
This var isn't needed - just using for/else is better
2020-03-06 13:01:37 +01:00
Dan Streetman
e1f2cbf831
archive: remove _binary_files_info()
...
also use spph/bpph provided urls
2020-03-06 13:01:37 +01:00
Dan Streetman
8ebd086aac
ubuntutools/misc: add verify_file_checksum function
2020-03-06 13:01:37 +01:00
Dan Streetman
9f428e471b
ubuntutools/misc: convert print() to std logging
2020-03-06 13:01:37 +01:00
Dan Streetman
907061c15e
lpapicache: support 'include_meta' param in binaryFileUrls()
...
support the param for both native BPPH as well as Debian Snapshot
emulated BPPH
add sourceFileUrls() function
add helper functions to get file urls, checksums, and size
2020-03-06 13:01:37 +01:00
Dan Streetman
ee98423715
lpapicache: use urlparse instead of manual parsing
2020-03-06 13:01:37 +01:00
Dan Streetman
d98e16226b
archive: change _download_file verify param to dscverify
...
The param is specific to dsc-verifiable files, so name it accordingly.
2020-03-06 12:18:10 +01:00
Dan Streetman
53fa2336b8
archive: cache Debian srcpkg when pulling binaries
2020-03-06 12:18:10 +01:00
Dan Streetman
f5694d7cf6
archive: pass src pkg file size to _download_file
2020-03-06 12:18:10 +01:00
Dan Streetman
7900a09763
archive: fix DebianSourcePackage implementation of _source_urls()
2020-03-06 12:18:10 +01:00
Mattia Rizzolo
f2b758f503
init changelog for next release
...
Signed-off-by: Mattia Rizzolo <mattia@debian.org>
2020-02-23 13:10:04 +01:00
Mattia Rizzolo
2decc105a2
Changelog for 0.176
...
Signed-off-by: Mattia Rizzolo <mattia@debian.org>
2020-02-23 13:09:19 +01:00
Mattia Rizzolo
41df9a33a4
d/control: Bump Standards-Version to 4.5.0, no changes needed.
...
Signed-off-by: Mattia Rizzolo <mattia@debian.org>
2020-02-23 13:02:49 +01:00
Dan Streetman
36ffc92e00
pullpkg: for -p list, show bpph arch for files built for 'all' arch
2020-02-13 17:43:24 -05:00
Dan Streetman
3d7f542e49
archive: allow pull_binaries() to accept arch=None
2020-02-13 17:43:24 -05:00
Dan Streetman
ebe460aad1
lpapicache: allow getBinaries(arch=None) to get all archs
...
this was the previous behavior and some scripts still call with no args.
LP: #1862286
2020-02-13 17:43:22 -05:00
Dan Streetman
5553d98e47
lpapicache: remove fallback_arch from getBinaries
...
Even for 'all' arch binaries, there are separate BPPHs per arch,
so we should index them properly by actual arch.
2020-02-13 17:41:35 -05:00
Dan Streetman
5838fa39ff
lpapicache: remove SPPH _have_all_binaries flag
...
The 'all' arch makes it possible to not actually have all the
BPPH records for all archs, depending on how we've been called
previously (i.e. with which archs and/or no archs).
It's safer to just maintain our cache and recheck it each time if needed.
2020-02-13 17:39:53 -05:00
Dan Streetman
63f614ebe3
archive: if using local file, avoid error trying to copy file to itself
2020-02-13 17:39:01 -05:00
Dan Streetman
f026b5d597
ubuntu-upload-permission: sort packagesets by name
...
The change from py2->py3 broke this script, as sorted now refuses to
perform sorting if the elements can't be directly compared.
LP: #1862372
2020-02-13 17:39:01 -05:00
Dan Streetman
fe30873247
submittodebian: open file in binary mode before writing utf-8 encoded bytes
...
LP: #1863119
2020-02-13 17:39:01 -05:00
Colin Watson
1e1702e676
Use +sourcefiles URLs where possible
...
In
https://code.launchpad.net/~cjwatson/launchpad/archive-unambiguous-files-traversals/+merge/345118 ,
I added support for downloading source package files from Launchpad that
can cope with the situation where different versions of a source package
have the same file name with different contents (normally impossible,
but it can happen with imported archives and due to some old bugs). Use
this where possible.
LP: #1860456
2020-01-24 16:34:02 +00:00
Mattia Rizzolo
f8fa865ab2
pbuilder-dist: Add support for riscv64.
...
LP: #1859277
Signed-off-by: Mattia Rizzolo <mattia@debian.org>
2020-01-11 15:36:48 +01:00
Mattia Rizzolo
6e3d26185c
Merge branch 'lintian-fixes' of git+ssh://git.launchpad.net/~debian-janitor/ubuntu-dev-tools
...
MR: https://code.launchpad.net/~debian-janitor/ubuntu-dev-tools/+git/ubuntu-dev-tools/+merge/376456
Signed-off-by: Mattia Rizzolo <mattia@debian.org>
2019-12-06 13:38:14 +01:00
Debian Janitor
c13988fbeb
Fix day-of-week for changelog entry 0.66.
...
Fixes lintian: debian-changelog-has-wrong-day-of-week
See https://lintian.debian.org/tags/debian-changelog-has-wrong-day-of-week.html for more details.
2019-12-06 12:19:47 +00:00
Mattia Rizzolo
7b95e4c457
Release 0.175
...
Signed-off-by: Mattia Rizzolo <mattia@debian.org>
2019-12-01 19:40:22 +01:00
Mattia Rizzolo
6e4ab93ff9
document ddstreet contributions in d/copyright
...
Signed-off-by: Mattia Rizzolo <mattia@debian.org>
2019-12-01 19:40:15 +01:00
Mattia Rizzolo
41345dd546
d/control: Bump Standards-Version to 4.4.1, no changes needed.
...
Signed-off-by: Mattia Rizzolo <mattia@debian.org>
2019-12-01 19:35:49 +01:00
Mattia Rizzolo
87f226258a
Merge branch 'megamerge_request' 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/375292
Signed-off-by: Mattia Rizzolo <mattia@debian.org>
2019-12-01 19:28:17 +01:00
Dan Streetman
82c8c438f7
ubuntutools: use file extension when possible to determine deb/ddeb/udeb
2019-11-25 16:40:18 -05:00
Dan Streetman
1a30454d1e
test: remove test_archive obsolete tests
...
some tests mocked into the implementation of archive.py, which has now
changed dramatically, and the tests are no longer valid.
2019-11-25 10:10:06 -05:00
Dan Streetman
e37e9db7eb
pullpkg: add --security param to query ubuntu sec team proposed ppa
2019-11-25 10:10:06 -05:00
Dan Streetman
87a09640ba
ubuntutools/pullpkg.py: convert -v to count, enable package-wide debug for -vv
2019-11-25 10:10:06 -05:00
Dan Streetman
90e8fe81e1
replace ubuntutools.logger with standard python logging
2019-11-25 10:10:06 -05:00
Dan Streetman
c9c7fed1f6
pull-uca-*: search in reverse order of UCA releases, if none specified
...
if only the version of a UCA package is specified, search each UCA
archive from latest backwards. This avoids having to specify both
the package version *and* UCA release.
2019-11-25 10:10:06 -05:00
Dan Streetman
7c097b19ba
ubuntutools: add --status param to pull-pkg
...
Allow specifying what package statuses should be searched for.
By default search only for Pending and Published, unless a specific
version number is being searched for.
2019-11-25 10:10:06 -05:00
Dan Streetman
0f61836b10
ubuntutools: update archive/lpapicache to optionally search all series
...
For PPA and UCA repos, the latest build is not necessarily in the
'development' release; so for those SourcePackage classes, search
all the 'active' series (starting with latest devel) for any
matches to the provided package name. This allows not having to
specify the series name when looking in PPA/UCA repos for the 'latest'
version of a specific package.
2019-11-25 10:10:06 -05:00
Dan Streetman
b11b83f0e2
pull-pkg: change UCA source pkg class to subclass of PPA source pkg class
...
The UCA source pkg class was its own specific class, but with the
addition of the generic PPA source pkg class, the UCA class is just
a specific case of PPA. Changing it to a subclass of the PPA class
simplifies code.
2019-11-25 10:10:06 -05:00
Dan Streetman
7084bfc8bc
pull-pkg: add pull-ppa-* functionality
...
Add functionality, and frontend pull-ppa-* scripts, to be able to pull
from PPA archives.
2019-11-25 10:10:06 -05:00
Dan Streetman
3491b0cff9
pull-pkg: change pullpkg into class PullPkg
...
instead of pullpkg.py containing a simple method to call, change it
into a normal class PullPkg that callers can create and use.
2019-11-25 10:10:06 -05:00
Dan Streetman
fb750e38bb
lpapicache: find binaries from lp
...
Also update getBinaries() to allow retreival by binary name
This significantly speeds up binary file lookup for non-published
package versions, since we can get the list of binary urls, but
then have to look up the BPPH for each of those urls, which is slow.
If the user only wants a specific binary package and/or arch, this
speeds up getting that, especially for packages with a lot of binary
files (like the kernel).
2019-11-25 10:10:06 -05:00
Dan Streetman
3a413760f3
ubuntutools: add pull-* --no-verify-signature option, don't fail if no pub key
...
Change dsc verification to fail only if the public key was available, but
signature verification failed. If no public key is available for the dsc,
print warning only. (LP: #1700846 )
Also add pull-* parameter --no-verify-signature to manually prevent failure
when signature verification fails.
2019-11-25 10:10:06 -05:00
Dan Streetman
41a6c47ac2
pull-pkg: update man pages to all point to single pull-pkg.1 man page
...
remove the pull-lp-source.1 and pull-debian-source.1 man pages,
consolidating them both into a pull-pkg.1 man page. Also create
symlinks for all associated scripts pointing to pull-pkg.1 man page.
2019-11-25 10:10:06 -05: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
Dan Streetman
cdaf5d0761
pull-pkg: change pull-pkg script code into modular code
2019-11-25 10:10:06 -05:00
Dan Streetman
79b705d235
pull-pkg: rename pull-pkg to ubuntutools/pullpkg.py module
...
rename only with no content changes, so next commit shows code
changes converting script pull-pkg to module pullpkg.py
This also changes the file mode from 755 to 644, since we're changing
an executable script into a module.
2019-11-25 10:09:26 -05:00
Dan Streetman
d7bcb012f6
pull-pkg: update to use previous SourcePackage improvements
...
New pull-pkg allows pulling source, debs, ddebs, or udebs, or just
listing all package files. Also, package lookup by binary name is done
automatically.
2019-11-25 09:57:54 -05:00
Dan Streetman
ec72cf1538
pull-pkg: rename pull-lp-source to pull-pkg
...
no changes to the file, just a rename, to allow the next commit
to show the changes to the file.
2019-11-25 09:57:54 -05:00
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>
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>
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
Stefano Rivera
96896fd2c8
Port ubuntu-upload-permission to Python 3
2019-09-04 19:24:44 -03:00
Stefano Rivera
16b9311995
Port ubuntu-iso
2019-09-04 19:24:44 -03:00
Stefano Rivera
6c375255c4
Port ubuntu-build to Python 3
2019-09-04 19:24:44 -03:00
Stefano Rivera
2c8c4d7268
Port syncpackage to Python 3
2019-09-04 19:24:44 -03:00
Stefano Rivera
3f5e56c75e
Port submittodebian to Python 3
2019-09-04 19:24:44 -03:00
Stefano Rivera
76609fde49
Port sponsor-patch to Python 3
2019-09-04 19:24:44 -03:00
Stefano Rivera
673234e449
Port seeded-in-ubuntu to Python 3
2019-09-04 19:24:44 -03:00
Stefano Rivera
31d1ae269a
Port reverse-depends to Python 3
2019-09-04 19:24:44 -03:00
Stefano Rivera
b311cebaed
More requestsync porting and cleanup
2019-09-04 19:24:44 -03:00
Scott Kitterman
81b17cd323
Update requestsync to python3 ( Closes : #927147 )
2019-09-04 19:24:44 -03:00
Stefano Rivera
7c0efe2914
Port requestbackport to Python 3
2019-09-04 19:24:44 -03:00
Stefano Rivera
0de4509da6
Port pull-uca-source to Python 3
2019-09-04 19:24:44 -03:00
Stefano Rivera
4239d49582
Port pull-lp-source to Python 3
2019-09-04 19:24:44 -03:00
Stefano Rivera
6a60ee963d
Port pull-debian-debdiff to Python 3
2019-09-04 19:24:44 -03:00
Stefano Rivera
d1949a72aa
Port pbuilder-dist to Python 3
2019-09-04 19:24:44 -03:00
Stefano Rivera
118f95b62e
Port hugadaylist to Python 3
2019-09-04 19:24:44 -03:00
Stefano Rivera
3052bfcc16
Port grep-merges to python 3
2019-09-04 19:24:44 -03:00
Stefano Rivera
05ce00a49a
Port enforced-editing-wrapper to python 3
2019-09-04 19:24:44 -03:00
Stefano Rivera
071ff40f20
Port check-mir to Python 3
2019-09-04 19:24:44 -03:00
Stefano Rivera
2a0bffc2a0
Port bitesize to python3
2019-09-04 19:24:44 -03:00
Stefano Rivera
a41af75643
Close FDs after tests
2019-09-04 19:24:44 -03:00
Stefano Rivera
7f9949fc4c
Port backportpackage to Python 3.
2019-09-04 19:24:44 -03:00
Stefano Rivera
23c7d67425
Replace simple Popen() calls with check_output()
2019-09-04 19:24:44 -03:00
Stefano Rivera
2d3765522e
Use the Popen() encoding flag to decode to unicode
...
This should make behavior identical on Python 2 & 3.
2019-09-04 19:24:44 -03:00
Stefano Rivera
43ad610a66
Add encoding support to our Popen wrapper
2019-09-04 19:24:44 -03:00
Stefano Rivera
9ef7545150
Move non-Python scripts to the python3 section
2019-09-04 19:24:44 -03:00
Stefano Rivera
7c5f2431db
Drop 404main, it's been totally broken for years.
2019-09-04 19:24:44 -03:00
Stefano Rivera
2138919700
pull-debian-debdiff: Don't unpack the older source package, it will often use the same directory as the newer one, and break.
2019-09-04 16:31:37 -03:00
Mattia Rizzolo
366ff25690
Release 0.172
...
Signed-off-by: Mattia Rizzolo <mattia@debian.org>
2019-09-04 08:52:02 +02:00
Stefano Rivera
5769a70d02
Increase --help timeout, seeing a few of them
2019-09-03 21:16:59 -03:00
Stefano Rivera
03d2e89f31
Use dh_install to split the build into multiple binary packages.
2019-09-03 21:16:57 -03:00
Stefano Rivera
7fd1a6a766
Install pull-debian-source as python 3. It was ported, and doesn't work under python 2 any more. (LP: #1841127 )
2019-09-03 21:16:43 -03:00
Stefano Rivera
caaea17eec
dh_python2 doesn't generate a python dependency in ubuntu-dev-tools, now that it's scripts-only, so manually declare one.
2019-09-03 21:16:11 -03:00
Stefano Rivera
8ab21ea485
Explicitly declare python dependencies in the python library modules (the setup.py doesn't provide these) and ubuntu-dev-tools itself.
2019-09-03 21:15:21 -03:00
Stefano Rivera
e163ee0158
Test with the pylint command, we don't have py2+3 versions any more
2019-09-03 21:10:38 -03:00
Stefano Rivera
b0421706d5
Build-Depend on pylint (>= 2, the Python 3 version), it replaced pylint3.
2019-09-03 21:10:38 -03:00
Stefano Rivera
af622cb71e
wrap-and-sort -ats
2019-09-03 21:10:30 -03:00
Mattia Rizzolo
ae04bcfc43
autopkgtest: Add a allow-stderr restriction, as things log to stderr.
...
Signed-off-by: Mattia Rizzolo <mattia@debian.org>
2019-08-23 10:08:13 +02:00
Mattia Rizzolo
dc3d2c0c2d
changelog for 0.171
...
Signed-off-by: Mattia Rizzolo <mattia@debian.org>
2019-08-12 13:56:09 +02:00
Mattia Rizzolo
6c47c075aa
d/clean: delete the whole egg-info directory, not just the contents
...
Signed-off-by: Mattia Rizzolo <mattia@debian.org>
2019-08-12 13:55:39 +02:00
Mattia Rizzolo
e0f6b6f97b
archive: Disable dsc signature verification for non-Debian.
...
Ubuntu doesn't have a unified keyring of developers like Debian has, so
it is not feasible to check for the dsc signatures.
Signed-off-by: Mattia Rizzolo <mattia@debian.org>
2019-08-12 13:41:16 +02:00
Mattia Rizzolo
ad6d560a15
Add an autopkgtest running the package tests
...
Currently it runs the tests directly over the sources, instead of the installed package.
Signed-off-by: Mattia Rizzolo <mattia@debian.org>
2019-08-12 13:41:08 +02:00
Mattia Rizzolo
c744f7441f
Changelog for 0.170
...
Signed-off-by: Mattia Rizzolo <mattia@debian.org>
2019-08-05 13:50:40 +02:00
Mattia Rizzolo
3fb7516d72
Default to checking signatures while pulling a .dsc.
...
Signed-off-by: Mattia Rizzolo <mattia@debian.org>
2019-08-05 13:50:33 +02:00
Mattia Rizzolo
257b0a8d67
reverse-depends: prevent crash when specifying a specific architecture.
...
Closes : #933018
Signed-off-by: Mattia Rizzolo <mattia@debian.org>
2019-08-05 13:28:59 +02:00
Mattia Rizzolo
1007bc87e8
Close lp bug in the previous merge
...
Signed-off-by: Mattia Rizzolo <mattia@debian.org>
2019-07-20 15:12:31 +02:00
Mattia Rizzolo
cf91180e9a
d/control: Bump debhelper compat level to 12.
...
Signed-off-by: Mattia Rizzolo <mattia@debian.org>
2019-07-20 15:11:10 +02:00
Mattia Rizzolo
3f87486de3
Merge branch 'pull-debian-source-edge-cases' of git+ssh://git.launchpad.net/~racb/ubuntu-dev-tools
...
MR: https://code.launchpad.net/~racb/ubuntu-dev-tools/+git/ubuntu-dev-tools/+merge/326608
Signed-off-by: Mattia Rizzolo <mattia@debian.org>
2019-07-20 15:10:35 +02:00
Mattia Rizzolo
07f2c179c2
Release 0.169
...
Signed-off-by: Mattia Rizzolo <mattia@debian.org>
2019-07-20 11:18:06 +02:00
Mattia Rizzolo
6c404a3557
fix new flake8 issues
...
Signed-off-by: Mattia Rizzolo <mattia@debian.org>
2019-07-20 11:17:54 +02:00
Mattia Rizzolo
db13c754a5
d/control: Bump Standards-Version to 4.4.0, no changes needed.
...
Signed-off-by: Mattia Rizzolo <mattia@debian.org>
2019-07-20 10:59:13 +02:00
Mattia Rizzolo
9858a03a12
d/control: add myself to uploaders
...
Signed-off-by: Mattia Rizzolo <mattia@debian.org>
2019-07-20 10:58:07 +02:00
Mattia Rizzolo
4a4ed663e0
Document previous change
...
Signed-off-by: Mattia Rizzolo <mattia@debian.org>
2019-07-20 10:57:25 +02:00
Mattia Rizzolo
dbbd7fcca0
Merge branch 'master' of git+ssh://git.launchpad.net/~sahid-ferdjaoui/ubuntu-dev-tools
...
MR: https://code.launchpad.net/~sahid-ferdjaoui/ubuntu-dev-tools/+git/ubuntu-dev-tools/+merge/369727
Signed-off-by: Mattia Rizzolo <mattia@debian.org>
2019-07-20 10:55:24 +02:00
Sahid Orentino Ferdjaoui
5cf0f000db
introduce ability to find reverse dependencies recursively
...
The change is introducing two options: --recursive and
--recursive-depth. So user will be able to print the full chain of
reverse-deps.
Signed-off-by: Sahid Orentino Ferdjaoui <sahid.ferdjaoui@canonical.com>
2019-07-04 19:18:28 +02:00
Colin Watson
ae9c80de37
mk-sbuild: Set personality=linux32 on armel/armhf
2019-06-04 11:07:10 +01:00
Steve Langasek
f9c4aeaae1
releasing package ubuntu-dev-tools version 0.168
2019-05-07 21:32:04 -07:00
Steve Langasek
7143367610
grep-merges: flake8-clean.
...
Signed-off-by: Steve Langasek <steve.langasek@ubuntu.com>
2019-05-07 21:32:04 -07:00
Steve Langasek
eb84867721
releasing package ubuntu-dev-tools version 0.167
2019-05-07 18:54:24 -07:00
Steve Langasek
fec29f22bc
grep-merges: support grepping by team name (full name match)
...
Signed-off-by: Steve Langasek <steve.langasek@ubuntu.com>
2019-05-07 18:24:07 -07:00
Colin Watson
3bef7f999b
Previous commit closes LP: #1807992
2018-12-11 16:50:13 +00:00
Colin Watson
fb22ba116f
syncpackage: Support wildcards in sync-blacklist
...
This brings syncpackage's parsing of sync-blacklist.txt roughly into
line with that in auto-sync (from lp:ubuntu-archive-tools).
2018-12-11 16:39:51 +00:00
Mattia Rizzolo
6b8a75bc99
Changelog for 0.166
...
Signed-off-by: Mattia Rizzolo <mattia@debian.org>
2018-10-23 22:22:29 +02:00
Mattia Rizzolo
dc5e586b99
mk-sbuild: disable recommends also within the chroot
...
LP: #1268684
Thanks: Steve Beattie for the patch.
Signed-off-by: Mattia Rizzolo <mattia@debian.org>
2018-10-23 22:06:10 +02:00
Mattia Rizzolo
c41f57686b
update changelog
...
Signed-off-by: Mattia Rizzolo <mattia@debian.org>
2018-10-23 21:59:35 +02:00
Mattia Rizzolo
c12595fa61
retro-actively close old bug in an old changelog.
...
Signed-off-by: Mattia Rizzolo <mattia@debian.org>
2018-10-23 21:59:14 +02:00
Mattia Rizzolo
7d0205011a
Add a recommends on ubuntu-keyring | ubuntu-archive-keyring.
...
Closes : #838254
Signed-off-by: Mattia Rizzolo <mattia@debian.org>
2018-10-23 21:55:34 +02:00
Mattia Rizzolo
14a3dd5634
Clarify package descriptions for Python libraries.
...
Closes : #804198 , #804199
Thanks: Ben Finney for the patch.
Signed-off-by: Mattia Rizzolo <mattia@debian.org>
2018-10-23 21:54:48 +02:00
Mattia Rizzolo
5b6445c1d0
Use the new debhelper-compat(=11) notation and drop d/compat.
...
Signed-off-by: Mattia Rizzolo <mattia@debian.org>
2018-10-23 21:40:40 +02:00
Mattia Rizzolo
2a620e9aa2
Bump Standards-Version to 4.2.1, no changes needed.
...
Signed-off-by: Mattia Rizzolo <mattia@debian.org>
2018-10-23 21:40:25 +02:00
Mattia Rizzolo
bc0c276364
new wrap-and-sort -ast
...
Gbp-Dch: Ignore.
Signed-off-by: Mattia Rizzolo <mattia@debian.org>
2018-10-23 21:39:52 +02:00
Mattia Rizzolo
1481ed8438
Add missing build-depends for tests, cominf from the new tool
...
Gbp-Dch: Ignore
Signed-off-by: Mattia Rizzolo <mattia@debian.org>
2018-10-23 21:39:06 +02:00
Mattia Rizzolo
ff184c6780
Add missing dependencies on sensible-utils (thanks lintian!).
...
Signed-off-by: Mattia Rizzolo <mattia@debian.org>
2018-10-23 21:37:47 +02:00
Mattia Rizzolo
0886e02435
update changelog
...
Signed-off-by: Mattia Rizzolo <mattia@debian.org>
2018-10-23 21:37:22 +02:00
Benjamin Drung
190ad30a7b
Fix invalid escape sequence '\(' or '\)' (found by flake8)
...
flake8 found issues:
ubuntutools/sponsor_patch/bugtask.py:46:11: W605 invalid escape sequence '\('
ubuntutools/sponsor_patch/bugtask.py:62:50: W605 invalid escape sequence '\('
ubuntutools/sponsor_patch/bugtask.py:62:58: W605 invalid escape sequence '\)'
setup.py:14:8: W605 invalid escape sequence '\('
setup.py:14:14: W605 invalid escape sequence '\)'
Fix these issues by marking these strings as raw strings.
2018-10-06 18:04:25 +02:00
Benjamin Drung
74df5b3869
Update pylint and flake8 unittests
...
Import improvements from https://github.com/bdrung/snippets
2018-10-06 17:42:59 +02:00
Benjamin Drung
468dbc7746
ubuntutools/test: Introduce get_source_files function
...
The flake8 and pylint unittest use the same logic to determine the source
files. Therefore put this logic in one function.
2018-10-06 17:16:12 +02:00
Mathieu Trudel-Lapierre
5ebd1eaa8d
Add 'ubuntu-archive-assistant' tool for proposed-migration / mir review
2018-09-20 09:05:01 +02:00
Mattia Rizzolo
c5bc971f17
Merge branch 'breezy' of https://git.launchpad.net/~jelmer/ubuntu-dev-tools
...
MR: https://code.launchpad.net/~jelmer/ubuntu-dev-tools/+git/ubuntu-dev-tools/+merge/353759
Signed-off-by: Mattia Rizzolo <mattia@debian.org>
2018-09-03 16:11:43 +02:00
Jelmer Vernooij
e763606da0
Recommend Bazaar (brz) or Breezy (brz); the latter provides a command-line compatible interface.
2018-08-26 19:07:04 +01:00
Mattia Rizzolo
a2aacb28ff
Merge branch 'lp1314076' of git+ssh://git.launchpad.net/~freyes/ubuntu-dev-tools
...
MR: https://code.launchpad.net/~freyes/ubuntu-dev-tools/+git/ubuntu-dev-tools/+merge/345774
Signed-off-by: Mattia Rizzolo <mattia@debian.org>
2018-05-18 17:58:34 +02:00
Mattia Rizzolo
0ebcc329a3
Init changelog
...
Signed-off-by: Mattia Rizzolo <mattia@debian.org>
2018-05-18 17:57:30 +02:00
Felipe Reyes
105db5752b
pbuilder-dist: pass one --othermirror when local archive found (LP: #1314076 )
2018-05-18 11:47:35 -04:00
Mattia Rizzolo
bdc647404f
Changelog for 0.165
...
Signed-off-by: Mattia Rizzolo <mattia@debian.org>
2018-05-10 10:41:11 +02:00
Mattia Rizzolo
87e2e1b7aa
drop id-length from gbp.conf, we are not consistently using it anyway
...
Gbp-Dch: Ignore
Signed-off-by: Mattia Rizzolo <mattia@debian.org>
2018-05-10 10:40:44 +02:00
Mattia Rizzolo
607f5a712f
Fix FTBFS due to newest tar being picker about arguments order
...
Closes : #897478
Signed-off-by: Mattia Rizzolo <mattia@debian.org>
2018-05-10 10:38:25 +02:00
Mattia Rizzolo
10299855a5
Bump debhelper compat level to 11.
...
Signed-off-by: Mattia Rizzolo <mattia@debian.org>
2018-05-10 10:38:13 +02:00
Adam Conrad
06fc171980
mk-sbuild: Initialise ubuntu_dist_ge vars so unknown releases work.
2018-04-24 05:28:44 -06:00
Adam Conrad
92822060b2
mk-sbuild: Add ubuntu_dist_ge and use it to set BUILD_PKGS for Ubuntu.
2018-04-24 05:12:33 -06:00
Mattia Rizzolo
1f7b7ea4ff
Changelog for 0.162
...
Signed-off-by: Mattia Rizzolo <mattia@debian.org>
2018-04-05 19:08:10 +02:00
Mattia Rizzolo
eb844a2193
Change Maintainer address to ubuntu-dev-tools@packages.debian.org, to assist with the alioth deprecation
...
Signed-off-by: Mattia Rizzolo <mattia@debian.org>
2018-04-05 19:08:10 +02:00
Mattia Rizzolo
c40050f496
Add a dependency on sensible-utils, as we use sensible-editor(1).
...
Signed-off-by: Mattia Rizzolo <mattia@debian.org>
2018-04-05 18:58:11 +02:00
Mattia Rizzolo
ddbd7f73c3
mk-sbuild: fix syntax error caused by 96d698e4290b
...
Signed-off-by: Mattia Rizzolo <mattia@debian.org>
2018-04-05 18:53:29 +02:00
Mattia Rizzolo
fc0919ed25
mk-sbuild: indent
...
Gbp-Dch: Ignore
Signed-off-by: Mattia Rizzolo <mattia@debian.org>
2018-04-05 18:51:50 +02:00
Mattia Rizzolo
1ea9bce9b1
Set Rules-Requires-Root:no.
2018-04-05 18:51:27 +02:00
Mattia Rizzolo
01906f8371
Drop superseded X-Python(3)-Version fields.
2018-04-05 18:47:14 +02:00
Mattia Rizzolo
e88b4905bf
Bump Standards-Version to 4.1.4, no changes needed.
2018-04-05 18:45:43 +02:00
Scott Kitterman
afd95915e4
Add --backports option to pbuilder-dist to make it easier to build for backports when dependencies from backports are needed
2018-03-24 14:30:19 -04:00
Dimitri John Ledkov
96d698e429
Add support for 'overlay' in favor of older 'overlayfs'.
2018-03-23 02:55:01 +00:00
Mattia Rizzolo
edb49c652c
Fix test failures with newer flake8 and pylint.
...
Closes : #891721
Signed-off-by: Mattia Rizzolo <mattia@debian.org>
2018-03-08 12:56:36 +01:00
Mattia Rizzolo
157411a199
Release 0.161 to unstable.
...
Signed-off-by: Mattia Rizzolo <mattia@debian.org>
2017-07-18 07:43:48 +02:00
Mattia Rizzolo
224b059e30
Bump Standards-Version to 4.0.0, no changes needed.
...
Signed-off-by: Mattia Rizzolo <mattia@debian.org>
2017-07-18 07:43:37 +02: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
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
15841a3df6
Update & finalise changelog
2017-06-13 10:14:17 +01:00
Iain Lane
798a36c2d8
subprocess: Use getfullargspec on python3
2017-06-13 10:13:25 +01:00
Iain Lane
59582ca06e
Releasing 0.159
2017-05-30 11:34:28 +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
d41602ba83
debian/README.source: Add with some instructions about changelog
2017-05-30 10:32:28 +01:00
Iain Lane
44dc0a9d88
debian/gbp.conf: Add gbp-dch configuration
2017-05-30 10:32:07 +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
Iain Lane
4471193d9c
ubuntu-build: Pass the pocket through to the archive permission check
...
So that we can retry builds in releases where the release pocket is frozen -
for example so that backporters can retry backports builds.
2017-05-30 10:12:56 +01:00
Mattia Rizzolo
001d108b96
Recommend cowbuilder, not cowdancer
...
Signed-off-by: Mattia Rizzolo <mattia@debian.org>
2017-05-02 10:51:27 +02: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
Benjamin Drung
6ee0915d3f
Add .gitignore
2017-04-30 22:28:56 +02:00
Anatoly Techtonik
bf52bd6fa3
backportpackage: improve python3 compatibility
...
Signed-off-by: Mattia Rizzolo <mattia@debian.org>
2017-04-30 20:03:07 +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
Mattia Rizzolo
88fbffaf49
Bump debhelper compat level to 10.
...
Signed-off-by: Mattia Rizzolo <mattia@debian.org>
2017-03-30 21:14:28 +02:00
Mattia Rizzolo
3c138f6fe3
Bump Standards-Version to 3.9.8, no changes needed
...
Signed-off-by: Mattia Rizzolo <mattia@debian.org>
2017-03-30 21:13:29 +02:00
Mattia Rizzolo
1c6b989590
Move packaging to git
...
Signed-off-by: Mattia Rizzolo <mattia@debian.org>
2017-03-30 21:13:04 +02:00
Mattia Rizzolo
e55c306a90
Init changelog for 0.159
...
Signed-off-by: Mattia Rizzolo <mattia@debian.org>
2017-03-30 21:12:16 +02:00
Mattia Rizzolo
572f0f0156
retroactively add bug number to changelog
2017-03-30 05:30:28 +02:00
Mattia Rizzolo
e0c6689cb8
Release 0.158 to Debian experimental
2017-03-29 20:08:33 +02:00
Dmitry Shachnev
ab1e334e3e
Close bug #1663601 from the changelog
2017-02-16 13:00:33 +03:00
Dan Streetman
15a9f0e328
pull-uca-source: Update to allow using binary pkg names, -pockets, and specific versions.
2017-02-03 10:49:26 -05: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
Corey Bryant
86b2c25c16
pull-uca-source: Ensure package and openstack release are specified.
2016-10-17 11:10:29 -04:00
Corey Bryant
d67090f752
pull-uca-source: Added to pull source from Ubuntu Cloud Archive.
2016-10-17 09:58:17 -04:00
James Page
e56c0fce43
grep-merges: Use unicode string format for pretty output to deal with
...
non ascii encoding.
2016-08-04 17:15:13 +01:00
Colin Watson
f232d121d2
pbuilder-dist, ubuntu-build: Add s390x.
2016-07-16 10:55:28 +01:00
Martin Pitt
4d07f85874
grep-merges: Do not override author or uploader with None
...
There can be JSON entries which have uploader=None.
2016-05-13 09:04:55 +02:00
Adam Conrad
0575dd0112
mk-sbuild: cp localtime and timezone a little harder (LP: #1569400 )
2016-05-09 00:00:40 -06:00
Adam Conrad
53dc45e6e3
Release to unstable
2016-05-08 23:29:01 -06:00
Luke Faraone
a595624527
mk-sbuild: Add --skip-security, like --skip-updates (LP: #1366721 )
2016-05-08 23:26:53 -06:00
Adam Conrad
139346addf
Add bug reference for last commit
2016-05-08 23:25:08 -06:00
Luke Faraone
bae9b3817d
mk-sbuild: Add a --debootstrap-opts argument for arbitrary options.
2016-05-08 23:18:28 -06:00
Adam Conrad
e903bf03d1
mk-sbuild: Remove references to the obsolete arm architecture, and
...
allow armhf and armel to be native on arm64 systems (LP: #1579619 )
2016-05-08 23:09:55 -06:00
Dmitry Shachnev
3a425de23e
grep-merges: Do not override author or uploader with None
...
There can be JSON entries which have uploader=None, and such entries would
lead to TypeError when trying to use ' '.join().
2016-04-27 13:05:54 +03:00
Benjamin Drung
6fa16dd85e
releasing package ubuntu-dev-tools version 0.155
2015-10-30 23:04:07 +01:00
Benjamin Drung
d140d6423b
Run wrap-and-sort
2015-10-30 22:59:24 +01:00
Benjamin Drung
311f3d9a23
Drop recommending perl-modules. perl-base is enough for dch-repeat and pull-revu-source
2015-10-30 22:58:51 +01:00
Benjamin Drung
a753fedf7b
Install bash completions into /usr/share/bash-completion/completions
2015-10-30 22:56:49 +01:00
Benjamin Drung
de109e65c4
Bump Standards-Version to 3.9.6 (no changes needed)
2015-10-30 22:26:36 +01:00
Benjamin Drung
f7c0e64843
Use https URL to copyright format specification
2015-10-30 22:17:37 +01:00
Benjamin Drung
cb0e15a1e6
Move python*-ubuntutools to section Python
2015-10-30 22:15:38 +01:00
Daniel Holbach
0ef87a90fe
merged lp:~smoser/ubuntu-dev-tools/lp1508948-rmadison-sid-is-unstable
2015-10-26 08:57:45 +01: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
Daniel Holbach
a860b7cbaf
merged lp:~mtmiller/ubuntu-dev-tools/debian-httpredir
2015-08-31 09:51:34 +02: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
91c5ff3bbf
Add changelog entry for the last change
2015-06-14 13:51:38 -06:00
Adam Conrad
f0d22226a9
Allow requestsync/syncpackage to work with either codename or alias
2015-06-14 13:50:28 -06:00
Benjamin Drung
c4e998e165
Remove trailing spaces
2015-01-24 22:29:20 +01:00
Benjamin Drung
30a6d4e304
Fix typos
2015-01-24 22:28:49 +01:00
Dimitri John Ledkov
ba4e195cde
Add python-ubunutools dependency to ubuntu-dev-tools.
2015-01-20 14:18:35 +00: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
9d09768bd1
Fix python3 setup.py clean failing to read unicode from
...
debian/changelog.
2015-01-19 14:08:51 +00:00
Dimitri John Ledkov
dbeddb5559
releasing package ubuntu-dev-tools version 0.154
2014-12-23 17:04:01 +00:00
Dimitri John Ledkov
221867ca37
Add misc depends.
2014-12-23 16:15:40 +00:00
Dimitri John Ledkov
24d9ce3e7c
mk-sbuild: support debootstrap keyring and no-check-gpg
...
options. (Closes: 754327)
2014-12-23 16:14:21 +00:00
Dimitri John Ledkov
427ac0d620
Port ubuntutools module to python3.
2014-12-23 16:12:18 +00:00
Dimitri John Ledkov
149182a3cd
Mock mock more.
2014-12-19 22:54:18 +00:00
Dimitri John Ledkov
124e421b61
There is no python3-soappy yet.
2014-12-19 22:42:46 +00:00
Dimitri John Ledkov
646093d74a
Port ubuntutools module to python3.
2014-12-19 22:37:04 +00:00
Dimitri John Ledkov
e162e7d580
Port ubuntutools library
2014-12-18 23:51:59 +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
Daniel Holbach
a46a78b97f
mk-sbuild: better message for cross build so that new start have
...
correct sbuild command from the last message of mk-sbuild.
2014-07-25 09:50:59 +02:00
Y.C cheng
cbc2e76c74
message fix
2014-07-16 14:46:17 +08:00
Y.C cheng
7f13148ef4
mk-sbuild: better message for cross build, good for new starter
2014-07-16 07:23:54 +08:00
Logan Rosen
bd226fc4e6
pbuilder-dist: Fix yes/no for unknown distribution (LP: #1311884 ).
2014-04-23 17:24:49 -04:00
Benjamin Drung
383cb8afef
releasing package ubuntu-dev-tools version 0.153
2014-04-15 13:39:56 +02:00
Benjamin Drung
1c9762c3eb
Reword changelog entry to make lintian happy.
2014-04-15 13:16:45 +02:00
Benjamin Drung
fbf0dcb259
pbuilder-dist: Store build logs in <source>_<version>_<arch>.build instead of last_operation.log
...
This avoids overwriting build logs.
2014-04-15 13:06:55 +02:00
Benjamin Drung
d850fc8cab
Move Version class into ubuntutools module.
2014-04-15 13:01:16 +02:00
Benjamin Drung
12ee7e71e3
pbuilder-dist: Set different aptcache directories for Debian and Ubuntu.
2014-04-15 12:03:14 +02:00
Benjamin Drung
b0209ce796
pbuilder-dist: PEP 8 fixes.
2014-04-15 11:25:28 +02:00
Benjamin Drung
50e589a239
check-mir: Fix remaining PEP 8 issues (and use future print function).
2014-03-18 23:54:36 +01:00
Benjamin Drung
ad94031d84
Remove trailing spaces.
2014-03-18 23:31:19 +01:00
Robie Basak
02d3f8f3a0
Fix pep8 violation (line length) in previous commit
2014-03-17 08:18:22 +00:00
Robie Basak
c1e3ca14dc
check-mir: correctly parse dependencies with architecture specifications
2014-03-17 08:15:17 +00:00
Stefano Rivera
349ba9ef90
Explicitly use xz compression when building source packages, rather than
...
relying on dpkg >= 1.16.5 behavior.
2014-02-25 23:28:10 +02:00
Stefano Rivera
e21f15865c
* Thanks for the NMU, Paul.
...
* Non-maintainer upload.
* Change debian.tar.gz to debian.tar.xz (Closes : #738413 )
2014-02-25 22:46:10 +02:00
Benjamin Drung
48d0285c93
releasing package ubuntu-dev-tools version 0.152
2014-01-06 22:51:32 +01:00
Benjamin Drung
75fd3b13bf
Bump Standards-Version to 3.9.5.
2014-01-06 22:48:08 +01:00
Dimitri John Ledkov
1ecf020703
* Add ppc64el to valid architectures in pbuilder-dist and ubuntu-build.
...
* Simplify mirror detection in mk-sbuild, all supported releases, all
architectures but i386/amd64 are on ports.ubuntu.com
2013-12-20 15:03:55 +00:00
Benjamin Drung
1ea8a4ef18
releasing package ubuntu-dev-tools version 0.151
2013-10-23 14:12:57 +02:00
Benjamin Drung
b07271fdf8
Remove unused imports.
2013-10-23 00:36:12 +02:00
Dmitrijs Ledkovs
585902ad87
always done from unstable. Adjust requstsync & syncpackage to always
...
default to unstable.
2013-10-22 18:58:48 +01:00
Dmitrijs Ledkovs
6f692c08a1
Fix syncpackage manpage
2013-10-22 18:57:31 +01:00
Dmitrijs Ledkovs
f07c0f8ccb
Since Britney migration was introduced in Ubuntu, automatic syncing is
...
always done from unstable.
2013-10-22 17:04:15 +01:00
Benjamin Drung
0b6ba08175
releasing package ubuntu-dev-tools version 0.150
2013-10-14 22:09:27 +02:00
Benjamin Drung
5a8b4f9682
Switch to debhelper 9.
2013-10-14 22:08:09 +02:00
Dmitrijs Ledkovs
06874a8bad
add arm64 knowledge to mk-sbuild, ubuntu-build, pbuilder-dist.
2013-10-13 21:54:31 +01:00
Brian Murray
cc0e65e51c
fix typo in changelog
2013-08-22 08:46:16 -07:00
Brian Murray
0ee01ef534
ubuntutools/sponsor_patch/sponsor_patch.py: correct grammar regarding
...
which task for the patch, cache bug.id instead of retrieving it up more
than once .
2013-08-22 08:22:55 -07:00
Benjamin Drung
769ccd0f62
releasing version 0.149
2013-08-13 23:12:50 +02:00
Marc Deslauriers
79abf8a50f
* ubuntutools/config.py: properly handle name being None.
2013-08-13 17:01:32 -04:00
Martin Pitt
22a7f51a9a
Only conclude that we don't need an orig tarball if we're sent to the
...
librarian (as opposed to the login page from a private PPA).
(LP: #1106429 )
2013-07-23 12:49:00 +02:00
Evan Broder
2b5e91e32e
Only conclude that we don't need an orig tarball if we're sent to the
...
librarian (as opposed to the login page from a private PPA). (LP:
#1106429 )
2013-07-12 13:38:32 -07:00
Martin Pitt
6b84afdeeb
backportpackage: Fix destination for --dont-sign option. (LP: #1183985 )
2013-05-27 10:20:59 +02:00
Adam Gandelman
a26129d283
backportpackage: Fix destination for --dont-sign option. (LP: #1183985 )
2013-05-24 12:58:12 -07:00
Loïc Minier
ef37995a71
Merge lp:~lool/ubuntu-dev-tools/fix-non-ascii-name; ubuntutools.config: decode
...
developer names with the current locale's encoding and add corresponding test;
fixes handling of non-ascii names.
2013-05-21 14:38:39 +02:00
Loïc Minier
658946c214
Encode the developer name in the current locale to run the test; thanks
...
Stefano Rivera.
2013-05-15 02:18:50 +02:00
Loïc Minier
a41422a7f4
Default to UTF-8 encoding when locale doesn't specify one (as Python defaults
...
to ascii); thanks Stefano Rivera.
2013-05-15 02:10:04 +02:00
Loïc Minier
0aaa0f1f4a
Decode name from environment or from gecos with the locale's encoding and add
...
corresponding regression test; fixes handling of non-ascii developer name like
mine with e.g. syncpackage using it with dpkg-genchanges -e.
2013-05-13 13:58:15 +02:00
Marc Deslauriers
bcdc6abbf8
mk-sbuild: allow specifying the schroot profile.
2013-05-06 09:47:36 -04:00
Benjamin Drung
b809e2deb0
releasing version 0.148
2013-05-05 19:14:58 +02:00
Dmitry Shachnev
9c28d4db7a
Fix a couple of minor errors in manpages AUTHOR sections
2013-04-20 14:09:10 +04:00
Colin Watson
19628caf13
mk-sbuild: Fix comment syntax in proxy configuration (LP: #1163300 ).
2013-04-02 13:55:07 +01:00
Benjamin Drung
eebe632337
releasing version 0.147
2013-03-19 00:43:44 +01:00
Benjamin Drung
7206593bc9
import-bug-from-debian: Move ubuntutools.logger import before possible usage.
2013-03-19 00:43:31 +01:00
Benjamin Drung
c2aa97dba2
Move devscripts.logger to ubuntutools.logger.
2013-03-19 00:18:02 +01:00
Benjamin Drung
70e79d313c
Correct changelog entry.
2013-02-28 13:02:14 +01:00
Benjamin Drung
9715d1de0a
releasing version 0.146
2013-02-27 19:56:21 +01:00
Benjamin Drung
8440cef85b
Bump Standards-Version to 3.8.4 (no changes needed).
2013-02-27 17:55:16 +01:00
Stefano Rivera
374d33464c
mk-sbuild: Use the sbuild schroot profile
2013-02-25 23:29:12 +02:00
Scott Moser
59a79376cb
mk-sbuild: change lvm volume names to include target (LP: #1087194 )
2013-02-13 14:12:06 -05:00
Dmitrijs Ledkovs
c6c7699c86
mk-sbuild: Change cross-chroot's lvm volume names to be inline with non-lvm/sbuild.
2013-02-12 11:03:04 +00:00
Colin Watson
77bde6c1c0
mk-sbuild: Drop -cross from cross-building chroots, in line with sbuild.
2013-02-05 19:46:02 +00:00
Iain Lane
8bcad215ef
Merge trunk
2013-01-16 15:55:02 +00:00
Iain Lane
5d02fe7a3e
sponsor-patch: Allow all supported bare releases now that LP rewrites
...
these to contain '-proposed' for us.
2013-01-16 15:15:50 +00:00
Stefano Rivera
957a73772d
mk-sbuild: Name cross chroots after the build architecture and target
...
(LP: #1087194 )
2013-01-12 15:26:08 +02:00
Stefano Rivera
a3bd35bd0c
seeded-in-ubuntu: Clarify that "not seeded" binary packages may not exist
...
(LP: #1029620 )
2013-01-12 14:34:04 +02:00
Stefano Rivera
d6d933e8d5
Whitespace
2012-12-12 17:25:44 +02:00
Stefano Rivera
8faeb46334
ubuntu-build: Default to DEV-proposed in batch mode. Thanks Scott
...
Kitterman(LP: #1088010 )
2012-12-12 17:25:20 +02:00
Stefano Rivera
5f3e359ab6
backportpackage: Check that dput is installed when uploading (LP: #1086342 )
2012-12-04 16:01:51 +02:00
Stefano Rivera
d9763747d3
Python style
2012-12-03 13:15:27 +02:00
Stefano Rivera
a23998a8f3
backportpackage: Don't ignore -k (LP: #1083688 )
2012-12-03 13:13:46 +02:00
Stefano Rivera
fabb0119ef
pbuilder-dist: Build with -proposed enabled for Ubuntu dev releases.
...
Thanks Scott Kitterman (LP: #1082452 )
2012-12-02 12:20:02 +02:00
Julian Taylor
487bc3a3c9
stop suggesting ipython, lp-shell has been moved to lptools
2012-11-24 21:36:34 +01:00
Benjamin Drung
b84b312f44
setup-packaging-environment: update developer guide URL (LP: #1068049 )
2012-11-10 19:21:10 +01:00
Benjamin Kerensa
71f84d4499
Remove Extra Whitespace
2012-11-09 13:08:05 -08:00
Benjamin Kerensa
d04722f799
Fix Changelog Version
2012-11-09 13:05:03 -08:00
Benjamin Kerensa
c3baa6ecbb
Fix setup-packaging-environment developer guide url
2012-11-09 03:09:49 -08:00
Dmitrijs Ledkovs
5575d70531
dgetlp: drop it, and hence remove python-gnupginterface dependency.
2012-11-09 11:02:01 +00:00
Benjamin Drung
34ca8072ff
sponsor-patch: Use ubuntu profile when running lintian.
2012-11-08 20:43:55 +01:00
Stefano Rivera
60e063e484
Visually separate the debdiff a little
2012-11-08 10:10:26 +02:00
Stefano Rivera
a9c0df9627
sponsor-patch: Handle staging environment branch URLs
2012-11-06 23:51:59 +02:00
Stefano Rivera
925e1c787e
Upload to experimental
2012-11-06 22:58:50 +02:00
Stefano Rivera
07c09fee81
Use the right suite in cross-builds too
2012-11-06 11:48:51 +02:00
Stefano Rivera
143027d9fc
Enable the proposed pocket by default
2012-11-06 11:45:24 +02:00
Stefano Rivera
18c8eaddb4
Update copyright for mk-sbuild changes
2012-11-05 10:40:42 +02:00
Stefano Rivera
a87e0b6b80
Move Steve's changelog entry to the right release
2012-10-31 17:39:06 +01:00
Steve Langasek
fd4dde338a
Initial support for setting up cross-build chroots.
2012-10-31 14:30:02 +01:00
Steve Langasek
266e9a2df1
Add missing documentation for new --target option
2012-10-31 14:08:59 +01:00
Steve Langasek
a8c89ab3fc
Also add dpkg-cross; this is the agreed package to hold things like config.site
...
overrides for cross-building.
2012-10-31 14:01:14 +01:00
Steve Langasek
9ec2dda809
Add pkg-config-$target_tuple to the cross-build package list, per Wookey's
...
comments on the contents of the pending cross-build-essential.
2012-10-30 15:03:26 +01:00
Stefano Rivera
e15667aa2f
requestsync: We now sync to proposed (LP: #1073060 )
2012-10-30 10:18:17 +01:00
Stefano Rivera
87d76c813a
syncpackage: Don't throw away release pockets, returning correct errors
...
when the source and destination match even though the destination release
pocket doesn't.
2012-10-30 09:41:56 +01:00
Stefano Rivera
d826cd20e0
Comment typo
2012-10-29 09:05:28 +01:00
Stefano Rivera
4dc40f4f4a
Upload to experimental, due to the freeze
2012-10-29 09:02:44 +01:00
Steve Langasek
0d32f2f838
changelog entry
2012-10-29 01:39:23 +01:00
Steve Langasek
6844b5aa48
suppress the eternally annoying warning message from dpkg-architecture
2012-10-28 18:33:04 +01:00
Steve Langasek
c6c7cc7c1f
Initial support for setting up cross-build chroots.
2012-10-28 18:18:04 +01:00
Colin Watson
cc55071afd
syncpackage: Default to <current_series>-proposed.
2012-10-25 16:58:10 +01:00
Stefano Rivera
1c698ff626
While we're there, Updates is derived from Proposed
2012-10-22 22:09:31 +02:00
Stefano Rivera
24e1161d3c
syncpackage, requestsync: Check the Release pocket if we can't find an
...
Ubuntu package in the requested pocket. (LP: #1069867 )
2012-10-22 21:42:58 +02:00
Stefano Rivera
0adca3f7a1
Use the same construction as pull-debian-source
2012-10-17 22:15:50 +02:00
Stefano Rivera
586197d591
pull-lp-source: Catch errors parsing JSON we got from DDE (LP: #1059848 )
2012-10-17 22:14:23 +02:00
Stefano Rivera
73461fca08
ubuntutools.question: Catch EOF and SIGINT on all input and bail out.
...
(LP: #1037488 )
2012-10-08 11:17:50 +02:00
Stefano Rivera
e30a6e51a7
sponsor-patch: Don't fall over bugs targetted at the development release
...
(LP: #936014 )
2012-08-17 22:44:21 +02:00
Benjamin Drung
f29e729852
sponsor-patch: Fix crash if Debian patch contains a slash.
2012-08-01 15:16:34 +02:00
Benjamin Drung
9baf39a262
seeded-in-ubuntu: State in error message that it takes a source package.
...
LP: #1029155
2012-07-26 21:40:49 +02:00
Stefano Rivera
b3f16cbee2
* requestbackport:
...
- Avoid duplicate Reverse-Build-Deps when sources build binaries of the
same name.
- Explain that backports aren't to fix bugs.
2012-07-18 12:53:50 +02:00
Stefano Rivera
d3971342d8
request-backport: Avoid duplicate Reverse-Build-Deps when sources build
...
binaries of the same name.
2012-07-18 12:45:47 +02:00
Stefano Rivera
73acf77646
seeded-in-ubuntu Inform the user when we couldn't determine binary
...
packages built by a source package, as it most recently FTBFS.
2012-07-18 12:28:35 +02:00
Stefano Rivera
c946f9457f
sponsor-patch: 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:27:00 +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
Benjamin Drung
9b5cfb114d
releasing version 0.143
2012-06-22 13:34:50 +02:00
Benjamin Drung
fd07e8e831
Add a man page for the reverse-build-depends wrapper script.
2012-06-22 13:34:18 +02:00
Stefano Rivera
605b27a550
submittodebian; Unset DEBEMAIL when building source package.
...
(LP: #1015066 )
2012-06-20 22:44:12 +02:00
Stefano Rivera
4056e98a43
ubuntutools.archive: Improve error handling around rmadison calls
...
(LP: #1010951 )
2012-06-20 22:32:20 +02:00
Stefano Rivera
fa83ac6b0b
seeded-in-ubuntu: Catch errors in parsing data, and don't keep unreadable
...
data cached (LP: #1008783 )
2012-06-20 22:28:35 +02:00
Stefano Rivera
139e5dfda7
backportpackage.1: Document --key and --dont-sign (LP: #1007564 )
2012-06-20 22:24:04 +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
Stefano Rivera
1804158370
Correct metavar for --mirror in backportpackage (LP: #999727 )
2012-06-20 22:13:49 +02:00
Stefano Rivera
28b475ce7b
We now have a bug for the source: -> -source change
2012-06-20 22:02:53 +02:00
Stefano Rivera
b51dddcdc4
Correct spelling mistakes in package description, thanks Logan Rosen for
...
the patch (Closes : #678245 )
2012-06-20 11:40:07 +02:00
Stefano Rivera
c0708dd41b
pbuilder-dist: Don't try to enable -updates for the current codename
...
referring to Debian testing, either (LP: #1011870 )
2012-06-19 16:42:59 +02:00
Martin Pitt
3eff164421
Corrected brackets in man-page for sponsor-patch.
2012-06-18 16:36:07 +02:00
Stefano Rivera
d45bb86bcd
Work when there's no DEBEMAIL too
2012-06-17 19:54:40 +01:00
Iain Lane
024e48dcba
backportpackage: Unset DEBEMAIL when building source package. Fixes error
...
when building backports for packages with no Ubuntu changes. (LP: #1007042 )
2012-06-17 19:50:15 +01:00
Iain Lane
2861c54ad7
backportpackage: Unset DEBEMAIL when building source package.
...
Fixes error when building backports for packages with no Ubuntu changes. This
happens because Ubuntu has a policy of requiring that the Maintainer field of
Ubuntu-modified packages be set to an @ubuntu.com address. Normally this is a
warning, except when the uploader (determined by DEBEMAIL) is @ubuntu.com. In
that case it's an error and the source package build is aborted. We don't want
this behaviour for backports, so unset DEBEMAIL to make the error a warning
again.
LP: #1007042
2012-06-13 23:21:17 +01:00
Mathieu Trudel-Lapierre
e43486d4a1
mk-sbuild: use and update messages to suggest using the source:$chroot way
...
of referring to source chroots instead of $chroot-source; since the latter
does not work with btrfs snapshot-based chroots.
2012-06-06 17:48:12 +01:00
Mathieu Trudel-Lapierre
885c0f90ec
mk-sbuild: use and update messages to suggest using the source:$chroot way
...
of referring to source chroots instead of $chroot-source; since the latter
does not work with btrfs snapshot-based chroots.
2012-06-06 09:55:08 -04:00
Stefano Rivera
aa2730f07f
backportpackage: Fix filenames searched when looking for existing
...
.orig.tar.foo files (to determine if we need to upload it again or not).
(LP: #1007908 )
2012-06-03 00:57:29 +01:00
Iain Lane
f521caa013
backportpackage: Fix filenames searched when looking for existing .orig.tar.foo files
...
(to determine if we need to upload it again or not).
We need to look for package_upstreamversion.orig.tar.foo, not
package_fullversion.orig.tar.foo.
LP: #1007908
2012-06-02 20:34:20 +01:00
Stefano Rivera
026272428d
Upload to unstable
2012-05-28 23:36:09 +01:00
Benjamin Drung
337917c4d9
Break long lines into two commands.
2012-05-27 00:46:24 +02:00
Stefano Rivera
93fbe4c71c
Update sponsor-patch to use the new API resulting from this change
...
(LP: #1002999 )
2012-05-25 12:15:33 +01:00
Stefano Rivera
c759e49570
We have a bug for outdated distro-info, let's close it
2012-05-22 15:12:35 -07:00
Evan Broder
cdde59f436
Typo fix
2012-05-13 14:06:09 -07:00
Evan Broder
4ef5a12e60
backportpackage: Pass -v to debuild with last published version
...
number. This matches the way backports have traditionally been
generated by archive admins.
2012-05-13 14:05:53 -07:00
Evan Broder
3136efc10d
backportpackage: Switch to ~ubuntu12.04.1-style version numbers
...
instead of ~precise1, to make our version numbers more future-proof.
2012-05-13 13:49:49 -07:00
Stefano Rivera
4f66ed834b
Move reportbug existance check after argument parsing
2012-05-12 19:21:39 -07:00
Stefano Rivera
0f5ab96310
* check-mir, check-symbols, grep-merges, pbuilder-dist-simple,
...
setup-packaging-environment, submittodebian, ubuntu-iso:
Do enough argument parsing to handle --help (LP: #988009 )
* dgetlp: Require a UTF-8 locale, or it'll crash when displaying errors
(LP: #979117 )
* pbuilder-dist: Don't try to enable -updates for Debian testing
(LP: #993006 )
* 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.
* backportpackage: Avoid uploading orig tarballs if they are already present
in the destination PPA (LP: #691897 )
* Allow mk-sbuild to be run by root if a configuration file exists
(LP: #888736 )
* backportpackage: Allow unsigned backports (LP: #992739 )
* update-maintainer: Add a function to restore the original maintainer.
* submittodebian: Revert Ubuntu Maintainer mangling, and re-build the source
package before diffing. (LP: #902233 )
2012-05-11 18:13:04 -07:00
Evan Broder
fdbf495f15
backportpackage: Add -c, --close flag to include a changelog closer.
2012-05-11 09:56:19 -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
d692d7b79b
update-maintainer: Add a function to restore the original maintainer.
2012-05-06 19:42:39 +02:00
Stefano Rivera
ebe44bf04e
backportpackage: Allow unsigned backports (LP: #992739 )
2012-05-06 13:09:54 +02:00
Stefano Rivera
b84c4d8530
Allow mk-sbuild to be run by root if a configuration file exists
...
(LP: #888736 )
2012-05-06 12:40:47 +02:00
Stefano Rivera
314ed77d77
backportpackage: Avoid uploading orig tarballs if they are already present
...
in the destination PPA (LP: #691897 )
2012-05-06 12:32:54 +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
4dbde5f886
pbuilder-dist: Don't try to enable -updates for Debian testing
...
(LP: #993006 )
2012-05-06 08:36:37 +02:00
Stefano Rivera
165bb84bf5
dgetlp: Require a UTF-8 locale, or it'll crash when displaying errors
...
(LP: #979117 )
2012-05-06 06:27:32 +02:00
Stefano Rivera
e47a99c42a
setup-packaging-environment: Display help
2012-05-06 06:06:41 +02:00
Stefano Rivera
2a2e420353
pbuilder-dist-simple: Display help
2012-05-06 06:03:14 +02:00
Stefano Rivera
ed96c35dc1
grep-merges: Use optparse to display --help
2012-05-06 05:24:14 +02:00
Stefano Rivera
927947841c
ubuntu-iso: Use optparse to display --help
2012-05-06 05:18:05 +02:00
Stefano Rivera
d69622fa9c
check-symbols: Use optparse to display --help
2012-05-06 05:12:40 +02:00
Stefano Rivera
b26dbaee68
check-mir: Use optparse to display --help
2012-05-05 19:37:41 +02:00
Stefano Rivera
083d44f676
submittodebian: Use optparse to display --help (LP: #988009 )
2012-05-05 19:34:02 +02:00
Stefano Rivera
b8a2ca9e5a
pbuilder-dist: improve bash_completion for *.dsc files. Thanks Maarten
...
Bezemer. (Closes : #670924 , LP: #770529 )
2012-04-30 16:10:58 +02:00
Stefano Rivera
71aab84949
mk-sbuild: Support kmod, when checking for overlayfs availability.
2012-04-25 17:40:33 +02:00
Stefano Rivera
4019f98594
Upload to unstable
2012-04-12 23:47:02 +02:00
Stefano Rivera
42d9c851f1
syncpackage: Log into Launchpad anonymously with --no-lp
2012-04-12 18:31:36 +02:00
Stefano Rivera
b05cbfd8f9
seeded-in-ubuntu: Log into launchpad anonymously (LP: #979849 )
2012-04-12 18:23:00 +02:00
Stefano Rivera
36088bad6c
Upload to unstable
2012-03-29 00:02:00 +02:00
Stefano Rivera
42a76abaa7
Catch SeriesNotFoundException and display a friendly error (LP: #963888 )
2012-03-28 23:51:17 +02:00
Stefano Rivera
d9bf247dee
* requestsync:
...
- New packages from non-free or contrib go into multiverse (LP: #935643 )
2012-03-28 23:43:29 +02:00
Stefano Rivera
18f3109cee
* backportpackage
...
- Prompt to delete existing workdirs (LP: #885514 )
- Support a BACKPORTPACKAGE_UPLOAD configuration/enviornment variable
(LP: #693217 )
2012-03-28 23:25:33 +02:00
Stefano Rivera
3c81209b34
backportpackage: Prompt to delete existing workdirs (LP: #885514 )
2012-03-28 14:47:30 +02:00
Stefano Rivera
ecc9501387
pull-debian-source: Handle JSON parsing failures in DDE responses
2012-03-28 14:27:37 +02:00
John S Gruber
6e7a7bac35
Don't use --override-config with operations other than update. (LP: #409696 )
2012-03-26 10:42:09 +02:00
Stefano Rivera
c58f620d09
Update the ubuntutools.archive test suite to handle the proxy change.
2012-03-26 10:02:41 +02:00
Stefano Rivera
52fc42ca8f
Make ubuntutools.archive a little more testable, by making its urlopener an
...
instance property.
Replace these with mocks, as needed, rather than mocking out urllib2.urlopen.
Makes the test suite pass again.
2012-03-26 10:00:46 +02:00
Stefano Rivera
872957da4e
Whitespace
2012-03-26 09:41:05 +02:00
Martin Pitt
790fb3a31a
pbuilder-dist: Do not force default value for --aptcache
argument
...
(LP: #956903 )
2012-03-19 06:41:55 +01:00
Daniel Holbach
63aedf6912
merged lp:~blueyed/ubuntu-dev-tools/use-proxy-for-download
2012-03-18 20:25:06 +01:00
Daniel Hahler
ee569590a6
ubuntutools/archive.py: use ProxyHandler in _download_file.
...
This makes use of the system proxy (e.g. http_proxy).
2012-03-16 16:22:14 +01:00
Daniel Hahler
dead85ee75
pbuilder-dist: Do not force default value for --aptcache
argument
...
Instead of passing the default from /usr/share/pbuilder/pbuilderrc to
pbuilder, let it be configured from the config files, e.g. ~/.pbuilderrc.
(LP: #956903 )
2012-03-16 14:49:32 +01:00
Evan Broder
2e9d81bdda
Add KEYID config var to be specified package-globally
...
The KEYID variable is currently supported by 3 scripts: requestsync,
sponsor-patch, and syncpackage
2012-03-03 15:54:35 -08:00
Stefano Rivera
346aae9d42
pbuilder-dist: Use the same chroot, whether the system-architecture was
...
the supplied architecture or was chosen by default (LP: #943435 )
2012-02-29 23:23:05 +02:00
Benjamin Drung
0eb6010448
Add missing slash in copyright format URL.
2012-02-25 15:42:08 +01:00
Stefano Rivera
40380a96c4
* Bump Standards-Version to 3.9.3, no changes needed.
...
* Update machine-readable copyright Format to 1.0.
2012-02-25 16:11:55 +02:00
Stefano Rivera
b5bec951c0
Upload to unstable
2012-02-15 17:38:42 +02:00
Stefano Rivera
f17b90d30c
reverse-build-depends: Don't break during --help unit tests in a minimal environment
2012-02-15 17:30:11 +02:00
Stefano Rivera
b1eda34239
Actually add reverse-build-depends
2012-02-15 17:24:36 +02:00
Stefano Rivera
767951addb
backportpackage: Map Debian release aliases to codenames (LP: #918231 )
2012-02-15 16:57:17 +02:00
Stefano Rivera
fdbb9b345c
Provide transitional reverse-build-depends wrapper to help users
...
discover reverse-depends. (LP: #910420 )
2012-02-15 16:42:58 +02:00
Stefano Rivera
2afe15c4a3
pbuilder-dist: Pass DEB_BUILD_OPTIONS through (LP: #685786 )
2012-02-15 16:24:14 +02:00
Stefano Rivera
f363b745ff
pbuilder and cowbuilder live in sbin
2012-02-15 16:21:00 +02:00
Stefano Rivera
30da459114
Check for dependencies that the package doesn't Depend on. Recommend
...
dput, lintian, patch, quilt. (LP: #846385 )
2012-02-15 16:10:43 +02:00
Stefano Rivera
948032d8a3
Support syncs from a non-default series (LP: #931644 )
2012-02-15 15:16:30 +02:00
Stefano Rivera
aafcbd082e
sponsor-patch: Support syncs of new packages.
2012-02-15 15:05:46 +02:00
Stefano Rivera
03e13834b9
sponsor-patch, requestsync, syncpackage: Add a config variable for -k
...
arguments.
2012-02-14 01:22:38 +02:00
Evan Broder
cb225bd8f2
sponsor-patch, requestsync, syncpackage: Add a config variable for -k arguments
2012-02-11 11:59:46 -08:00
Stefano Rivera
08754a3c71
* reverse-depends: Now that Debian is supported server-side:
...
- Convert Debian release aliases to codenames.
- Default to the devel release of the vendor distribution.
2012-02-08 12:06:32 +02:00
Stefano Rivera
d373b65c3e
attribution
2012-02-08 01:07:00 +02:00
Stefano Rivera
0713ff4f94
pbuilder-dist: Export DISTRIBUTION and ARCHITECTURE as well as DIST and
...
ARCH. (Closes : #659060 , LP: #423609 )
2012-02-08 01:05:15 +02:00
Alessio Treglia
4e8e44a788
The same of the previous commit, replace ARCH with ARCHITECTURE (as per pbuilderrc's manpage)
2012-02-07 22:27:09 +01:00
Alessio Treglia
f245b24f30
Use DISTRIBUTION instead of DIST to override the default distribution of {p,cow}builder-dist.
...
Closes : #659060
2012-02-07 22:14:13 +01:00
Stefano Rivera
a9386ef070
Improve error message when LP's package importer is out of date
2012-01-23 16:51:19 +02:00
Stefano Rivera
682f5859ae
Re-add dgetlp. Still needed for downloading source packages from +queue.
...
(LP: #919805 )
2012-01-22 21:26:39 +02:00
Stefano Rivera
a0a25fc6ea
sponsor-patch: Determine the task from the UDD branch.
2012-01-09 22:03:28 +02:00
Stefano Rivera
e44205bb33
bzr bd argument order matters
2012-01-09 21:44:06 +02:00
Stefano Rivera
f124357734
syncpackage, backportpackage, sponsor-patch: Use -nc when building source
...
packages. Avoids needing build-deps on the build machine.
2011-12-23 22:34:54 +02:00
Benjamin Drung
69d226d489
releasing version 0.138
2011-12-21 22:38:52 +01:00
Stefano Rivera
12329170f1
syncpackage: Mention sponsorship when closing bugs (LP: #904288 )
2011-12-21 23:18:22 +02:00
Benjamin Drung
9e1a6f6ff9
backportpackage: Drop unused imports.
2011-12-21 22:13:25 +01:00
Benjamin Drung
bbfbfd8956
Allow user to override sanity checks (LP: #896733 ).
2011-12-21 22:09:53 +01:00
Stefano Rivera
e1e13bbfdc
Wrong bug
2011-12-21 22:50:34 +02:00
Stefano Rivera
705335a220
backportpackage: Add --release-pocket option, rather than relying entirely
...
on heuristics (Closes : #652000 )
2011-12-21 22:49:24 +02:00
Benjamin Drung
3f6eb545e2
sponsor-patch: Check if the sponsored bug is marked as duplicate (LP: #896733 ).
2011-12-21 21:44:22 +01:00
Stefano Rivera
fb44f55379
Remove redundant optparse parameters from backportpackage
2011-12-21 22:31:33 +02:00
Stefano Rivera
edea7a2b9c
Remove blatent lie from ubuntu-build's manpage
2011-12-20 02:02:22 +02:00
Stefano Rivera
d3144ea253
mk-sbuild: Don't install devscripts by default (LP: #904502 )
2011-12-16 15:33:11 +02:00
Stefano Rivera
3f1644fad6
Correct reference to qemu-user-static in pbuilder-dist.1 ( Closes : #651999 )
2011-12-16 15:08:10 +02:00
Benjamin Drung
58e6dfbbdb
sponsor-patch: Use syncpackage instead of subscribing ubuntu-archive for sync requests, because syncpackage supports sponsorship now.
2011-12-10 12:51:53 +01:00
Stefano Rivera
9482e7b9f9
Upload to unstable
2011-12-09 12:59:49 +02:00
Stefano Rivera
919f091820
syncpackage: Support sponsorship for native-syncs, now that LP does.
2011-12-09 10:55:18 +02:00
Stefano Rivera
34efc162a2
And another rename, let this be the last
2011-12-09 00:23:07 +02:00
Scott Moser
c4a2361451
mk-sbuild: fix embarrasing bad logic error in http_proxy usage. Thanks Scott
2011-12-08 11:04:54 +01:00
Scott Moser
3f08738b67
mk-sbuild: fix embarrasing bad logic error in http_proxy usage
...
The logic here is simply wrong, and it would result in setting
proxy to empty value if DEBOOTSTRAP_PROXY or http_proxy was
non-empty.
2011-12-08 02:23:09 -05:00
Stefano Rivera
671fcab5c8
New Tool: ubuntu-is-seeded: Query a package's seed status. Whether it is on current daily images and/or part of the supported seed.
2011-12-08 03:00:12 +02:00
Stefano Rivera
067fd52b5c
binpkg (from srcpkg) is ...
2011-12-08 00:29:20 +02:00
Stefano Rivera
a3f9eeed9f
Verboser output, but without duplication. This should please bdrung
2011-12-08 00:27:58 +02:00
Stefano Rivera
8e341da95c
Merge from trunk
2011-12-08 00:03:37 +02:00
Stefano Rivera
df04e14503
New URL for the data
2011-12-08 00:01:56 +02:00
Stefano Rivera
784efd7053
Rename again
2011-12-07 23:55:17 +02:00
Stefano Rivera
75c139ace8
The parameter is sponsored
2011-12-07 15:46:21 +02:00
Stefano Rivera
a55229619e
Pass the launchpadlib person object to copyPackages
2011-12-07 15:46:09 +02:00
Stefano Rivera
e4fcb01b6a
Whoops, changed an option name, but not its variable
2011-12-07 01:29:16 +02:00
Stefano Rivera
8178324266
Make syncpackage print a warning when --no-lp is used
2011-12-07 01:23:06 +02:00
Stefano Rivera
73f2273d71
Typo
2011-12-07 01:19:02 +02:00
Stefano Rivera
198d5a8720
Correct logic for obtaining email address for --no-lp sponsorship syncs
2011-12-07 01:18:24 +02:00
Stefano Rivera
6ad66e3d42
re-wrap changelog
2011-12-07 01:09:07 +02:00
Stefano Rivera
90628d7ee7
Changelog entry
2011-12-07 01:07:58 +02:00
Stefano Rivera
bba53d9f7a
Corrosponding manpage improvements
2011-12-07 01:07:28 +02:00
Stefano Rivera
c289c20b88
Spelling
2011-12-07 01:03:35 +02:00
Stefano Rivera
8ca2144a74
--no-lp *itself* could get some love, too
2011-12-07 00:51:48 +02:00
Stefano Rivera
b771bf89b0
Clarify --no-lp
2011-12-07 00:48:13 +02:00
Stefano Rivera
79e525d260
Break up some long lines into multiple statements
2011-12-07 00:42:34 +02:00
Stefano Rivera
dc9d6b5bf3
Add sponsorship support
2011-12-07 00:23:22 +02:00
Stefano Rivera
1f2d2e8d62
Pyflakes & PEP-8 fine-tooth comb applied
2011-12-07 00:14:00 +02:00
Stefano Rivera
857778b922
Remove unecessary optparse clutter
2011-12-07 00:01:08 +02:00
Stefano Rivera
86ba4c99ca
move --no-lp options into their own group
2011-12-06 23:37:25 +02:00
Stefano Rivera
b4e0849690
un-copy-paste a little
2011-12-06 00:29:32 +02:00
Stefano Rivera
f4793f0df0
Tighter output
2011-12-06 00:24:11 +02:00
Stefano Rivera
7d5efa8a76
Rename to ubuntu-safe-to-upload
2011-12-05 22:49:10 +02:00
Stefano Rivera
89e15a2f5d
New Tool: ubuntu-upload-permission: Query upload permissions (LP: #876554 )
2011-12-04 00:53:37 +02:00
Stefano Rivera
2da0560c68
Mention backportpackage in debian/control
2011-12-04 00:45:26 +02:00
Stefano Rivera
973e1b51c1
Missed update-maintainer
2011-12-04 00:42:09 +02:00
Stefano Rivera
4988d36ba2
Extra bits
2011-12-04 00:39:40 +02:00
Stefano Rivera
a22f4eebab
Rename again
2011-12-04 00:35:49 +02:00
Stefano Rivera
405a3c3327
non-release pockets are ok for non-dev releases
2011-12-04 00:31:23 +02:00
Stefano Rivera
ff644a2ca1
Actually, skip all upload rights when the release is non-dev
2011-12-04 00:26:59 +02:00
Stefano Rivera
25694bdfdd
Don't list None as a release
2011-12-04 00:26:39 +02:00
Stefano Rivera
dcef46eeea
Don't list component upload rights for non-dev series
2011-12-04 00:20:06 +02:00
Stefano Rivera
3a403daf6b
Tweak minimal output
2011-12-04 00:18:23 +02:00
Stefano Rivera
09a870fa43
Some error handling (and other bits)
2011-12-04 00:09:51 +02:00
Stefano Rivera
d420a25b94
Pocket awareness
2011-12-04 00:08:08 +02:00
Stefano Rivera
58ee0de242
Catch PackageNotFoundException
2011-12-03 23:51:24 +02:00
Stefano Rivera
0d2d356ddb
Break up main()
2011-12-03 23:50:11 +02:00
Stefano Rivera
6ef82feac4
Manpage and other accoutrements
2011-12-03 23:36:10 +02:00
Stefano Rivera
710aa8aa5a
Rename tool, and make output less verbose by default
2011-12-03 23:26:12 +02:00
Stefano Rivera
3ea5038905
PEP8 and docstring improments
2011-12-03 22:44:13 +02:00
Stefano Rivera
89192f4e69
UI tweaks
2011-12-03 22:37:55 +02:00
Stefano Rivera
121af2e631
requestsync: Give user option to retry in case of temporary error (LP: #850360 )
2011-12-03 22:07:41 +02:00
Stefano Rivera
e68d3a699d
Bump logging level of 'connecting' message
2011-12-03 22:07:18 +02:00
Stefano Rivera
9442e2ea30
Catch response exceptions in the DATA phase
2011-12-03 22:06:49 +02:00
Stefano Rivera
899d1b5361
Use tempfile
2011-12-03 21:57:11 +02:00
Andreas Moog
8a6502aaa4
Use regex to filter unwanted characters in filename
2011-12-03 18:09:49 +01:00
Andreas Moog
32a85dc172
Add a exception for disconnected server
2011-12-03 18:01:55 +01:00
Stefano Rivera
30cb57b32c
Initial pkg-on-images tool
2011-12-03 17:02:47 +02:00
Andreas Moog
d18a35c449
Also allow retry if recipient got rejected
2011-12-03 11:57:18 +01:00
Andreas Moog
12030d99e9
Use bugtitle as temporary filename
2011-12-03 11:12:11 +01:00
Andreas Moog
fce947e0f4
Merge trunk
2011-12-03 10:32:36 +01: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
Andreas Moog
9199747fc3
Space after comma
2011-12-02 20:06:57 +01:00
Andreas Moog
6c36b6dd6c
Merge trunk
2011-12-02 20:06:16 +01:00
Stefano Rivera
e556fdae00
New Tool: who-can-upload (LP: #876554 )
2011-12-02 18:59:46 +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
Stefano Rivera
75067b3cf3
Add getPublishedBinaries to lpapicache.Archive
2011-12-02 15:01:19 +02:00
Christopher James Halse Rogers
88fe0e1bb8
grep-merges: Use UTF-8 encoding
2011-12-02 12:15:27 +11:00
Andreas Moog
3fca602809
grep-merges: We already require a UTF-8 enabled terminal, so encode
...
package and uploader name in UTF-8 (LP: #694388 )
2011-11-30 21:05:17 +01:00
Andreas Moog
9d227eb205
Merge with trunk
2011-11-29 20:21:44 +01:00
Andreas Moog
0e3a831df9
Use Logger.normal
2011-11-29 20:20:25 +01:00
Stefano Rivera
fc9ddd974e
mk-sbuild, pbuilder-dist, ubuntu-build: Add armhf.
2011-11-29 11:42:40 +02:00
Andreas Moog
10e9b18ca7
Save a temporary file in case sending fails
2011-11-28 20:50:28 +01:00
Andreas Moog
d9c00752c0
Wrap long line
2011-11-28 19:53:23 +01:00
Andreas Moog
1034cd0cb4
Merge with trunk
2011-11-27 22:14:59 +01:00
Andreas Moog
677e1b8e4e
requestsync: Give user option to retry in case of temporary error (LP: #850360 )
2011-11-27 22:14:05 +01:00
Stefano Rivera
ea962ee2ac
sponsor-patch: Check permission to unsubscribe sponsors-team (LP: #896884 )
2011-11-27 21:02:48 +02:00
Andreas Moog
73843307f0
Use variable for caching, not lpapicache
2011-11-27 19:46:53 +01:00
Andreas Moog
053b4dcc30
[sponsor-patch] Use api cache for sponsors-team
2011-11-27 17:38:41 +01:00
Andreas Moog
5f27c4c1e7
sponsor-patch: Check permission to unsubscribe sponsors-team (LP: #896884 )
2011-11-27 16:47:38 +01:00
Andreas Moog
20e757b2a5
* sponsor-patch: Build a source package for lintian to run on, when not
...
test-building syncs.
* sponsor-patch: Check the bug's title, not the task, when determining
source series for syncs.
2011-11-27 16:40:16 +01:00
Stefano Rivera
42e8c8b643
sponsor-patch: Check the bug's title, not the task, when determining
...
source series for syncs.
2011-11-27 17:30:14 +02:00
Stefano Rivera
d0f707f33d
sponsor-patch: Build a source package for lintian to run on, when not
...
test-building syncs.
2011-11-27 17:20:58 +02:00
Stefano Rivera
83f9fba796
whitespace...
2011-11-27 17:20:40 +02:00
Andreas Moog
8d551acfb5
Correct syntax error
2011-11-27 16:00:05 +01:00
Andreas Moog
7ed4347de5
sponsor-patch: Check permission to unsubscribe sponsors-team (LP: #896884 )
2011-11-27 15:54:53 +01:00
Stefano Rivera
d30ffe59bc
Improve error message when sponsor-patch is called without -s, for a sync
2011-11-27 15:55:56 +02:00
Stefano Rivera
e56edac012
Correct changelog versioning, remove unecessary entry
2011-11-25 16:20:22 +02:00
Stefano Rivera
8d83b9b1de
EditBugReport: Correct typo.
2011-11-25 15:46:48 +02:00
Stefano Rivera
430fc81aab
Check that there are published binaries (i.e. not stuck in bin-NEW).
2011-11-25 15:40:05 +02:00
Stefano Rivera
9ba1790863
pull-lp-source, requestbackport: Take the latest version from any
...
non-backports pocket. Implemented by making lpapicache's getSourcePackage
smarter.
2011-11-23 01:45:49 +02:00
Stefano Rivera
7dfb6c3ed7
requestbackport: Check for existing backport bugs first.
2011-11-22 23:48:30 +02:00
Stefano Rivera
70a035f13d
Use httplib2 everywhere that we do https. The python stdlib doesn't do
...
certificate verification.
2011-11-22 15:57:02 +02:00
Stefano Rivera
b70681960f
Remove dgetlp. No longer needed.
2011-11-22 14:39:50 +02:00
Stefano Rivera
5920bb9b35
mk-sbuild: Make --eatmydata command line flag actually work.
2011-11-21 09:47:46 +02:00
Stefano Rivera
af440c1703
Remove all newlines from titles
2011-11-16 15:47:58 +02:00
Stefano Rivera
41917433bd
Sign changelog as me
2011-11-16 14:33:18 +02:00
Stefano Rivera
8c63520bac
Upload to unstable, some nasty regressions
2011-11-16 14:32:12 +02:00
Stefano Rivera
31e6991f24
EditBugReport: Don't include a newline in the bug title.
2011-11-16 14:31:35 +02:00
Stefano Rivera
26ff36479a
EditFile: Don't try and store temporary files in /usr/bin.
2011-11-16 13:57:27 +02:00
Stefano Rivera
fc669d8645
mk-sbuild: debootstrap with all components, so that eatmydata can be
...
installed.
2011-11-16 13:53:29 +02:00
Stefano Rivera
c85373f911
mk-sbuild,doc/mk-sbuild.1: aufs may still be used if overlayfs isn't
...
available (as is the case on Debian).
2011-11-16 13:52:18 +02:00
Marc Deslauriers
08afc2a0a9
mk-sbuild,doc/mk-sbuild.1: switch from aufs to overlayfs, as aufs is no
...
longer in the Precise kernel.
2011-11-15 16:08:24 -05:00
Stefano Rivera
35b742c1e8
s/progname/prog/
2011-11-15 12:58:04 +02:00
Stefano Rivera
3560b7a7f8
Bump changelog for the sake of our PPA
2011-11-15 02:01:43 +02:00
Stefano Rivera
b03fb1f73f
Upload to unstable
2011-11-15 01:51:56 +02:00
Stefano Rivera
697b8d6bd3
s/m/match/
2011-11-15 01:51:27 +02:00
Stefano Rivera
82951a2716
Copyright notice
2011-11-15 01:50:55 +02:00
Stefano Rivera
2e217ac51e
Add BinaryPackagePublishingHistory to lpapicache
2011-11-15 01:50:04 +02:00
Stefano Rivera
dd7c37e130
package isn't used any more
2011-11-15 01:40:23 +02:00
Stefano Rivera
6a6f0ca9cb
Lengthen variable name, we can afford to now
2011-11-15 01:37:29 +02:00
Stefano Rivera
6f9551f1cb
pbuilder-dist: Enable non-release pockets by default (LP: #781003 )
2011-11-15 01:26:16 +02:00
Stefano Rivera
1a507e34b0
Whoops placeholders had incorect parity
2011-11-13 22:54:32 +02:00
Stefano Rivera
09e468211a
Add changelog retrieval to lpapicache, and use this in syncpackage and
...
requestsync. The changelogs should be available in Launchpad sooner than
Debian PTS.
2011-11-13 22:50:34 +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
0838fc6390
Actually include the package name in the backportpackage command
2011-11-13 21:16:15 +02:00
Stefano Rivera
3d6d497df3
Don't substitute user's username into the backportpackage example command
2011-11-13 21:09:48 +02:00
Stefano Rivera
f0a0d62a5b
Don't allow boilerplate prompts through in submittodebian and requestsync
...
(LP: #887336 )
2011-11-13 21:04:24 +02:00
Stefano Rivera
1f91b015ab
Use subprocess and EditFile in submittodebian
2011-11-13 20:54:05 +02:00
Stefano Rivera
629fbd14ad
optional_edit was a silly idea
2011-11-13 20:53:39 +02:00
Stefano Rivera
054423d016
Use YesNoQuestion in pbuilder-dist
2011-11-13 20:17:50 +02:00
Stefano Rivera
d4fbed617f
Use EditBugReport instead of requestsync's edit_report. Drop that.
2011-11-13 20:15:19 +02:00
Stefano Rivera
f06bc5b375
Add generic file-editing support to ubuntutools.question
2011-11-13 20:14:55 +02:00
Stefano Rivera
cdec3f5868
pbuilder-dist: Support using non-master mirrors. Thanks Mathieu Parent.
...
(LP: #824285 )
2011-11-13 02:32:25 +02:00
Stefano Rivera
ad463fb831
Only display reverse dependency section when there are any
2011-11-13 02:25:42 +02:00
Stefano Rivera
ce61a43a13
Installs and runs
2011-11-13 02:06:52 +02:00
Stefano Rivera
c4c758cc17
Provide installs & removes cleanly checkboxes for each binary package
2011-11-13 02:00:06 +02:00
Stefano Rivera
9d493af4b0
* mk-sbuild:
...
-Allow creating experimental chroots again (LP: #885499 )
- experimental shouldn't be the default in experimental chroots.
- Add --eatmydata flag (LP: #888440 )
2011-11-13 01:31:02 +02:00
Stefano Rivera
391e9c7f07
experimental shouldn't be the default in experimental chroots.
2011-11-13 00:40:58 +02:00
Stefano Rivera
390d6f5a8d
mk-sbuild: Allow creating experimental chroots again (LP: #885499 )
2011-11-13 00:40:26 +02:00
Stefano Rivera
12b5dfd4da
submittodebian: Use prettier patch filenames (LP: #887333 )
2011-11-13 00:09:41 +02:00
Stefano Rivera
45db7b738e
What do you know, there was a bug...
2011-11-12 23:39:49 +02:00
Stefano Rivera
8aefff3758
requestsync: Make --lp the default.
2011-11-12 23:33:32 +02:00
Stefano Rivera
3910b88ee9
grab-merge: Use wget -nv rather than -q, so that we see error messages
...
(LP: #881967 )
2011-11-12 23:05:15 +02:00
Stefano Rivera
6e4c276d1f
Update metadata
2011-11-12 13:12:15 +02:00
Stefano Rivera
9bcda8d239
Man page for requestbackport
2011-11-12 13:08:42 +02:00
Stefano Rivera
8aa54e7cff
Man page for reverse-depends
2011-11-12 13:00:20 +02:00
Stefano Rivera
885b241709
Spelling and help formatting
2011-11-12 12:53:32 +02:00
Stefano Rivera
f6344a01c5
Add bir testing
2011-11-12 11:22:55 +02:00
Stefano Rivera
20cb64e557
If the user names a binary package, determine the source package
2011-11-12 10:57:16 +02:00
Stefano Rivera
84e7c2ccab
devscripts.logger
2011-11-12 10:42:47 +02:00
Stefano Rivera
840421c7c6
Look up the reverse dependencies in the target releases, for each binary package build by this source package in the source release
2011-11-12 01:54:04 +02:00
Stefano Rivera
222ab46cff
Use a seeded defaultdict for the intermediate data structure, in case of binary package name differences between releases
2011-11-12 01:20:47 +02:00
Stefano Rivera
d125c47081
Iterate over all destination releases
2011-11-12 01:04:11 +02:00
Stefano Rivera
6155633e85
Display reverse depends in requestbackport
2011-11-12 00:46:48 +02:00
Stefano Rivera
6ac3640c95
Display the binary package depended on, when searching by source package
2011-11-12 00:00:44 +02:00
Stefano Rivera
fae3d8db54
Description
2011-11-11 23:47:14 +02:00
Stefano Rivera
7466d8438b
r1211 was just crazy
2011-11-11 23:40:30 +02:00
Stefano Rivera
bb4f0d4295
Pass through error messages nicely
2011-11-11 23:38:01 +02:00
Stefano Rivera
c5201e1847
Sort rdepends
2011-11-11 23:32:20 +02:00
Stefano Rivera
3d2127478d
Make sure source packages are specified with src:
2011-11-11 23:21:42 +02:00
Stefano Rivera
d0149b00d7
Catch 404s (preliminary support)
2011-11-11 23:13:01 +02:00
Stefano Rivera
8f914adf7a
We don't 404 for empty responses any more, that was silly
2011-11-11 19:11:27 +02:00
Stefano Rivera
1948b455be
Don't try and look for reverse-Recommends on source packages
2011-11-11 16:42:10 +02:00
Stefano Rivera
ab02df8cd1
Update to newer webservice output. Verbose listing.
2011-11-11 16:31:10 +02:00
Stefano Rivera
c44f53e185
Move the API boundry of ubuntutools.rdepends
2011-11-10 02:05:43 +02:00
Stefano Rivera
fed4e17188
Rdepends client tool
2011-11-09 23:44:22 +02:00
Stefano Rivera
f712a32238
Reset support_gap at LTSs
2011-11-08 00:03:45 +02:00
Stefano Rivera
6be22ce24b
Tidy up
2011-11-07 23:35:14 +02:00
Stefano Rivera
532e055b7c
Requestbackport script
2011-11-07 23:20:37 +02:00
Benjamin Drung
da18852892
Refactor code.
2011-10-28 13:18:57 +02:00
Stefano Rivera
5b12d0746c
Release 0.134
2011-10-28 10:35:46 +02:00
Stefano Rivera
a944e7ea7f
sponsor-patch.1: Mention syncs (LP: #882085 )
2011-10-28 10:14:01 +02:00
Stefano Rivera
a9677cbe33
Move sync-from-testing changelog entry
2011-10-28 10:04:22 +02:00
Stefano Rivera
e899e83543
sponsor-patch: Compare new sync version to the current Ubuntu version,
...
rather than itself (LP: #878499 )
2011-10-28 10:03:06 +02:00
Stefano Rivera
5bf59a2cd7
Add --fakesync option, relegating --no-lp to really crazy corner cases.
2011-10-26 22:21:23 +02:00
Stefano Rivera
08513b1897
* syncpackage:
...
- Ignore CURRENT blacklisting: it's buggy, and we don't have a good use
for it.
- Always display blacklist comments, if they exist.
- Display timestamps for DSD blacklist comments.
2011-10-26 21:08:17 +02:00
Stefano Rivera
2ad6ec42dd
mk-sbuild: better support apt http proxy (LP: #881654 )
2011-10-26 20:11:44 +02:00
Scott Moser
41319d5069
white space cleanup
2011-10-25 19:26:16 -04:00
Scott Moser
56220bdd23
respect DEBOOTSTRAP_PROXY
...
if set in environment or config file DEBOOTSTRAP_PROXY takes precedence
over the larger scoped environment variable 'http_proxy'.
2011-10-25 19:25:09 -04:00
Scott Moser
09b49cda66
add back the accidently removed 'rm /finish.sh'
2011-10-25 19:19:59 -04:00
Stefano Rivera
c921d40a9f
syncpackage, requestsync: Sync from testing for LTSs (LP: #876400 )
2011-10-26 01:13:35 +02:00
Scott Moser
4f871e64b1
remove specification of 'Retries' in apt config.
2011-10-25 17:08:29 -04:00
Scott Moser
be30dcfdbb
mk-sbuild: better support apt http proxy (LP: #881654 )
...
This improves the support for apt http proxy.
It determines the value for 'http_proxy' by, in increasing importance:
* setting in apt.conf (per apt-config)
* environment variable 'http_proxy'
* command line flag '--debootstrap-proxy'
Then, if that is set, it makes use of it in
* initial call to debootstrap (environment variable passed through sudo)
* 'finish.sh' and subsequent invocation by writing config to
/etc/apt/config.d/
Thus, the value here is 'sticky' after the debootstrap invocation.
2011-10-25 16:33:28 -04:00
Stefano Rivera
2b51da9af7
Print the URL that failed in get_changelog(). Thanks Barry!
2011-10-24 22:39:01 +02:00
Stefano Rivera
4750a90f80
Remove massfile. Neglected and unused (LP: #145598 )
2011-10-23 21:22:02 +02:00
Benjamin Drung
fdd01746fe
syncpackage: Catch user abort.
2011-10-22 23:10:27 +02:00
Stefano Rivera
578273e517
mk-sbuild: Correct typo in variable name. Thanks Laurent Declercq.
...
(Closes : #645917 )
2011-10-19 22:39:52 +02:00
Benjamin Drung
b020d4a0fb
releasing version 0.133
2011-10-19 18:19:06 +02:00
Stefano Rivera
aab58522ad
syncpackage, requestsync: Sync from testing for LTSs (LP: #876400 )
2011-10-17 13:31:02 +02:00
Stefano Rivera
e7c0233ca6
Remove distro-info from the package discription
2011-10-15 15:21:35 +02:00
Stefano Rivera
9b93191e17
Correct typo in description: ratione -> rationale
2011-10-15 12:50:26 +02:00
Stefano Rivera
fc3d02f28f
syncpackge: Gracefully deal with no available changelog from Debian (PTS
...
changelogs aren't available immediately)
2011-10-14 22:28:57 +02:00
Stefano Rivera
7abc5b2184
Add Depends and Build-Depends for python-distro-info, which has split out
...
of distro-info.
2011-10-12 22:50:14 +02:00
Benjamin Drung
c401cbb150
syncpackage: Put command-line parsing in separate function.
2011-10-12 00:58:42 +02:00
Benjamin Drung
bf5de3c686
syncpackage: Allow syncing to -proposed with --no-lp.
2011-10-12 00:51:59 +02:00
Stefano Rivera
05b3f16f58
mk-sbuild: Only grant access to the admin group when it exists
...
(Closes : #642824 )
2011-09-25 16:09:28 +02:00
Benjamin Drung
7099f9d98d
releasing version 0.132
2011-09-22 12:33:04 +02:00
Benjamin Drung
ba472b71d9
sponsor-patch: Check version of sponsored sync request too.
2011-09-20 00:31:51 +02:00
Benjamin Drung
663cb5214f
sponsor-patch: Check if the version of a sync request is mentioned in the bug title.
2011-09-15 13:37:22 +02:00
Benjamin Drung
5942694e6f
sponsor-patch: Use old Archive Admin way for sync requests until bug #827555 is fixed.
2011-09-15 13:08:06 +02:00
Stefano Rivera
268fea2a1c
syncpackage: Looks like we can't expect exactly one DSD record for every
...
source package (LP: #846890 )
2011-09-12 11:00:23 +02:00
Benjamin Drung
6fdef19b2c
sponsor-patch: Support sync requests and make ack-sync obsolete (LP: #764763 ).
2011-09-10 22:55:08 +02:00
Benjamin Drung
1e126f74d1
sponsor-patch: More refactoring.
2011-09-10 21:28:28 +02:00
Benjamin Drung
d52393da1b
sponsor-patch: Refactor code.
2011-09-10 19:59:35 +02:00
Stefano Rivera
98617b342b
s/UNRELEASED/unstable/
2011-09-10 16:53:02 +02:00
Benjamin Drung
7a08470ca1
ubuntutools/sponsor_patch/bugtask.py: Check for sync too.
2011-09-10 16:43:41 +02:00
Stefano Rivera
05ec1d133d
Another s/Ubuntu/Debian/
2011-09-10 16:40:19 +02:00
Stefano Rivera
01bc2ab948
Update README.updates, u-d-t is maintained in Debian
2011-09-10 16:34:38 +02:00
Stefano Rivera
46f3f929bc
Native syncs won't have changes files
2011-09-10 16:06:56 +02:00
Benjamin Drung
1c814c8ec6
ubuntutools/requestsync: Follow PEP 8 naming conventions.
2011-09-10 15:42:40 +02:00
Benjamin Drung
1aabfec757
Wrap long line.
2011-09-10 15:21:40 +02:00
Stefano Rivera
754b3128a3
backportpackage: Use absolute path of workdir when test-building.
2011-09-10 13:17:11 +02:00
Stefano Rivera
2f17d27ca7
Don't use with statement in update_maintainer (breaks with StringIO). Fix regression in detecting Debian-targetted uploads
2011-09-10 10:49:14 +02:00
Stefano Rivera
cd236932de
* requestsync: Extract current Ubuntu delta from changelog entries and provide for editing (LP: #547925 )
...
* Bump python-debian B-D and Depends to 0.1.20 for unicode Changelog reading.
2011-09-10 10:28:41 +02:00
Benjamin Drung
97634a34d1
setup.py: Remove get-build-deps completely.
2011-09-10 01:53:58 +02:00
Stefano Rivera
ee62d21ba1
Remove get-bulid-deps from test_help blacklist
2011-09-10 01:39:15 +02:00
Stefano Rivera
98f0ba6bb1
* ubuntutools.archive:
...
- Add quiet option to silence downloading.
- Use wget-style progress bar (fixed width) (LP: #845787 )
2011-09-10 01:26:19 +02:00
Stefano Rivera
bf0709edf6
Cleanup progress bar if there's an exception, too
2011-09-10 01:25:23 +02:00
Stefano Rivera
8bb4628586
sponsor-patch: Perform strict validation on the first changelog entry.
2011-09-10 01:21:07 +02:00
Stefano Rivera
dc962d7a3f
setup-packaging-environment: Use apt-get rather than aptitude
2011-09-10 00:58:00 +02:00
Benjamin Drung
f82cd1f2cc
Use full sentences.
2011-09-10 00:50:48 +02:00
Stefano Rivera
a29c6076f7
Typo
2011-09-10 00:21:10 +02:00
Stefano Rivera
db2c5f4fbe
Removed get-build-deps, mk-build-deps -ir is equivalent (LP: #158108 )
2011-09-10 00:14:44 +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
a04a6a9602
setup-packaging-environment: Software Sources isn't on the Administration
...
menu, post Gnome 2 (LP: #841975 )
2011-09-09 23:25:59 +02:00
Stefano Rivera
ca2abaa613
* ubuntutools.archive:
...
- Add quiet option to silence downloading.
- Use wget-style progress bar (fixed width) (LP: #845787 )
2011-09-09 22:44:16 +02:00
Stefano Rivera
29f1538d90
ubuntutools.update_maintainer: Don't use strict changelog parsing
...
(LP: #806633 )
2011-09-09 21:46:18 +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
178456394e
requestsync: Add nice error messages to gpg-signing code, rather than
...
simple assertions (LP: #537288 )
2011-09-09 20:03:47 +02:00
Stefano Rivera
6ee66a6efc
Debian source publication records are all Published now, not pending
...
(LP: #845487 )
2011-09-09 19:11:48 +02:00
Colin Watson
8543e3c5f9
syncpackage: Fix typo.
2011-09-09 11:53:04 +01:00
Stefano Rivera
3a07cf4a74
import-bug-from-debian: Bugs are filed against source packages in Ubuntu.
...
(LP: #844734 )
2011-09-08 23:47:38 +02:00
Stefano Rivera
1dda02513c
doc/requestsync.1: Correct default value for REQUESTSYNC_SMTP_SERVER
...
(LP: #844992 )
2011-09-08 23:15:37 +02:00
Benjamin Drung
2663e8c1b2
releasing version 0.130
2011-09-08 22:04:33 +02:00
Benjamin Drung
e591ab20cf
backportpackage: Use Ubuntu and Debian as fall back check in codename_to_distribution to allow backporting to Ubuntu from a Debian system (LP: #823832 ).
2011-09-08 18:21:57 +02:00
Benjamin Drung
ba6bd9186b
backportpackage: Search for newer versions in -{updates,security} on Ubuntu
...
(LP: #823833 ).
2011-09-08 17:26:40 +02:00
Benjamin Drung
e9efe8d0f0
pull-lp-source: Support source packages with a bad version string
...
(LP: #844682 ).
2011-09-08 16:40:29 +02:00
Benjamin Drung
dc37cf94b3
releasing version 0.129
2011-09-06 14:32:51 +02:00
Stefano Rivera
5e59f725c0
Wrap blacklist messages and comments
2011-09-06 14:07:40 +02:00
Benjamin Drung
700d2473a0
Fix typo.
2011-09-06 13:31:36 +02:00
Stefano Rivera
ec13baee65
Tweak log levels, use error when bailing out because of blacklisting, and normal for everything else blacklist-related
2011-09-06 13:24:57 +02:00
Benjamin Drung
e47bff4bed
requestsync: Do not crash on user abort ( Closes : #637168 ).
2011-09-06 13:24:25 +02:00
Benjamin Drung
4f043a34e0
sponsor-patch: Default to not upload the package.
2011-09-06 13:16:09 +02:00
Benjamin Drung
37917959fc
Run harvest as part of sponsor-patch (LP: #833699 ).
2011-09-06 13:11:42 +02:00
Benjamin Drung
b5ca7c1971
syncpackage: Print name of blacklisted package.
2011-09-06 12:50:36 +02:00
Benjamin Drung
0ed7d2466d
ubuntutools.archive: Don't write .dsc files until we pull the entire source package, just hold it in memory. Avoids littering the current directory (LP: #838361 )
2011-09-06 12:38:36 +02:00
Stefano Rivera
b35a2611af
LP: #833080 is fixed, refactoring blacklisting
2011-09-06 09:48:25 +02:00
Julian Taylor
b314aa599c
[ Julian Taylor ]
...
requestsync: omit dups when checking for duplicate requests (LP: #842217 )
2011-09-06 09:34:42 +02:00
Julian Taylor
7c40574cf4
requestsync: add more non terminal status to dup check
2011-09-06 01:42:28 +02:00
Julian Taylor
36bc8ee0f7
requestsync: omit dups when checking for duplicate requests (LP: #842217 )
2011-09-06 01:15:41 +02:00
Stefano Rivera
328e7bb241
Make CURRENT DSD Blacklisting overrideable
2011-09-05 15:40:24 +02:00
Stefano Rivera
cfa2134468
doc/requestsync.1: Document the -C option (LP: #833408 )
2011-09-05 02:52:40 +02:00
Stefano Rivera
796ad86236
get-build-deps: Tell aptitude not to follow Recommends (LP: #817500 )
2011-09-05 02:34:44 +02:00
Stefano Rivera
b68895d129
Recommend pbuilder | aptitude for get-build-deps, and exit with an error
...
if neither are installed (LP: #799368 )
2011-09-05 02:31:06 +02:00
Stefano Rivera
6e719c751d
Remove unecessary MultipleTimes()
2011-09-04 22:48:45 +02:00
Stefano Rivera
17b287e7bf
ubuntutools.archive: Don't write .dsc files until we pull the entire
...
source package, just hold it in memory. Avoids littering the current
directory (LP: #838361 )
2011-09-04 19:01:01 +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
Stefano Rivera
54cb83cd4d
There's now a 4th state for getDifferencesTo, let's explicitly query both the ones we are interested in, rather than an inverted search on the 3rd state.
2011-09-04 01:49:24 +02:00
Stefano Rivera
c9a2b9ac2b
Reorder output
2011-09-04 01:05:29 +02:00
Stefano Rivera
7196ad55f1
More whitespace around the important post-build blocks
2011-09-04 01:04:13 +02:00
Stefano Rivera
7c994cefee
Run harvest in sponsor-patch --fixes lp:833699
2011-09-04 00:44:50 +02:00
Stefano Rivera
6f5982b9a7
Move harvest logic into ubuntutools.harvest
2011-09-04 00:24:27 +02:00
Benjamin Drung
a3378ee9fc
syncpackage:
...
- Show changes to be synced when performing native syncs.
- Support --bug (extra bugs to be closed by the sync) with
native syncs. (Bugs are closed one individually, via the API, post-sync)
2011-09-03 22:39:04 +02:00
Stefano Rivera
8b273361cb
Changelog back to UNRELEASED
2011-09-03 22:04:36 +02:00
Stefano Rivera
c994254e4b
Merge from trunk
2011-09-03 21:08:52 +02:00
Stefano Rivera
d889f5af5a
Changelog entry
2011-09-03 21:08:02 +02:00
Stefano Rivera
2b074fb581
Don't look for bugs closed in Debian changes, only close bugs mentioned on the command line
2011-09-03 20:49:35 +02:00
Benjamin Drung
5ac091b867
* Remove several tools not specific to Ubuntu that have been migrated to lptools (LP: #708886 ):
...
- get-branches (renamed to lp-get-branches)
- grab-attachments (renamed to lp-grab-attachments)
- lp-project-upload
- lp-list-bugs
- lp-set-dup
- lp-shell
2011-09-03 15:41:16 +02:00
Jelmer Vernooij
144f957675
Update copyright file.
2011-09-02 13:52:26 +02:00
Jelmer Vernooij
8d35759719
NEWS entry.
2011-09-02 13:49:09 +02:00
Jelmer Vernooij
01f8a0bd87
Drop lptools from recommends.
2011-09-02 13:46:10 +02:00
Jelmer Vernooij
32db0692a3
Update changelog.
2011-09-01 19:59:53 +02:00
Jelmer Vernooij
b696cade13
merge trunk.
2011-09-01 19:39:20 +02:00
Benjamin Drung
fe102eaa5b
syncpackage: Check the sync blacklist.
2011-08-31 20:31:52 +02:00
Stefano Rivera
59b69d3767
Correcly handle NEW package bug closing (the task dosen't have a distribuiton attribute)
2011-08-25 18:41:57 +02:00
Stefano Rivera
dbda709ce3
Update manpage
2011-08-25 14:32:07 +02:00
Stefano Rivera
497177760b
Allow --force ing a blacklist override, when doing a non-native sync
2011-08-25 14:30:30 +02:00
Stefano Rivera
91c70189fd
getDifferenceComments is a method on series
2011-08-25 14:29:36 +02:00
Stefano Rivera
95e5437f44
Note on LP bug to improve getDifferencesTo()
2011-08-24 23:52:45 +02:00
Stefano Rivera
165279fae9
TODO note on getDebianChangelog
2011-08-24 23:48:48 +02:00
Stefano Rivera
76fabbe0ba
Add blacklisting explanation
2011-08-24 19:54:02 +02:00
Stefano Rivera
1277344ec8
Check the +localpackagediffs blacklist too
2011-08-24 19:52:21 +02:00
Stefano Rivera
ed6962c413
Close bugs after syncing
2011-08-24 19:38:16 +02:00
Stefano Rivera
26d68da791
Detect bugs to be closed (but don't do anything with the list yet)
2011-08-24 17:46:23 +02:00
Stefano Rivera
1d1f86cb9c
Docstring
2011-08-24 14:59:22 +02:00
Stefano Rivera
e04d4df889
Check the sync blacklist
2011-08-24 14:46:11 +02:00
Jelmer Vernooij
13c0d09c25
get-branches is in lptools now, too.
2011-08-23 15:03:51 +02:00
Jelmer Vernooij
13a6851a10
Remove lp-shell, too.
2011-08-23 14:55:18 +02:00
Jelmer Vernooij
1cb0bfd1e7
remove grab-attachments, too.
2011-08-23 14:51:59 +02:00
Benjamin Drung
ce2f96bc0d
Make pylint happier and code more PEP-8 compliant.
2011-08-20 11:31:02 +02:00
Benjamin Drung
3e3b9bcff5
* syncpackage: Convert to new LP API, with --no-lp available for the old
...
style of operation.
* syncpackage: Require -f/--force option to overwrite Ubuntu changes.
2011-08-20 11:11:16 +02:00
Colin Watson
a6b95b7d53
style
2011-08-18 15:11:36 +01:00
Colin Watson
a4000c606c
drop quiet download stuff, not worth an API debate
2011-08-18 15:10:19 +01:00
Colin Watson
44df5e3081
tweak to manual page suggested by bdrung
2011-08-18 15:08:01 +01:00
Colin Watson
2aaa7de246
docstring for copy()
2011-08-18 15:07:09 +01:00
Colin Watson
d624e9d18f
factor out dsc comparison into a method on ubuntutools.archive.Dsc
2011-08-18 15:06:05 +01:00
Colin Watson
9bc479dbcb
drop unused variable
2011-08-18 13:00:00 +01:00
Colin Watson
f40db6836e
drop unused argument
2011-08-18 12:59:15 +01:00
Colin Watson
38ade0ea7d
avoid shadowing global "debian" name
2011-08-18 12:57:19 +01:00
Colin Watson
189bfa238a
fake syncs require --no-lp
2011-08-17 17:10:09 +01:00
Colin Watson
1d68d8064c
add note on requestsync stderr about syncpackage
2011-08-17 16:48:17 +01:00
Colin Watson
e3693820e5
refer to syncpackage from requestsync(1) for users with upload permission
2011-08-17 16:44:07 +01:00
Jelmer Vernooij
c55c731237
Update test-help
2011-08-17 14:43:31 +02:00
Jelmer Vernooij
fc3a05db7a
Also remove manual pages, entries in copyright.
2011-08-17 14:40:59 +02:00
Colin Watson
0a2d4b11a8
use version.full_version rather than str(version)
2011-08-17 13:02:07 +01:00
Colin Watson
f91f61f8d4
DebianSourcePackage.lp_spph is annoyingly overloaded; just do the check directly
2011-08-17 12:59:54 +01:00
Jelmer Vernooij
ff41896cc8
Remove lp-project-upload, lp-list-bugs and lp-set-dup, which are now
...
included in lptools.
2011-08-17 12:50:51 +02:00
Colin Watson
5eb960dd3f
make better use of ubuntutools.archive, allowing us to detect when fakesyncs are required in LP mode
2011-08-17 03:03:01 +01:00
Colin Watson
d26a7521b0
make it possible to quieten download progress information, particularly useful if downloading only the small .dsc files
2011-08-17 02:54:37 +01:00
Colin Watson
a3e252dece
document restriction of -n and -e to --no-lp mode
2011-08-17 00:07:34 +01:00
Colin Watson
da15a35063
validate that the provided Debian version exists
2011-08-17 00:01:45 +01:00
Colin Watson
0ef30ff665
syncpackage: Require -f/--force option to overwrite Ubuntu changes.
2011-08-16 19:56:38 +01:00
Colin Watson
87e1cadcb0
use ubuntutools.question
2011-08-16 19:39:07 +01:00
Colin Watson
0735ad8de3
handle -d in Launchpad copy mode
2011-08-16 18:16:52 +01:00
Colin Watson
f8d4866cbc
move copyPackage into lpapicache for better encapsulation
2011-08-16 18:07:58 +01:00
Colin Watson
ecaaa33fdc
typo
2011-08-16 17:37:52 +01:00
Colin Watson
7386ca4d0c
merge trunk
2011-08-16 16:41:23 +01:00
Colin Watson
b9353d781a
better error presentation
2011-08-16 16:30:10 +01:00
Colin Watson
e8b02a39b2
monkeypatching doesn't work right; extend Launchpad.login instead
2011-08-16 16:20:29 +01:00
Colin Watson
e6bde18b04
add explicit confirmation step
2011-08-16 16:00:30 +01:00
Colin Watson
2b03e3ca99
more logging by default
2011-08-16 15:47:21 +01:00
Colin Watson
91bad45ec1
.dsc syncs only work with --no-lp
2011-08-16 15:45:33 +01:00
Colin Watson
fdfef34b37
document new syncpackage behaviour
2011-08-16 15:42:23 +01:00
Colin Watson
122e711d28
syncpackage: Convert to new LP API, with --no-lp available for the old
...
style of operation.
2011-08-16 15:32:48 +01:00
Stefano Rivera
abfdd76f01
ubuntutools.test.test_archive: Forgive newer python-debian's for calling
...
GpgInfo.from_sequence() with the optional keyrings arguments.
2011-08-16 11:19:15 +02:00
Stefano Rivera
0744d360cc
Upload to unstable
2011-08-16 10:25:48 +02:00
Stefano Rivera
3eb727f3ca
backportpackage: Backport from local source packages again (LP: #801945 )
2011-08-16 10:25:11 +02:00
Stefano Rivera
aa99618dd6
backportpackage: Backport from local source packages again (LP: #801945 )
2011-08-16 01:17:25 +02:00
Julian Taylor
7acdaaf977
[ Stefano Rivera ]
...
[ Julian Taylor ]
lp-shell: use ipython shell if available
2011-08-14 21:00:11 +02:00
Julian Taylor
e124934502
fix changelog
2011-08-14 18:57:09 +02:00
Julian Taylor
405141964e
lp-shell: rename options.mode to options.shell
2011-08-14 18:56:31 +02:00
Julian Taylor
04d4e0f3d9
doc/lp-shell.1: fix typo
2011-08-14 18:54:53 +02:00
Julian Taylor
8e8a5d7e52
lp-shell: clear argv for ipython < 0.11
2011-08-14 18:03:47 +02:00
Julian Taylor
a8965d486d
lp-shell: disable import error pylint error on nested try-except
2011-08-14 18:03:09 +02:00
Julian Taylor
5f374b192b
lp-shell: add cmd-line options to set used shell
2011-08-14 17:40:28 +02:00
Julian Taylor
d0afcbd295
lp-shell: use ipython shell if available
2011-08-14 17:40:10 +02:00
Julian Taylor
3449fc6a64
lp-shell: use ipython shell if available
...
suggest ipython and when available use it instead of the regular python shell
2011-08-14 17:07:42 +02:00
Stefano Rivera
5762512710
ubuntutools.builder: Detect missing builder and fail early.
2011-07-26 10:54:45 +02:00
Stefano Rivera
5f88f85278
Rename variables in get_builder
2011-07-26 10:54:16 +02:00
Stefano Rivera
5c960d720b
Drop unecessary os.path import
2011-07-26 10:54:04 +02:00
Stefano Rivera
ae55aac31b
changelog entry
2011-07-25 19:37:30 +02:00
Stefano Rivera
6e05bb7e74
Detect missing builder early
2011-07-25 19:32:15 +02:00
Stefano Rivera
b4a6cf5310
Use Builder.name instead of _command for the pbuilder builders
2011-07-25 15:20:27 +02:00
Stefano Rivera
9357415020
cowbuilderdist -> cowbuilder-dist
2011-07-25 15:19:59 +02:00
Benjamin Drung
40624a2443
releasing version 0.127
2011-07-01 22:07:27 +02:00
Benjamin Drung
798ed69085
Remove empty /usr/share/ubuntu-dev-tools directory.
2011-07-01 22:07:08 +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
0737f186fe
releasing version 0.126
2011-06-25 16:39:02 +02:00
Benjamin Drung
ebbaada218
Add experimental to list of Debian distributions.
2011-06-25 16:20:22 +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
Benjamin Drung
dfdbce7108
Wrap long lines.
2011-06-24 17:50:10 +02:00
Evan Broder
19c33e5e32
* ubuntutools.subprocess:
...
- New drop-in replacement wrapper module around subprocess that
backports the restore_signals kwarg and defaults close_fds=True
- Switch everything previously using subprocess to use
ubuntutools.subprocess instead (LP: #785854 )
2011-06-24 16:32:07 +02:00
Evan Broder
be202b94d5
* ubuntutools.misc: Add a new "system_distribution_chain", which returns
...
a list starting with the current distribution and working its way up
each distribution's parent.
* ubuntutools.misc: Add a function to find the distribution that
used a given release codename.
* backportpackage, doc/backportpackage.1: Accept codenames from any
distribution in the parenting chain. Makes it possible to, e.g.,
backport from Debian. (LP: #703099 )
2011-06-24 16:13:43 +02:00
Didier Roche
544c21ba3a
releasing version 0.125ubuntu1
2011-06-24 11:50:23 +02:00
Didier Roche
ba5566c4a1
* get-build-deps:
...
- fix a wrong parser when some build-dep have an epoch
2011-06-24 11:37:39 +02:00
Evan Broder
c1eac4b0a9
Save the UDTConfig object and use it to find a default mirror.
2011-06-23 17:55:14 -07: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
814fba1ade
Fix indentation.
2011-06-21 18:25:15 +02:00
Evan Broder
e6e0b97226
Clean up some long lines
2011-06-19 14:50:52 -07:00
Evan Broder
24452f43df
Query rmadison for the canonical codename of a release, not aliases like "unstable"
2011-06-19 14:46:53 -07:00
Evan Broder
78a427ad2c
Make sure all DistroInfo classes have a .codename method.
2011-06-19 14:46:34 -07:00
Evan Broder
ffa4991cb4
Merge from bdrung to introduce new DistroInfo.valid(codename) method
2011-06-19 14:39:51 -07:00
Evan Broder
71b8bf786f
Error out cleanly if unknown codename specified
2011-06-19 14:35:50 -07:00
Evan Broder
984ebf5e9b
Cleanup unreachable code
2011-06-19 14:31:49 -07:00
Evan Broder
5c96b78d72
Reimplement ubuntutools.subprocess.Popen as a class instead of a factory function.
2011-06-19 14:20:47 -07:00
Brian Murray
146b1619f1
* grab-attachments, doc/grab-attachments.1:
...
- add in download attachments from duplicates
- add in download attachments from all bugs about a package
- document new options in the manpage
2011-06-16 12:02:04 -07:00
Benjamin Drung
de32133e75
distro_info.py: Add validity check method.
2011-06-15 00:01:49 +02:00
Stefano Rivera
0d3b618c0b
Link to LP: #797170
2011-06-14 15:23:20 +02:00
Evan Broder
16300e471f
Move vendor_to_distroinfo and codename_to_distribution into ubuntutools.misc
2011-06-11 06:04:09 -07:00
Evan Broder
1a6fb270b4
backportpackage, doc/backportpackage.1: Accept codenames from any
...
distribution in the parenting chain. Makes it possible to, e.g.,
backport from Debian. (LP: #703099 )
2011-06-11 05:45:21 -07:00
Evan Broder
2560aa210b
ubuntutools.distro_info: Add a function to find the distribution that
...
used a given release codename.
2011-06-11 05:06:51 -07:00
Evan Broder
2398d09ba4
ubuntutools.misc: Add a new "system_distribution_chain", which returns
...
a list starting with the current distribution and working its way up
each distribution's parent.
2011-06-11 05:05:35 -07:00
Didier Roche
d69e21a0af
* lp-project-upload:
...
- fix a bug when new milestone wasn't specified
2011-06-09 13:36:06 +02:00
Stefano Rivera
dcad51ec87
sponsor-patch: Use dch --release instead of --edit to work with
...
DEBCHANGE_RELEASE_HEURISTIC=changelog.
2011-06-03 19:18:38 +02:00
Dustin Kirkland
4349bcad39
* doc/lp-project-upload.1, lp-project-upload:
...
- add support for optionally specifying files containing the changelog
and release notes for the release
- allows scripts to avoid the interactive editors
- document these changes in the manpage
2011-06-02 18:30:20 -04:00
Stefano Rivera
6aee8410eb
Work around pylint bug: http://www.logilab.org/ticket/46273
2011-05-30 15:55:15 +02:00
Stefano Rivera
1c248875b4
ubuntutools.archive: Display any errors rmadison emits, rather than
...
guessing at the cause. (LP: #788447 )
2011-05-30 10:21:12 +02:00
Benjamin Drung
c13550bcb6
Adjust EOL date of Ubuntu 9.10 "Karmic Koala".
2011-05-28 19:43:34 +02:00
Benjamin Drung
1cd7d50b85
backportpackage: Use --force-bad-version instead of --allow-lower-version (which requires a parameter) for debchange.
2011-05-28 19:41:07 +02:00
Benjamin Drung
dfc4566257
releasing version 0.124
2011-05-25 18:28:34 +02:00
Benjamin Drung
7fd1e122d7
Bump devscripts version.
2011-05-25 10:02:13 +02:00
Evan Broder
d82e65e0e2
* ubuntutools.subprocess:
...
- New drop-in replacement wrapper module around subprocess that
backports the restore_signals kwarg and defaults close_fds=True
- Switch everything previously using subprocess to use
ubuntutools.subprocess instead (LP: #785854 )
2011-05-24 20:22:37 +02:00
Benjamin Drung
6e70eb821e
Drop python-magic due to the suspicious-source move.
2011-05-24 17:33:09 +02:00
Benjamin Drung
0cb8bf54d8
Close Launchpad bug.
2011-05-24 00:11:34 +02:00
Benjamin Drung
aa96842c84
Remove trailing spaces.
2011-05-23 23:44:45 +02:00
Benjamin Drung
3a91cf964d
Fix indentation.
2011-05-23 23:41:30 +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
e9b5d0aa20
Revert: r1081: Add debhelper and quilt as recommends (LP: #786370 )
2011-05-23 18:18:41 +01:00
Stefano Rivera
a3e16b12b6
* mk-sbuild:
...
- maintainer_name isn't mandatory any more (LP: #787051 )
2011-05-23 17:18:09 +01:00
Stefano Rivera
e6ccf7c66c
* bitesize:
...
- display error message properly.
- error out if bug is already marked as 'bitesize'.
- rephrase bug comment and subscribe person who adds the comment.
- work-around LP:336866 and LP:254901.
2011-05-23 16:52:38 +01:00
Daniel Holbach
29307e4566
on an error saving, error out properly
2011-05-23 17:51:18 +02:00
Daniel Holbach
4e8a631483
remove 'E:', not needed
2011-05-23 17:29:32 +02:00
Daniel Holbach
f8abc5b881
* bitesize:
...
- display error message properly.
- error out if bug is already marked as 'bitesize'.
- rephrase bug comment and subscribe person who adds the comment.
- work-around LP:336866 and LP:254901.
2011-05-23 15:49:06 +02:00
Benjamin Drung
2d4683260b
Set series back to UNRELEASED.
2011-05-22 10:09:12 +02:00
Benjamin Drung
5287637ffd
Run wrap-and-sort.
2011-05-22 10:08:52 +02:00
Mackenzie Morgan
b6631943f3
Add debhelper and quilt as recommends (LP: #786370 )
2011-05-21 19:50:02 -04:00
Benjamin Drung
7a104714c4
Move add-patch, edit-patch, and what-patch from ubuntu-dev-tools into
...
devscripts (Closes : #568481 ).
2011-05-21 17:53:16 +02:00
Benjamin Drung
58334ba46d
releasing version 0.123
2011-05-20 21:30:04 +02:00
Benjamin Drung
289d9244b0
Fix LP bug.
2011-05-20 21:22:23 +02:00
Benjamin Drung
a5691d4cd1
sponsor-patch: Fix assertion error if a relative working directory
...
is specified.
2011-05-16 00:57:57 +02:00
Stefano Rivera
cf40e7bccf
bitesize, doc/bitesize.1: add script to tag a bug as bitesize and add a
...
comment that you are willing to help with fixing the bug.
2011-05-10 14:55:59 +02:00
Daniel Holbach
aecd1169fd
fix problems mentioned in review
2011-05-10 12:08:59 +02:00
Daniel Holbach
7a45eede4a
add lpinstance/no-conf options, fix manpage
2011-05-09 15:35:23 +02:00
Daniel Holbach
d94994b1f4
fix leftover 'lp-set-dup
2011-05-09 14:57:28 +02:00
Daniel Holbach
b4b217ade5
fix leftover 'lp-set-dup
2011-05-09 14:52:51 +02:00
Daniel Holbach
eee6501a18
add 'bitesize' script
2011-05-09 14:48:54 +02:00
Christopher James Halse Rogers
328def15a2
Merge improvements to mk-sbuild, fixing typo in manpage
2011-05-02 15:04:29 +10:00
Stefano Rivera
ccbb9300f4
Drop leading blank line now that we have per-chroot conf files
2011-04-24 21:58:43 +02:00
Stefano Rivera
05f5ce10c8
Revert r1082, I was being an idiot
2011-04-24 21:53:50 +02:00
Stefano Rivera
6f26c6b58e
Support Debian experimental.
2011-04-24 21:52:26 +02:00
Stefano Rivera
7212902eb8
Understand Debian distribution synonyms, and store the chroot under the
...
code name.
2011-04-24 20:36:27 +02:00
Stefano Rivera
dceda81ff2
Put schroot configuration in chroot.d/sbuild-$chroot (LP: #736808 )
2011-04-24 19:11:41 +02:00
Stefano Rivera
427aad7b15
Correctly substitute release into security suite name.
2011-04-24 17:08:29 +02:00
Stefano Rivera
cd533a92cb
Install qemu-user-static instead of qemu-kvm-extras-static.
2011-04-24 16:42:48 +02:00
Stefano Rivera
72b504ca2e
Add vi expandtab tag to mk-sbuild, remove remaining tabs
2011-04-24 16:39:39 +02:00
Stefano Rivera
3f06a00904
Reformat manpage.
2011-04-24 16:36:59 +02:00
Stefano Rivera
7218468e18
Determine distribution from release name (via distro-info).
2011-04-24 16:17:55 +02:00
Stefano Rivera
ebe04d88b0
Exit 0 when showing help, and support -h.
2011-04-24 16:01:42 +02:00
Stefano Rivera
dfc7a2ce26
* mk-sbuild:
...
- Disable daemons with a policy-rc.d script (like pbuilder does)
- Move package installation after option parsing.
2011-04-24 15:59:22 +02:00
Stefano Rivera
11d380cfd8
mk-sbuild: Disable daemons with a policy-rc.d script (like pbuilder does)
2011-04-24 12:49:21 +02:00
Benjamin Drung
640663269f
releasing version 0.122
2011-04-23 13:52:28 +02:00
Benjamin Drung
f646002543
Fix intentation.
2011-04-23 13:51:58 +02:00
Stefano Rivera
344cf5b718
grab-attachments: download the attachments to a folder named after the bug
...
number e.g. bug-1
2011-04-23 01:12:06 +02:00
Benjamin Drung
7f7289bed9
data/ubuntu.csv: Update end-of-life dates.
2011-04-20 00:25:50 +02:00
Brian Murray
96381b0ff3
use errno and errno.EEXIST
2011-04-19 14:55:27 -07:00
Brian Murray
1d36de0fbb
make changes based on reviewer feedback
2011-04-19 12:43:25 -07:00
Brian Murray
c38452bb43
merge with upstream
2011-04-19 12:41:30 -07:00
Stefano Rivera
c5f75d2af3
lp-project-upload: Add an optional parameter for creating a new
...
milestone to add future bugs to.
2011-04-19 17:32:42 +02:00
Ted Gould
e9cea63f52
Edit to add the parameter to the man page
2011-04-19 09:50:53 -05:00
Benjamin Drung
4bd2570416
releasing version 0.121
2011-04-19 08:49:25 +02:00
Brian Murray
66a1d33481
no need to change directories
2011-04-18 11:28:22 -07:00
Brian Murray
d0aa685788
grab-attachments: put attachments in a folder named after the bug number which prevents clobbering of attachments if multiple bugs have the same attachment name
2011-04-18 11:16:16 -07:00
Stefano Rivera
4dc91f0366
lp-project-upload: Use a milestone that already exists if there is
...
one to use.
2011-04-18 17:53:55 +02:00
Benjamin Drung
bfd984568f
ack-sync: Fix source package name.
2011-04-18 17:40:13 +02:00
Benjamin Drung
5ec650697c
Drop transitional qemu-kvm-extras-static from alternative suggests.
2011-04-18 14:53:58 +02:00
Stefano Rivera
1ad1e42fb9
Drop Breaks: ${python:Breaks}, no longer used by dh_python2.
2011-04-18 14:20:40 +02:00
Stefano Rivera
097fc7f7b6
sponsor-patch, doc/sponsorpatch.1: Clarify that --upload or --workdir is
...
required. (LP: #712721 )
2011-04-18 14:18:42 +02:00
Benjamin Drung
a2eece166e
Bump Standards-Version to 3.9.2 (no changes required).
2011-04-17 16:46:32 +02:00
Benjamin Drung
87e4d3557a
Run wrap-and-sort.
2011-04-17 16:45:07 +02:00
Benjamin Drung
a72810805f
doc/setup-packaging-environment.1: Fix typo "helps to" -> "helps one to".
2011-04-17 16:44:42 +02:00
Benjamin Drung
2d74893dd2
Add testcase for bug #701487 .
2011-04-17 16:30:09 +02:00
Benjamin Drung
457a6c6bee
ubuntutools.update-maintainer: Do not use python-debian to parse
...
debian/control to avoid mangling this file (LP: #756373 ). The new
simplified parser has no problems with comments in debian/control
(LP: #701487 , #713827 ).
2011-04-17 16:27:16 +02:00
Ted Gould
3386a80945
Apparently this makes it run faster with less memory usage :-)
2011-04-15 16:35:54 -05:00
Scott Kitterman
f5ce76d52e
In ubuntutools/archive.py, instead of an AssertionError liburi-perl is not installed provide a similar message to the one rmadison provides.
2011-04-10 00:41:30 -04:00
Stefano Rivera
e3ea0c9b97
pull-debian-debdiff: Convert distance to an integer, so it works when
...
specified.
2011-03-28 13:10:29 +02:00
Stefano Rivera
5bb84b1548
ubuntutools.archive.rmadison: suite can be None, handle this correctly.
2011-03-28 13:09:13 +02:00
Michael Vogt
d9ec09c396
Sorten code using crazy Python stuff.
2011-03-24 09:57:18 -05:00
Ted Gould
a3381c3724
Use the right set of arguments depending on how many we have
2011-03-23 22:03:54 -05:00
Ted Gould
4465bcd28c
Comment to make the code easier to read
2011-03-23 22:02:43 -05:00
Ted Gould
11fc1380f7
We shouldn't set the date targeted as we don't really know that
2011-03-23 21:27:12 -05:00
Ted Gould
fd235db083
Adding an intermediary 'today' variable to shorten line lengths
2011-03-23 20:57:08 -05:00
Ted Gould
7f471eb318
lp-project-upload: Add an optional parameter for creating a new
...
milestone to add future bugs to.
2011-03-23 20:55:15 -05:00
Ted Gould
69ec667c35
Updating to existing milestone latest so the changelog will merge because they're just difficult to handle in version control.
2011-03-23 20:54:30 -05:00
Ted Gould
bc54558c3c
lp-project-upload: Use a milestone that already exists if there is
...
one to use.
2011-03-23 20:53:32 -05:00
Ted Gould
fdb7a3d716
Shortened a long line for people with old text editors or graphics drivers that don't support KMS on the console.
2011-03-23 20:52:16 -05:00
Ted Gould
354b34ea1a
Whitespace for Python people
2011-03-23 17:07:00 -05:00
Ted Gould
d91afb44bb
Have an optional argument to create a new milestone on the series
2011-03-23 17:06:39 -05:00
Ted Gould
1329a9338d
Check to see if there's a milestone we can use, and release that if so
2011-03-23 13:49:49 -05:00
Daniel Holbach
de373f2ddc
remove leftover comment
2011-03-21 12:45:17 +01:00
Daniel Holbach
343d5e97b4
harvest, setup.py: install tool that queries Harvest for information
...
about open opportunities for a given source package.
2011-03-21 12:39:25 +01:00
Dave Walker (Daviey)
63a99bb3bc
ack-sync: Try to find a Ubuntu bug task on the bug, rather than assuming the first one is the one we want. If we fail, revert back to previous behavior. Logic for finding task could be better. hohum.
2011-03-20 16:28:27 +00:00
Dave Walker (Daviey)
1787c499ff
Try to find a Ubuntu bug task on the bug, rather than assuming the first one is the one we want. If we fail, revert back to previous behavior. Logic for finding task could be better. hohum.
2011-03-20 13:48:07 +00:00
Daniel Hahler
24a1820266
Minor fixes to doc/edit-patch.1
2011-03-13 04:02:49 +01:00
Stefano Rivera
010639eba5
Bump X-Python-Version to >= 2.6, now that python-launchpadlib no longer
...
supports Python 2.5.
2011-03-12 22:11:46 +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
Benjamin Drung
56b5ee1703
Make distro-info tests scricter.
2011-03-08 18:55:36 +01:00
Benjamin Drung
877592d0a4
Add a test case to catch bug #731398 .
2011-03-08 17:22:45 +01:00
Benjamin Drung
82187df277
ubuntutools.distro_info: Fix TypeError crash (LP: #731398 ).
2011-03-08 16:55:55 +01:00
Benjamin Drung
b67cf6e986
Improve get_builder. Thanks to Julian Taylor.
2011-03-08 12:51:53 +01:00
Benjamin Drung
e38f84cb64
data/ubuntu.csv: Update data based on https://wiki.ubuntu.com/Releases
2011-03-07 11:32:01 +01:00
Benjamin Drung
1fe068de96
data/ubuntu.csv: Add Oneiric Ocelot to the list of know releases.
2011-03-07 11:29:54 +01:00
Stefano Rivera
914af6bdfe
* add support for cowbuilder and cowbuilder-dist in builder.py
...
- allows use in sponsor-patch and backportpackage (LP: #728751 )
2011-03-06 11:08:59 +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
9736ae4655
Split release pockets a litle more sanely
2011-03-06 00:56:14 +02:00
Stefano Rivera
989aecd253
Canonicalise suites (use code-names) before passing them to rmadison.
2011-03-06 00:48:24 +02:00
Julian Taylor
aae8cce991
* add support for cowbuilder and cowbuilder-dist in builder.py
...
- allows use in sponsor-patch and backportpackage (LP: #728751 )
2011-03-05 23:17:24 +01:00
Julian Taylor
faf30c45ec
builder.py: sort builder check
2011-03-05 23:14:09 +01:00
Julian Taylor
b354beb244
backportpackage.1: update manpage for cowbuilder support
2011-03-05 22:40:17 +01:00
Julian Taylor
70d5255a48
sponsor-patch.1: update manpage for cowbuilder support
2011-03-05 22:39:43 +01:00
Julian Taylor
abe0b35261
builder.py: mark self._command private
2011-03-05 22:38:31 +01:00
Julian Taylor
e0bc0afc78
builder.py: sort unsupported builder error message
2011-03-05 22:38:03 +01: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
a93078cb32
ubuntutools.archive: Filter rmadison results. (LP: #710579 )
2011-03-05 00:05:04 +02:00
Julian Taylor
7c723753e6
simpler implementation of cowbuilder support
2011-03-04 00:12:01 +01:00
Julian Taylor
73518f83b5
add cowbuilder and cowbuilder-dist support
2011-03-03 22:57:37 +01:00
Stefano Rivera
e85a6f604f
pull-lp-source.1: Document -d option.
2011-03-02 12:34:54 +02:00
Felix Geyer
bebc67ec72
pull-lp-source.1: Document -d option.
2011-03-02 10:30:51 +01:00
Stefano Rivera
b4267dc5a7
Release
2011-03-01 15:06:13 +02:00
Stefano Rivera
c409ef2e4d
* Support Launchpadlib 1.9. (LP: #725231 , #725092 )
...
- Document Launchpadlib 1.9 issues in NEWS.
* Remove manage-credentials, and credential handling code from
ubuntutools.lp.libsupport. Launchpadlib 1.9 handles this via
python-keyring. (LP: #387297 , #645629 , #689100 )
* Use Launchpadlib.login_with() directly in scripts.
* Remove ubuntutools.lp.libsupport.approve_application, no longer used.
* Remove ubuntutools.lp.libsupport.get_launchpad, no longer used.
* Remove ubuntutools.lp.libsupport.translate_api_web, no longer used.
* Skip pylint test if it crashes.
2011-03-01 15:04:16 +02:00
Stefano Rivera
a623269d2f
Reformat NEWS
2011-03-01 15:03:32 +02:00
Stefano Rivera
5d7289caad
Document Launchpadlib 1.9 issues in NEWS.
2011-03-01 01:01:06 +02:00
Stefano Rivera
35d3c4aee4
Skip pylint test if it crashes.
2011-03-01 00:51:25 +02:00
Stefano Rivera
3d7657e466
* Remove ubuntutools.lp.libsupport.get_launchpad, no longer used.
2011-03-01 00:32:36 +02:00
Stefano Rivera
997fb23b2d
Use Launchpadlib.login_with() directly in scripts.
2011-03-01 00:30:54 +02:00
Stefano Rivera
fe63eaec05
* Remove ubuntutools.lp.libsupport.approve_application, no longer used.
2011-02-28 23:56:09 +02:00
Stefano Rivera
77c95c7f24
Close staging and credentials-management related bugs
2011-02-27 23:18:01 +02:00
Stefano Rivera
ebe9bfe05b
Remove ubuntutools.lp.libsupporttranslate_api_web, no longer used.
2011-02-24 16:34:29 +02:00
Stefano Rivera
dd7fd86c3d
Remove manage-credentials, and credential handling code from
...
ubuntutools.lp.libsupport. Launchpadlib 1.9 handles this via
python-keyring.
2011-02-24 16:30:45 +02:00
Stefano Rivera
755166deec
Strip out old launchpad credential handling code
2011-02-24 16:25:20 +02:00
Stefano Rivera
6bbdecfd7e
Add myself to Uploaders.
2011-02-23 15:22:08 +02:00
Stefano Rivera
95e7b5cd44
requestsync: Use from...import require_utf8() to work around unexpected
...
scoping from a later import (LP: #723630 )
2011-02-23 14:47:19 +02:00
Benjamin Drung
f797b18618
releasing version 0.117
2011-02-22 00:42:45 +01:00
Benjamin Drung
3887bc06b1
update_maintainer.py: Update Maintainer field if it is set to
...
"Ubuntu Core Developers <ubuntu-devel@lists.ubuntu.com>".
2011-02-22 00:42:26 +01:00
Benjamin Drung
f53448ab4b
ack-sync: Drop ubuntu-main-sponsors.
2011-02-17 21:53:01 +01:00
Stefano Rivera
d054dcf796
requestsync, grep-merges: Require a UTF-8 locale. ( Closes : #613114 ,
...
LP: #553795 )
2011-02-13 16:15:24 +02:00
Stefano Rivera
ddf4bac12e
pull-revu-source: Check for the availability of libwww-perl, and print a
...
more helpful error.
2011-02-13 15:29:15 +02:00
Stefano Rivera
3ab7f120da
Drop Build-Depend on Recommend on libapt-pkg-perl. No longer used.
2011-02-13 15:18:57 +02:00
Stefano Rivera
834a2947dd
grab-merge: Show help when no arguments are provided.
2011-02-13 15:04:40 +02:00
Stefano Rivera
5e28efeca2
debian/control: Suggest qemu-user-static | qemu-kvm-extras-static. Ubuntu
...
provides a qemu-user-static package, like Debian, since natty.
2011-02-13 15:03:09 +02:00
Stefano Rivera
7f311a2852
ubuntutools/archive.py: Rewrite launchpadlib redirects to https when
...
fetching dscs.
2011-02-13 14:40:14 +02:00
Benjamin Drung
bae108a7ae
import-bug-from-debian: Show error messages instead of having the import errors for recommended packages ( Closes : #613101 , LP: #693813 ).
2011-02-12 23:13:44 +01:00
Benjamin Drung
8c0e535b29
dgetlp: Show error messages instead of having the import errors for recommended packages ( Closes : #613101 , LP: #693813 ).
2011-02-12 23:08:15 +01:00
Benjamin Drung
5480d7bcef
dgetlp: Sort imports.
2011-02-12 23:00:21 +01:00
Benjamin Drung
02c7c47ece
suspicious-source: Show error message instead of having the import error
...
for recommended packages (Closes : #613101 , LP: #693813 ).
2011-02-12 22:37:16 +01:00
Benjamin Drung
13fbbcb4f3
releasing version 0.116
2011-02-12 19:03:12 +01:00
Benjamin Drung
c175f31ea7
ubuntutools/test/example_package.py: Use dpkg-source directly instead of
...
dpkg-buildpackage to avoid running fakeroot inside fakeroot which leads
to a FTBFS on natty.
2011-02-12 16:38:14 +01:00
Benjamin Drung
cfa69ccf43
Move debian-keyring from Suggests to Recommends (LP: #717245 ).
2011-02-12 14:16:29 +01:00
Benjamin Drung
fef245e07c
wrap-and-sort: Wrap and sort Build-Conflicts too.
2011-02-12 14:15:35 +01:00
Michael Bienia
5ef61615ce
Use the new web_link attribute of LP objects instead of our own
...
translate_api_web() function.
2011-02-11 15:33:09 +01:00
Kees Cook
186e6f13da
mk-sbuild: work around apt's invocation of GPG needing root's
...
.gnupg directory to already exist.
2011-02-08 16:00:57 -08:00
Benjamin Drung
b2b37159d5
Shorten names of test methods.
2011-02-08 21:49:27 +01:00
Kees Cook
6265047606
update to allow for missing rules file
2011-02-08 11:57:07 -08:00
Kees Cook
9ebaa17ad8
ubuntutools/test/test_update_maintainer.py: update test cases to
...
handle checking for debian/rules.
2011-02-08 10:28:06 -08:00
Kees Cook
df38124295
improve comment
2011-02-07 10:46:36 -08:00
Kees Cook
fd6b8cdab0
ubuntutools/update_maintainer.py: do nothing if the rules file
...
already manages XSBC-Original (e.g. python).
2011-02-07 10:43:51 -08:00
Benjamin Drung
99e6e3cc27
*distro-info: Add a "created" column to the data.
2011-02-06 16:48:14 +01:00
Benjamin Drung
c896352a20
data/debian.csv: Add wheezy and release date of squeeze.
2011-02-06 15:17:40 +01:00
Stefano Rivera
e1fe418927
* debian/copyright:
...
- Files is space-separated, not comma.
- Bump Format revision.
2011-02-02 23:29:13 +02:00
Benjamin Drung
2faba4eb3e
suspicious-source: Add image/vnd.adobe.photoshop to the mime-type whitelist.
2011-02-01 15:34:40 +01:00
Benjamin Drung
b5fe00acc2
suspicious-source: Add .icns and .java to extension whitelist.
2011-02-01 15:15:01 +01:00
Benjamin Drung
c4ffe8ad0b
releasing version 0.115
2011-02-01 13:58:20 +01:00
Benjamin Drung
5fd32ddc17
Close LP bug in debian/changelog.
2011-02-01 12:14:33 +01:00
Benjamin Drung
dccc33c454
requestsync: Fix intentation.
2011-02-01 12:11:20 +01:00
Stefano Rivera
773c5c33e0
Rework Scott's requestsync modifications for robustness and staging-support
2011-02-01 10:10:31 +02:00
Scott Kitterman
f8f79ecf99
* Update requestsync to send to Launchpad's MX record instead of hard
...
coding to the old MX (fiordland)
* Recommend python-dns
2011-01-31 18:37:23 -05:00
Stefano Rivera
8657394219
Catch DownloadErrors in ubuntutools.archive users. (LP: #708862 )
2011-01-31 19:01:10 +02:00
Benjamin Drung
d80f8248b8
distro_info.py: Change logic of _get_data_dir() to improve installation detection.
2011-01-27 21:28:00 +01:00
Benjamin Drung
55d8398445
edit-patch.1: Fix typo changelong -> changelog.
2011-01-26 19:53:36 +01:00
Benjamin Drung
06132eec9b
edit-patch.1: Wrap long lines.
2011-01-26 19:53:02 +01:00
Daniel Holbach
5b7535a628
revert harvest addition for now - no time to add: lacking a man page, a license header, needs to be mentioned in d/control, d/copyright
2011-01-26 10:18:40 +01:00
Daniel Holbach
ad837ae9cf
harvest, setup.py: install tool that queries Harvest for information
...
about open opportunities for a given source package.
2011-01-26 09:33:18 +01:00
Benjamin Drung
142fcc94a3
releasing version 0.114
2011-01-25 22:58:31 +01:00
Benjamin Drung
526b7e63c6
update_maintainer.py: Process control.in first.
2011-01-25 22:09:15 +01:00
Benjamin Drung
bc3e647fc3
wrap-and-sort: Add option to use on individual file (LP: #699696 ).
2011-01-25 22:01:26 +01:00
Stefano Rivera
ce34dff75f
Typo in syncpackage help
2011-01-25 09:43:15 +02:00
Stefano Rivera
19f4f57c8c
syncpackage: Don't fakesync when we have a new orig tarball (LP: #707187 )
2011-01-25 09:41:59 +02:00
Benjamin Drung
eff2b11d81
wrap-and-sort: Use parser.error.
2011-01-24 22:30:58 +01:00
Dustin Kirkland
df28e21b54
* debian/control, debian/copyright, doc/errno.1, errno, setup.py:
...
- purge the errno utility per request of the ubuntu-dev-tools
maintainer; errno now provided by the 'errno' package; (LP: #666540 )
2011-01-24 00:43:05 -06:00
Stefano Rivera
4faba7c569
ubuntutools.archive: Handle source package in workdir correctly.
...
Add regression tests. (LP: #706403 )
2011-01-22 23:19:31 +02:00
Benjamin Drung
b5ede6ab85
releasing version 0.113
2011-01-22 21:07:10 +01:00
Stefano Rivera
0dbaa60945
Use ubuntu-distro-info in reverse-build-depends
2011-01-22 22:01:18 +02:00
Stefano Rivera
e84d3ed9db
Use ubuntu-distro-info in dch-repeat
2011-01-22 21:58:22 +02:00
Stefano Rivera
4ac501214d
pull-debian-source: Rewritten in Python to take advantage of the new
...
ubuntutools library functions.
2011-01-22 21:22:09 +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
a1cafe8843
pbuilder-dist-simple: Remove all mention of supporting Debian.
...
(LP: #481223 )
2011-01-22 18:28:40 +02:00
Stefano Rivera
574f6a239d
Drop redundant 'Error:'
2011-01-22 18:05:26 +02:00
Stefano Rivera
9bb93b6fc0
Dropped exit
2011-01-22 17:58:19 +02:00
Stefano Rivera
eb22cc206b
pbuilder-dist: Use ubuntutools.logger.
2011-01-22 17:57:16 +02:00
Stefano Rivera
b64ce68971
bash_completion/pbuilder-dist: Use *-distro-info to determine pbuilder
...
file names.
2011-01-22 15:19:07 +02:00
Benjamin Drung
3bfd76f9d4
*-distro-info.1: Add SEE ALSO section.
2011-01-22 12:05:46 +01:00
Benjamin Drung
88c4a0fc7f
distro_info.py: Improve convert_date logic (to avoid try statement).
2011-01-22 12:03:30 +01:00
Stefano Rivera
3db76b355a
pbuilder-dist: Use ubuntutools.logger.
2011-01-22 11:21:52 +02:00
Benjamin Drung
876d8fdd8e
distro_info.py: simplify if statement.
2011-01-22 02:29:33 +01:00
Benjamin Drung
013af48c51
distro_info.py: two blank lines before classes.
2011-01-22 02:28:19 +01:00
Benjamin Drung
6e38700f26
ubuntutools/requestsync/lp.py: Fix typo codenames -> codename.
2011-01-22 02:27:10 +01:00
Benjamin Drung
7d6f5ecb56
*-distro-info: parser.error() will exit.
2011-01-22 02:25:09 +01:00
Benjamin Drung
fd5da7c92b
Fix typos.
2011-01-22 02:19:28 +01:00
Benjamin Drung
e6f97df7a7
*distro-info.1: Add DATE meta variable.
2011-01-22 02:13:39 +01:00
Benjamin Drung
f31ed78711
Fix debian/changelog.
2011-01-22 02:09:37 +01:00
Stefano Rivera
aa181c12ff
backportpackage: dput correct changes filename (regression in 0.112)
...
(LP: #706010 )
2011-01-21 21:24:50 +02:00
Benjamin Drung
1a8951e82d
Use new ubuntutools.distro_info in various scripts.
2011-01-21 19:20:04 +01:00
Benjamin Drung
3b97f4f3e5
debian-distro-info, distro-info, ubuntu-distro-info: New tools.
2011-01-21 18:24:30 +01:00
Benjamin Drung
90b34b936f
releasing version 0.112
2011-01-20 10:26:15 +01:00
Benjamin Drung
76876a11f0
New source package downloading framework in ubuntutools.archive. Use in many scripts.
...
pull-lp-source: str() exceptions before passing to Logger (LP: #695523 )
2011-01-20 00:37:16 +01:00
Stefano Rivera
4a97dee930
Break source_is_workdir out of long if statement
2011-01-20 01:28:58 +02:00
Stefano Rivera
a5c5215959
Replace check_call with error and quit
2011-01-20 01:16:11 +02:00
Stefano Rivera
d68b83af1d
Typo in comment
2011-01-20 01:10:06 +02:00
Stefano Rivera
19221fd2bc
Drop unused imports
2011-01-20 01:09:07 +02:00
Robert Collins
c1a3f11583
manage-credentials: Finish migrating away from the Launchpad 'edge' service
...
root. (LP: #704657 )
2011-01-19 12:05:08 +13:00
Stefano Rivera
038cd428d3
Use ubuntutools.archive's rmadison code in requestsync.mail
2011-01-15 20:54:45 +02:00
Stefano Rivera
b1b1c9a91a
Please pylint
2011-01-15 20:14:41 +02:00
Stefano Rivera
1bc68bd2cf
Tidy example package
2011-01-15 20:14:34 +02:00
Stefano Rivera
bb718951ed
Store blank example package extracted
2011-01-15 19:47:13 +02:00
Stefano Rivera
b11d08f6b0
Generate example package
2011-01-15 17:56:48 +02:00
Stefano Rivera
495d14b69d
Help pylint
2011-01-15 16:05:15 +02:00
Stefano Rivera
baf7a803ae
Read source and version from dsc, not dsc filename
2011-01-15 15:59:59 +02:00
Stefano Rivera
f4bbff9e9c
Move source package verification into ubuntutools.archive
2011-01-15 15:50:07 +02:00
Stefano Rivera
e48a2c92d4
Cannot use with statement with StringIO
2011-01-15 13:55:20 +02:00
Stefano Rivera
394d956a37
Catch URLError, not HTTPError when pulling sources
2011-01-15 13:48:38 +02:00
Stefano Rivera
b62377b374
Handle missing debian-keyring more gracefully
2011-01-15 13:46:40 +02:00
Stefano Rivera
d7c0cad962
Merge from trunk
2011-01-15 13:32:50 +02:00
Stefano Rivera
ed91b960e2
Move debdiff into SourcePackage
2011-01-15 13:28:44 +02:00
Benjamin Drung
a99497b5ce
Make pylint happy about check-mir.
2011-01-14 11:09:21 +01:00
Martin Pitt
4c299794a9
releasing version 0.111
2011-01-13 20:15:44 -06:00
Martin Pitt
45317aa8e0
ubuntutools/test/test_help.py: Blacklist --help test for check-mir, it
...
does not have help. Fixes FTBFS on the buildd.
2011-01-13 20:14:52 -06:00
Martin Pitt
15beff979f
releasing version 0.110
2011-01-13 19:28:27 -06:00
Martin Pitt
8cb609f2b2
debian/control: Add check-mir to package description.
2011-01-13 19:28:18 -06:00
Martin Pitt
8460bb2bdf
check-mir: Check binary dependencies, too.
2011-01-13 19:24:40 -06:00
Martin Pitt
8871609660
doc/check-mir.1: Fix typo.
2011-01-13 19:24:22 -06:00
Martin Pitt
1961071ff3
releasing version 0.109
2011-01-13 19:16:38 -06:00
Martin Pitt
8d12afe1e9
Add check-mir script: Check components of build dependencies and warn
...
about universe/multiverse ones, for a package destined for
main/restricted. Add doc/check-mir.1 manpage.
2011-01-13 19:10:37 -06:00
Stefano Rivera
cdd93a4cd8
backportpackage: check_call: Take first argument (command name) when reporting error.
2011-01-13 22:58:03 +02:00
Benjamin Drung
b37b898653
Update my email address and remove DM-Upload-Allowed.
2011-01-07 00:04:56 +01:00
Luca Falavigna
1e5b8d0e5b
Remove myself from Uploaders
2011-01-06 23:22:35 +01:00
Stefano Rivera
5d642ab042
Typo
2011-01-05 09:45:31 +02:00
Stefano Rivera
ec5abfe6f2
Include BTS URL, as launchpad links 'bug XYZ' to LP: #XYZ
2011-01-04 22:26:24 +02:00
Stefano Rivera
9c916053b1
import-bug-from-debian: Add --package option, for importing bugs from
...
psuedo-packages.
2011-01-04 22:24:06 +02:00
Stefano Rivera
3ef8324ff7
Improve error handling
2011-01-01 19:51:03 +02:00
Stefano Rivera
d9a9b4cab4
Complete test suite for ubuntutools.archive
2010-12-31 21:08:16 +02:00
Stefano Rivera
5ad9ee9f5b
SourcPackage.pull() should raise DownloadError instead of returning False
2010-12-31 21:08:01 +02:00
Stefano Rivera
c52f0965e7
Fall back to master mirrors
2010-12-31 19:56:31 +02:00
Stefano Rivera
182cab66c4
distribution -> suite
2010-12-31 18:54:24 +02:00
Stefano Rivera
6b1ad27167
A bit less magic (for pylint)
2010-12-31 18:52:22 +02:00
Stefano Rivera
531aaba3a0
Basic test suite for ubuntutools.archive
2010-12-31 17:37:24 +02:00
Stefano Rivera
b78922b14a
Help testing: Write download progress to Logger's streams
2010-12-31 17:36:38 +02:00
Stefano Rivera
26c2198838
Help testing: Separate rmadison out into a function
2010-12-31 17:36:20 +02:00
Stefano Rivera
a3b82ff2e9
Correct dsc location assertion
2010-12-31 17:30:39 +02:00
Stefano Rivera
36f7f7729f
Man page update
2010-12-31 12:37:52 +02:00
Stefano Rivera
620f3fb25a
Typo in snapshot support
2010-12-30 20:14:15 +02:00
Stefano Rivera
eed9304664
GPG verification support
2010-12-30 20:11:13 +02:00
Stefano Rivera
a2da2da87b
Snapshot and rmadison support
2010-12-30 19:50:07 +02:00
Stefano Rivera
3013ee034a
Use *SourcePackage in backportpackage
2010-12-30 18:05:55 +02:00
Stefano Rivera
1fb2545712
Use *SourcePackage in syncpackage
2010-12-30 17:16:58 +02:00
Stefano Rivera
6c118ef1fe
dsc filename support
2010-12-30 17:16:21 +02:00
Stefano Rivera
51fe0a4db8
* pull-lp-source:
...
- Support -d (LP: #681699 )
- str() exceptions before passing to Logger (LP: #695523 )
2010-12-30 17:13:58 +02:00
Stefano Rivera
5553c11ddd
Beginnings of an OO ubuntutools.archive.SourcePackage
2010-12-29 23:13:48 +02:00
Stefano Rivera
adc2b7869d
Allow reusing existing Launchpads with lpapicache
2010-12-29 22:50:00 +02:00
Benjamin Drung
99f78224ac
sponsor_patch.py: Fix bug task selection and put it in separate function.
2010-12-28 20:44:22 +01:00
Benjamin Drung
c279a9ba14
ack-sync: Fix duplicate argument 'verbose' in function definition
2010-12-28 20:02:02 +01:00
Benjamin Drung
9e95b512f5
ack-sync: Fix undefined variables.
2010-12-28 19:59:34 +01:00
Stefano Rivera
62073c1085
Mirror support in syncpackage
2010-12-28 15:35:15 +02:00
Stefano Rivera
1b93ed57ed
Don't modify commands when logging them
2010-12-28 15:34:23 +02:00
Stefano Rivera
be79f00dff
Lets make ubuntutools.mirrors return filenames
2010-12-28 00:42:35 +02:00
Stefano Rivera
2c27cf68a6
Move common downloading code into new ubuntutools.mirrors. Use in backportpackage, pull-debian-debdiff, pull-lp-source
2010-12-28 00:23:53 +02:00
Benjamin Drung
fd667bdd5f
Fix invalid name pylint report.
2010-12-27 22:46:16 +01:00
Benjamin Drung
cfbc5c16cd
ubuntutools/packages.py: Removed (used nowhere).
2010-12-27 22:39:27 +01:00
Benjamin Drung
2ba510bb89
Fix invalid name pylint report.
2010-12-27 22:33:01 +01:00
Benjamin Drung
b09ddfee2f
Make pylint happier.
2010-12-27 21:54:31 +01:00
Benjamin Drung
b05b4aa5ce
Make pylint a little bit happier.
2010-12-27 20:49:00 +01:00
Benjamin Drung
f6cb127479
backportpackage: Make pylint happier.
2010-12-27 20:32:07 +01:00
Benjamin Drung
7b7c84a9fe
pbuilder-dist: Make pylint happier.
2010-12-27 20:23:08 +01:00
Benjamin Drung
4215c94b92
pull-debian-debdiff: Make pylint happier.
2010-12-27 20:14:47 +01:00
Stefano Rivera
f7525d6dd5
Add UDTConfig and tidy OptParser
2010-12-27 21:09:24 +02:00
Benjamin Drung
086ca39f10
requestsync: Make pylint happier.
2010-12-27 20:06:23 +01:00
Benjamin Drung
08042bf61f
submittodebian: Make pylint happier.
2010-12-27 20:02:11 +01:00
Benjamin Drung
53c5d801f8
ubuntu-build: Make pylint happier.
2010-12-27 19:55:48 +01:00
Stefano Rivera
c46bb9ed88
Use ubuntutools.logger in syncpackage
2010-12-27 18:24:21 +02:00
Benjamin Drung
c19ff094b1
Make pylint a little bit happier.
2010-12-27 16:54:23 +01:00
Benjamin Drung
39e6306364
sponsor_patch.py: Refactor long function.
2010-12-27 16:50:55 +01:00
Benjamin Drung
0c8520ee8c
Make pylint a little bit happier.
2010-12-27 15:20:49 +01:00
Benjamin Drung
f8d3f9f2f5
Wrap all long lines in Python scripts.
2010-12-27 14:21:01 +01:00
Benjamin Drung
a3b5e71547
Add missing spaces to Python scripts.
2010-12-27 14:01:03 +01:00
Benjamin Drung
f2d17d73a5
test_config.py: Move config_files and fake_open into ConfigTestCase.
2010-12-27 13:43:13 +01:00
Benjamin Drung
45a341dfd1
test_config.py: Use mox.
2010-12-27 13:37:40 +01:00
Stefano Rivera
04f52e9de6
Run pylint on Python source code.
2010-12-27 13:07:26 +01:00
Stefano Rivera
76ba39d60b
Add regex whitelist to pylint
2010-12-27 13:39:43 +02:00
Benjamin Drung
ce3c2f6bee
test_update_maintainer.py: Use mox.
2010-12-27 01:51:19 +01:00
Stefano Rivera
8b659d8fc3
Drop non-default values from pylint.conf
2010-12-27 02:00:25 +02:00
Benjamin Drung
2fa20670c3
test_update_maintainer.py: Unpatch os.path.isfile after test.
2010-12-27 00:33:49 +01:00
Stefano Rivera
d199de5185
Add add-patch to edit-patch manpage
2010-12-26 22:05:40 +02:00
Stefano Rivera
0fa022c367
Run pylint on Python source code.
2010-12-26 21:57:44 +02:00
Stefano Rivera
58559d9db8
Help silence pylint
2010-12-26 21:56:05 +02:00
Stefano Rivera
e47794030f
Small error pylint spotted
2010-12-26 21:55:15 +02:00
Stefano Rivera
657a57d266
suspicious-source: Whitelist Python source code.
2010-12-26 20:32:48 +02:00
Benjamin Drung
6348bc3df1
Install add-patch link and use it in sponsor-patch.
2010-12-26 15:16:33 +01:00
Benjamin Drung
1ef75a1a23
Install additional files via setup.py instead of debian/*.
2010-12-26 15:14:35 +01:00
Benjamin Drung
d7ee0af9f7
Implement testcases for update-maintainer.
2010-12-26 01:35:22 +01:00
Benjamin Drung
2e9a5c3db6
Fix some errors found by pylint.
2010-12-26 01:01:57 +01:00
Benjamin Drung
425b9da534
ubuntutools/sponsor_patch/main.py: Disable some pylint error.
2010-12-26 00:52:24 +01:00
Benjamin Drung
c8e71cacee
builder.py: Pass ARCH to pbuilder too.
2010-12-25 20:05:38 +01:00
Benjamin Drung
3f3018aef2
update-maintainer: Rewrite completely using python-debian (LP: #666504 ).
2010-12-25 19:49:49 +01: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
b5274624ac
Suggest python-simplejson | python (>= 2.7) and complain if they are missing in pull-debian-debdiff
2010-12-25 18:06:18 +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
Benjamin Drung
e39a3565e5
check-symbols: List all required tools.
2010-12-25 16:47:09 +01:00
Benjamin Drung
8ebee7e0f2
pull-lp-source: Make pylint a little bit happier.
2010-12-25 16:32:29 +01:00
Stefano Rivera
9f340a7562
* pull-debian-debdiff: Rewrite in Python, and use snapshot.debian.org.
...
* pull-lp-source: Support -d (LP: #681699 )
2010-12-25 16:26:43 +01:00
Benjamin Drung
df1ae06d30
builder.py: Mark some functions as private.
2010-12-25 15:32:55 +01:00
Stefano Rivera
53faae58dc
Mirror support in backportpackage
2010-12-24 16:22:21 +02:00
Stefano Rivera
85f8548d5f
Typo
2010-12-24 16:22:12 +02:00
Benjamin Drung
1054307414
control.py: Add required methods for update-maintainer.
2010-12-24 13:38:59 +01:00
Stefano Rivera
5182d62de1
if...else precedence in dget calls
2010-12-24 13:47:22 +02:00
Stefano Rivera
0a64cae0da
Use keyword args when getting series
2010-12-24 13:47:02 +02:00
Stefano Rivera
86e940a9ae
pull-lp-source: Support -d (LP: #681699 )
2010-12-24 12:16:34 +02:00
Stefano Rivera
9033bf7ee7
Tidy pull-lp-source, use Logger
2010-12-24 12:04:46 +02:00
Stefano Rivera
0d51908f40
Add mirror support to pull-lp-source
2010-12-24 12:00:03 +02:00
Stefano Rivera
088341fa7c
snapshot: Don't re-download existing files if hashes match
2010-12-24 11:17:25 +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
40aa623ac3
Update copyright
2010-12-24 03:43:01 +02:00
Stefano Rivera
8e27317b65
Rename mirror variables, add Ubuntu
2010-12-24 03:04:42 +02:00
Stefano Rivera
cf68c75fa8
- Support this in many u-d-t scripts, and update manpages.
...
- Deprecate old configuration environment variables.
* pull-debian-debdiff: Rewrite in Python, and use snapshot.debian.org.
2010-12-24 02:58:54 +02:00
Stefano Rivera
30b6628910
Config file support for pull-debian-debdiff
2010-12-24 01:07:48 +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
Benjamin Drung
c28ddf5698
Wrap all long lines in ubuntutools.
2010-12-23 20:42:21 +01:00
Benjamin Drung
fec33a6a41
wrap-and-sort: Split Control into separate Python file.
2010-12-23 17:18:42 +01:00
Stefano Rivera
401dd27276
pythno-gnupginterface Depends -> Recommends
2010-12-23 17:38:30 +02:00
Benjamin Drung
f822b7c1d9
wrap-and-sort: Make documentation consistent with backportpackage.
2010-12-23 16:01:22 +01:00
Benjamin Drung
0fe7076e88
lp-set-dup: Make pylint a little bit happier.
2010-12-23 12:30:29 +01:00
Benjamin Drung
e0457ff333
massfile: Add option parsing and various fixes.
2010-12-23 12:18:30 +01:00
Benjamin Drung
2279efb2cf
massfile: Fix wrong variable name and make pylint a little bit happier.
2010-12-23 12:17:20 +01:00
Benjamin Drung
121bc50341
massfile: Add missing comma.
2010-12-23 12:08:02 +01:00
Stefano Rivera
86b7ff977c
Add option parsing to massfile, for lpinstance, correct manpage's view on file locations
2010-12-23 12:35:41 +02:00
Stefano Rivera
2de4aecc4f
lp-set-dup: Config file support
2010-12-22 23:58:16 +01:00
Benjamin Drung
b18aa6209a
syncpackage: Make pylint a little bit happier.
2010-12-22 23:53:09 +01:00
Benjamin Drung
2a2cd83b74
sponsor-patch: Make pylint a little bit happier.
2010-12-22 23:31:35 +01:00
Benjamin Drung
8351e6876d
wrap-and-sort: Make pylint a little bit happier.
2010-12-22 23:04:57 +01:00
Stefano Rivera
9fa9f3eb96
Whitespace and style cleanups
2010-12-23 00:01:39 +02:00
Benjamin Drung
3f694feb94
suspicious-source: Make pylint a little bit happier.
2010-12-22 22:43:21 +01:00
Stefano Rivera
d0ed0d83cc
Broke ubuntu-build in lat commit. Add missing indent
2010-12-22 23:06:03 +02:00
Stefano Rivera
f01beda01c
Convert last Python code from mixed tabs and spaces to spaces
2010-12-22 23:04:29 +02:00
Stefano Rivera
63f418c534
Config file for import-bug-from-debian.
2010-12-22 21:59:24 +01:00
Stefano Rivera
cce5ceb0ec
Correct variable name
2010-12-22 22:57:02 +02:00
Stefano Rivera
e5ac5620d7
Correct variable name
2010-12-22 22:56:39 +02:00
Benjamin Drung
f6335cf993
ack-sync: Convert to PEP8.
2010-12-22 21:40:23 +01:00
Stefano Rivera
30df1c0ec8
- Support this in many u-d-t scripts, and update manpages.
...
- Deprecate old configuration environment variables.
2010-12-22 21:33:58 +01:00
Stefano Rivera
fe2aa64ea9
Improve synopsis markup
2010-12-22 22:23:53 +02:00
Stefano Rivera
dc6b404bc9
lp-set-dup: Config file support
2010-12-22 22:22:05 +02:00
Stefano Rivera
8cee545568
Migrate to ubuntutools.logger
2010-12-22 21:24:35 +02:00
Stefano Rivera
b94d134650
Add warning() and substitution support to logger
2010-12-22 21:04:53 +02:00
Stefano Rivera
bcf9772206
edit-patch: Don't let cat error through if debian/source/format doesn't
...
exist.
2010-12-22 20:53:38 +02:00
Benjamin Drung
43ec3ff136
Depend on python-gnupginterface (used by dgetlp).
2010-12-22 19:18:32 +01:00
Benjamin Drung
b2b0375646
Add most dependencies to Build-Depends for successfully run the tests.
2010-12-22 19:15:31 +01:00
Stefano Rivera
517bc10e3b
- Test for that every script can run --help and return 0.
...
- 404main, merge-changelog, pull-debian-debdiff, pull-debian-source,
pull-revu-source:
+ Return 0 after showing help.
2010-12-22 19:08:20 +01:00
Stefano Rivera
c6a82f8bc1
merge-changelog: Return non-zero when arguments don't parse.
2010-12-22 19:48:50 +02:00
Stefano Rivera
f74f07507b
404main: Return non-zero when arguments don't parse.
2010-12-22 19:36:58 +02:00
Benjamin Drung
48c30e91a6
404main: Fix indentation.
2010-12-22 18:35:41 +01:00
Benjamin Drung
54c0a88464
sponsor-patch: Remove needless new-line from print command.
2010-12-22 18:35:11 +01:00
Stefano Rivera
34b1991bdd
Fix pull-revu-source help, and return 0
2010-12-22 17:14:48 +02:00
Stefano Rivera
df6b32086b
Close /dev/null
2010-12-22 17:09:29 +02:00
Stefano Rivera
4c0a650052
Blacklist get-build-deps
2010-12-22 17:03:01 +02:00
Stefano Rivera
f55ab3d465
Provide pid when killing
2010-12-22 17:01:55 +02:00
Stefano Rivera
96d72d83e2
signals don't use underscores
2010-12-22 16:57:25 +02:00
Stefano Rivera
9ba4809eed
Reverted: r876: Append a1 to version number in pre-releases
2010-12-22 16:56:05 +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
Michael Vogt
af2497291f
add "add-patch" that provides the non-interactive version of
...
edit-patch
2010-12-22 15:44:22 +01:00
Stefano Rivera
8756577518
Complete blacklist
2010-12-22 16:28:36 +02:00
Benjamin Drung
8e30fddfae
sponsor-patch: Catch KeyboardInterrupt.
2010-12-22 14:32:24 +01:00
Benjamin Drung
71a1bffba5
Recommend bzr-builddeb (used by sponsor-patch for branches).
2010-12-22 14:23:28 +01:00
Benjamin Drung
715c554e88
Fix: The package was only uploaded if the target was "ubuntu".
2010-12-22 14:19:21 +01:00
Stefano Rivera
b4a245b281
Append a1 to version number in pre-releases
2010-12-22 15:07:19 +02:00
Stefano Rivera
3ac706401f
Test for that every script can run --help and return 0.
2010-12-22 15:05:55 +02:00
Benjamin Drung
9077c0babd
Close already fixed bug.
2010-12-22 12:54:08 +01:00
Benjamin Drung
51966025d6
debian/changelog: Use capital LP for closing a bug.
2010-12-22 01:44:24 +01:00
Benjamin Drung
493597a500
Convert tabs to spaces in Python scripts (PEP-8) part 1.
2010-12-22 01:28:00 +01:00
Stefano Rivera
2c2aaf90b3
Migrate to logging
2010-12-22 02:09:04 +02:00
Benjamin Drung
0a35d3d13d
sponsor-patch: Fix crash if uploading to ubuntu without building the package before.
2010-12-22 00:52:45 +01:00
Benjamin Drung
d264ee7e97
sponsor-patch: Fix indentation of Logger change.
2010-12-21 23:29:50 +01:00
Stefano Rivera
0184a10c21
Prefix replacement in warning
2010-12-22 00:14:28 +02:00
Stefano Rivera
b46114c20f
Move up mailserver config parsing, so we return deprecation errors fast
2010-12-22 00:11:10 +02:00
Stefano Rivera
c43e9775e0
- Support this in many u-d-t scripts, and update manpages.
...
- Deprecate old configuration environment variables.
2010-12-22 00:07:48 +02:00
Benjamin Drung
9ee1a8faa0
sponsor-patch: Fix 'str' object has no attribute 'startwith' crash caused by a typo.
2010-12-21 22:50:02 +01:00
Stefano Rivera
bd08a0c423
Config file for import-bug-from-debian
2010-12-21 23:41:55 +02:00
Benjamin Drung
ff84b6da91
sponsor-patch: Use "bzr builddeb" instead of the shortcut "bzr bd".
2010-12-21 22:41:53 +01:00
Benjamin Drung
67ad32a06d
Making debian/copyright a little bit shorter.
2010-12-21 22:15:54 +01:00
Benjamin Drung
1e179b1bd6
sponsor-patch: Add missing comma in SEE ALSO.
2010-12-21 21:59:04 +01:00
Benjamin Drung
41cc2fa194
sponsor-patch: Add new --lpinstance and --no-conf options and support
...
configuration files.
2010-12-21 21:42:32 +01:00
Stefano Rivera
86facf23c2
Config file support for grab-attachments (almost doubling its size) :P
2010-12-21 22:42:29 +02:00
Stefano Rivera
eedb60b296
Port grab-attachments to optparse
2010-12-21 22:33:53 +02:00
Stefano Rivera
3f776be478
Config file support for ack-sync
2010-12-21 22:12:05 +02:00
Stefano Rivera
692627c771
Restore -l
2010-12-21 21:54:57 +02:00
Stefano Rivera
a435c3234b
Use the improved staging support in lpapicache
2010-12-21 21:52:12 +02:00
Stefano Rivera
13cbe49a19
Merge from trunk
2010-12-21 21:50:59 +02:00
Michael Bienia
9bf33b330b
Forgot to add changelog entry to close the bug.
2010-12-21 19:16:09 +01:00
Michael Bienia
2e2376d854
ubuntutools/lp/lpapicache.py: The wrapper classes now use the root uri from the
...
Launchpad object for checking the resource type during runtime (the root uri
doesn't need to be known at import time anymore)
2010-12-21 18:57:29 +01:00
Stefano Rivera
82eab1c349
Config file support in requestsync
2010-12-21 17:02:36 +02:00
Stefano Rivera
660209473b
GPGKEY is not a supported environment variable
2010-12-21 15:25:05 +02:00
Stefano Rivera
7977a367fd
Rename --launchpad to --lpinstance
2010-12-21 15:14:45 +02:00
Stefano Rivera
8dd88f18f8
Forgot EMAIL
2010-12-21 12:59:45 +02:00
Stefano Rivera
b1b1e5e332
requestsync: Style: named parameters shouldn't have spaces around =
2010-12-21 12:32:33 +02:00
Stefano Rivera
9dd04a43ba
requestsync: Convert the space-indented lines to tabs
2010-12-21 12:26:00 +02:00
Stefano Rivera
07cb3f5777
Merge from trunk
2010-12-21 11:39:00 +02:00
Benjamin Drung
f00a490006
debian/copyright: Improve formatting.
2010-12-21 01:38:00 +01:00
Stefano Rivera
d607847d49
ubuntutools.common is gone
2010-12-21 02:20:16 +02:00
Benjamin Drung
47b1393664
backportpackage.1: Put description before options.
2010-12-21 01:17:53 +01:00
Stefano Rivera
8588c064b7
ubuntutools.common is gone
2010-12-21 02:17:04 +02:00
Stefano Rivera
e3654e914c
* Support reading configuration variables from devscripts configuration
...
files. (LP: #681693 )
- Added ubuntu-dev-tools.5
* Support the combined "Name <email>" format in UBUMAIL, DEBFULLNAME, and
DEBEMAIL. (LP: #665202 )
* Add the beginnings of a test suite. (LP: #690386 )
- Switch to setuptools, to support setup.py test.
* ubuntutools/common.py: Remove https_proxy unsetting code, working around
LP: #94130 .
2010-12-21 01:10:57 +01:00
Stefano Rivera
c6578d1ec0
Specify boolean for UPDATE_BUILDER
2010-12-21 02:02:38 +02:00
Stefano Rivera
98061bc423
Promote WORKDIR to UBUNTUTOOLS
2010-12-21 01:56:28 +02:00
Stefano Rivera
2c1e1c8727
Add boolean as a get_value argument
2010-12-21 01:51:10 +02:00
Stefano Rivera
0ad5bd5174
Document BACKPORTPACKAGE_WORKDIR
2010-12-21 01:37:13 +02:00
Stefano Rivera
eeb8fd38bf
Document UPDATE_BUILDER
2010-12-21 01:36:24 +02:00
Stefano Rivera
820b8dc0c5
Default value for UDTConfig.config
2010-12-21 01:14:57 +02:00
Stefano Rivera
1ef4d149a7
Install .5 manpages
2010-12-21 00:41:33 +02:00
Stefano Rivera
59464226c0
In fact, have no default, caller is responsible
2010-12-21 00:35:52 +02:00
Stefano Rivera
64e51e0617
Get default builder from UDTConfig
2010-12-21 00:31:23 +02:00
Stefano Rivera
4f7a5232a2
Script-specific variables win over package variables no matter which store they come from
2010-12-21 00:28:31 +02:00
Stefano Rivera
4336f7442a
Use attribute accessors for pwd
2010-12-21 00:24:03 +02:00
Stefano Rivera
7229c63dc2
Further magic reduction in ubu_email
2010-12-21 00:18:47 +02:00
Stefano Rivera
0a272cab3f
Support the notion of non-package-wide variables
2010-12-21 00:13:39 +02:00
Stefano Rivera
2a1a48ae56
Tone down ubu_email magic
2010-12-20 23:56:54 +02:00
Stefano Rivera
b038e247d5
Add missing bold formatting to option list in backportpackage.1
2010-12-20 23:45:16 +02:00
Stefano Rivera
5716fa6d50
Describe precedence in backportpackage.1
2010-12-20 23:39:50 +02:00
Stefano Rivera
3d03dcdb3f
Switch to using shlex for config file parsing
2010-12-20 23:36:17 +02:00
Stefano Rivera
432ddc28ff
override_dh_auto_test can go in the ifeq nocheck block, it's a noop with python_distutils atm
2010-12-20 22:49:16 +02:00
Stefano Rivera
4adf0f3eeb
Tweak d/rules indentation
2010-12-20 22:47:36 +02:00
Stefano Rivera
9bc2bbf64f
Settle on simply --no-conf, update manpages appropriately
2010-12-20 22:45:37 +02:00
Stefano Rivera
887aa1a9ab
UDTConfig docstring
2010-12-20 22:38:53 +02:00
Stefano Rivera
680a4698d7
Some more ubu_email test-cases
2010-12-20 22:38:36 +02:00
Stefano Rivera
254be7bb5d
Configuration system uses a class, add test suite
2010-12-20 22:08:12 +02:00
Stefano Rivera
9c62fb8723
bzrignore egg-info
2010-12-20 21:33:48 +02:00
Stefano Rivera
453112f342
Support quoted values
2010-12-20 21:00:14 +02:00
Stefano Rivera
324c2957fd
ubuntutools/common.py: Remove https_proxy unsetting code, working around
...
LP: #94130 .
2010-12-20 20:56:38 +02:00
Stefano Rivera
303e7ae18f
Merge from trunk
2010-12-20 18:29:31 +02:00
Benjamin Drung
af53674200
* Drop preinst (pbuilder-dist bash_completion handling), it is not required
...
for any current upgrade path on Debian or Ubuntu.
* Switch to dh_python2:
- Use X-Python-Version instead of XS-Python-Version.
- Use ${python:Breaks} to specify Python version compatibility.
2010-12-20 15:20:03 +01:00
Stefano Rivera
552892f264
Incorrect versioned python dependancy
2010-12-20 13:11:12 +02:00
Stefano Rivera
32ed378668
* Switch to dh_python2:
...
- Use X-Python-Version instead of XS-Python-Version.
- Use ${python:Breaks} to specify Python version compatibility.
2010-12-20 11:33:56 +02:00
Stefano Rivera
54f082b6e8
Drop preinst (pbuilder-dist bash_completion handling), it is not required
...
for any current upgrade path on Debian or Ubuntu.
2010-12-20 11:30:38 +02:00
Stefano Rivera
686b6a8649
* Add the beginnings of a test suite. (LP: #690386 )
...
- Switch to setuptools, to support setup.py test.
2010-12-20 11:19:37 +02:00
Stefano Rivera
d67edd7c3c
Relicense the code in this branch to ISC
2010-12-20 01:19:09 +02:00
Stefano Rivera
d80f54dfa5
Revert r863, let's use environment variables again
2010-12-20 01:08:07 +02:00
Stefano Rivera
3764bd12af
Handle and document --noconf in backportpackage
2010-12-20 01:07:17 +02:00
Stefano Rivera
4e827697e8
basename() script name for prefix
2010-12-20 00:27:21 +02:00
Stefano Rivera
1bb418e02f
Support configuration in backportpackage
2010-12-19 22:32:53 +02:00
Stefano Rivera
8b5cd3d045
Actually configuration variables shouldn't come from the environment
2010-12-19 22:08:25 +02:00
Stefano Rivera
baae70c001
Support --noconf
2010-12-19 21:56:10 +02:00
Stefano Rivera
ae8648282c
Added ubuntu-dev-tools.5
2010-12-19 21:19:04 +02:00
Stefano Rivera
3a9ffe412c
Support the combined "Name <email>" format in UBUMAIL, DEBFULLNAME, and
...
DEBEMAIL. (LP: #665202 )
2010-12-19 20:47:37 +02:00
Stefano Rivera
a335ef7949
Support reading configuration variables from devscripts configuration
...
files. (LP: #681693 )
2010-12-19 20:47:01 +02:00
Stefano Rivera
9ea8f738fc
Convert debian/copyright to DEP5, make sure all scripts are listed
...
(LP: #692003 )
2010-12-19 02:27:31 +02:00
Benjamin Drung
162af93f88
releasing version 0.108
2010-12-19 00:57:56 +01:00
Stefano Rivera
abef3ae37d
Add myself to copyright headers
2010-12-19 01:47:18 +02:00
Stefano Rivera
6558579e7b
Clarify errno's license
2010-12-19 01:46:58 +02:00
Stefano Rivera
fab2200666
Strengthen sudo warning to an error and abort if user doesn't own $HOME
2010-12-19 01:45:31 +02:00
Stefano Rivera
b76649ea94
Drop unnecessary debian/pycompat
2010-12-19 01:30:30 +02:00
Benjamin Drung
45c5d5206b
backportpackage: Add full stops and exclamation marks to error messages.
2010-12-18 23:10:40 +01:00
Benjamin Drung
4afe3c8478
Use common error message for sponsor-patch and backportpackage.
2010-12-18 23:08:13 +01:00
Benjamin Drung
a0ef5a7e20
backportpackage: Disable lintian on source package creation.
2010-12-18 22:32:19 +01:00
Benjamin Drung
7d47a7679e
backportpackage:
...
- Include -y option to skip prompts (LP: #691895 )
- Allow for just building the source package without a test build or upload (LP: #691896 )
2010-12-18 22:23:18 +01:00
Evan Broder
2057d62aac
Drop changelog entries for backportpackage
2010-12-18 13:14:23 -08:00
Evan Broder
9f0722dfb3
backportpackage: You say goodbye, and I say hello.
2010-12-18 13:11:27 -08:00
Evan Broder
70a1dbecc7
backportpackage: Whoops, bdrung should get a copyright notice too
2010-12-18 12:58:11 -08:00
Evan Broder
21355cbf52
backportpackage: Allow for -S ""
2010-12-18 12:33:10 -08:00
Evan Broder
cbe6726eb3
Allow for just building the source package without a test build or
...
upload (LP: #691896 )
2010-12-18 12:32:48 -08:00
Evan Broder
735ac962c3
Include -y option to skip prompts (LP: #691895 )
2010-12-18 12:29:38 -08:00
Evan Broder
fca3e45826
backportpackage: Typo fix
2010-12-18 12:21:40 -08:00
Evan Broder
4479344db0
doc/backportpackage.1: --destination is no longer required
2010-12-18 12:16:24 -08:00
Evan Broder
06446bbd4d
backportpackage: Add --suffix option
2010-12-18 12:16:02 -08:00
Stefano Rivera
a10ca5753f
* pbuilder-dist:
...
- Fix typo in local archive support, introduced in 0.107.
- Warn user if they run sudo pbuilder-dist (LP: #691999 ).
2010-12-18 22:09:59 +02:00
Evan Broder
8afda6d3f1
backportpackage: Add missing copyright statement
2010-12-18 12:09:44 -08:00
Benjamin Drung
d7ee62e951
backportpackage: Put build result into /buildresult to avoid signature problems with the source tarball.
2010-12-18 20:35:20 +01:00
Benjamin Drung
5371195caa
backportpackage: Improve upload question.
2010-12-18 19:37:11 +01:00
Benjamin Drung
d635434a5e
backportpackage: Improve upload question.
2010-12-18 19:22:07 +01:00
Benjamin Drung
e69d243a59
Fix global name 'opts' is not defined. Thanks to Ivan Borzenkov.
2010-12-18 18:17:29 +01:00
Bilal Akhtar
32ad889061
doc/pbuilder-dist.1: Add info about the option --buildresult
2010-12-18 15:51:42 +03:00
Benjamin Drung
5fc7c352cd
ubuntu-iso: Exit nonzero rather than crash if a wrong parameter is passed
...
(LP: #637020 ).
2010-12-18 12:59:08 +01:00
Benjamin Drung
4c6ee076c2
ubuntu-iso: Convert to PEP-8.
2010-12-18 12:52:24 +01:00
Colin Watson
5144644ba0
ubuntu-iso(1): Fix typo.
2010-12-18 11:05:17 +00:00
Benjamin Drung
0852ffbda9
sponsor-patch: Allow updating the build environment if the build failed.
2010-12-17 22:52:03 +01:00
Benjamin Drung
4178bf7476
ubuntutools/question.py: Create a universal Question object.
2010-12-17 18:46:09 +01:00
Benjamin Drung
9e6a13f5a9
Split main function out of sponsor-patch script.
2010-12-17 17:47:23 +01:00
Benjamin Drung
fbe27a7ce4
Split objects out of sponsor-patch script.
2010-12-17 17:32:38 +01:00
Benjamin Drung
cec070446f
ubuntutools/builder.py: Add update function to pbuilder-dist.
2010-12-17 14:40:19 +01:00
Benjamin Drung
4be074c8fa
sponsor-patch: Add --update option to make sure build environment is
...
up to date (LP: #689605 )
2010-12-17 14:35:27 +01:00
Benjamin Drung
7e038457bc
ubuntutools/builder.py: Pass distribution and architecture to pbuilder update function.
2010-12-17 14:32:03 +01:00
Benjamin Drung
3ead141240
Update man pages for backportpackage and sponsor-patch to mention pbuilder-dist support.
2010-12-17 14:06:35 +01:00
Benjamin Drung
6aafc793dd
Fix indentation and formatting of previous commit.
2010-12-17 13:56:36 +01:00
Benjamin Drung
9bbcd92ce4
Indentation fix.
2010-12-17 13:48:05 +01:00
Benjamin Drung
ec60ffc00e
sponsor-patch: Fix builder update logic.
2010-12-17 11:49:22 +01:00
Bilal Akhtar
1747986a88
pbuilder-dist: Override the default build result location if
...
--buildresult is specified.
2010-12-17 13:47:48 +03:00
Benjamin Drung
409762e55c
Make command line flag description more consistent.
2010-12-17 11:46:33 +01:00
Evan Broder
552b0a1f91
Undo some accidental changes
2010-12-17 01:48:45 -08:00
Evan Broder
ab0dc4244b
Actually merge trunk
2010-12-17 01:47:15 -08:00
Evan Broder
5e181b6b8e
backportpackage: Error out of builder update fails
2010-12-17 01:36:05 -08:00
Evan Broder
8627e0a626
Merge trunk.
2010-12-17 01:32:30 -08:00
Benjamin Drung
8eda0c4326
backportpackage: new script for testing backport requests in a PPA.
2010-12-16 23:43:48 +01:00
Evan Broder
b50fbb7750
backportpackage: Accept a URL or path to a .dsc file as an alternative to a source package name
2010-12-16 01:05:29 -08:00
Evan Broder
2585452cbb
backportpackage: Allow specifying a working directory
2010-12-16 00:06:57 -08:00
Evan Broder
44f2b31a98
doc/backportpackage.1: Add an EXAMPLES section
2010-12-15 21:18:48 -08:00
Evan Broder
82373b169d
backportpackage: If no dest release is specified, default to the current release
2010-12-15 20:50:30 -08:00
Evan Broder
533b2bf7bd
backportpackage: Pass around options instead of options container
2010-12-15 20:39:50 -08:00
Evan Broder
fb0712859c
backportpackage: Eliminate global variables
2010-12-15 20:34:58 -08:00
Evan Broder
2b37f9bc62
backportpackage: --source/--destination instead of --from/--to
2010-12-15 20:19:28 -08:00
Evan Broder
d116ced2ca
backportpackage: Error if neither -b nor -u is specified
2010-12-15 20:16:47 -08:00
Colin Watson
c0209c5494
add example to grep-merges(1)
2010-12-15 21:57:32 +00:00
Colin Watson
a3c7379a9d
install grep-merges
2010-12-15 20:50:30 +00:00
Evan Broder
a8cea3d339
backportpackage: Abort if build fails
2010-12-15 11:02:07 -08:00
Evan Broder
899139ba99
backportpackage: Unquote URLs we get back from LP
2010-12-15 11:00:02 -08:00
Colin Watson
61495065ec
grep-merges: New tool.
2010-12-15 14:50:54 +00:00
Benjamin Drung
4e7c58085e
pull-lp-source: Unquote URI to get "+" instead of "%2B" in the file name
...
(LP: #681114 ).
2010-12-14 18:22:51 +01:00
Evan Broder
6961cbfb3c
ubuntutools.builder: Use sbuild-update and friends instead of calling schroot directly
2010-12-13 10:47:26 -08:00
Evan Broder
ac1260b163
sponsor-patch: Replace accidentally removed comment
2010-12-13 10:09:21 -08:00
Evan Broder
9f6067b68f
sponsor-patch: Add --update option to make sure build environment is
...
up to date (LP: #689605 )
2010-12-13 04:00:14 -08:00
Evan Broder
b01194ef8d
ubuntutools.builder: Add an "update" method for updating chroots
2010-12-13 03:47:37 -08:00
Evan Broder
ee157d1cd9
ubuntutools.builder: Small fixup spotted by pylint
2010-12-12 20:20:40 -08:00
Evan Broder
3ae9fea935
backportpackage: Minor cleanup identified by pylint
2010-12-12 20:19:37 -08:00
Evan Broder
ccb14b6831
backportpackage: Add a --build option. (And a --builder option)
2010-12-12 20:11:49 -08:00
Evan Broder
b56b02683b
sponsor-patch: Separate multi-builder support into a Python module.
...
Rename SPONSOR_PATCH_BUILDER environment variable to
UBUNTUTOOLS_BUILDER (but still support SPONSOR_PATCH_BUILDER)
2010-12-12 19:45:52 -08:00
Evan Broder
fc7faa9780
sponsor-patch, backportpackage:
...
Factor out logging code from sponsor-patch and share it with backportpackage
2010-12-12 19:27:08 -08:00
Evan Broder
aff1d83e02
backportpackage: Update the manpage for the new UI
2010-12-12 19:16:59 -08:00
Evan Broder
7dd3ae05d7
backportpackage: Make the source package an argument instead of an option
2010-12-12 18:54:04 -08:00
Evan Broder
71102a4589
backportpackage: Refactor code some so main structure is clearer
2010-12-12 18:48:50 -08:00
Evan Broder
7450a5e8bb
backportpackage: Fix slightly awkward text
2010-12-12 18:26:25 -08:00
Evan Broder
3ab323805e
backportpackage: Wrap source to 80-column lines
2010-12-12 18:25:59 -08:00
Evan Broder
1a2677b8ef
backportpackage: Factor out subprocess.call error handling into a helper
2010-12-12 18:24:28 -08:00
Evan Broder
462cd8f4ca
backportpackage: Add a --version argument
...
--version lets you specify either the version of the source package to
fetch (in the absence of a source release option) or the version to
verify against the specified source release.
2010-12-12 18:12:28 -08:00
Evan Broder
dc76d195bf
backportpackage: Support backporting to multiple destination releases by using (required) options instead of arguments
2010-12-12 16:36:51 -08:00
Evan Broder
8ec0773201
backportpackage: Correct uses of subprocess.call
2010-12-12 12:15:38 -08:00
Michael Bienia
6e214de3b3
ubuntutools/lp/lpapicache.py: Replace tabs with spaces
2010-12-12 11:46:07 +01:00
Evan Broder
4669ee62af
backportpackage: Use a file:/// URL when giving paths to make them clickable in gnome-terminal
2010-12-11 16:57:40 -08:00
Evan Broder
fccec5fab9
backportpackage: Pass -sa to debuild to make sure the orig source tarball is included
2010-12-11 16:54:37 -08:00
Evan Broder
0f01b0752c
backportpackage: Print real error messages instead of relying on subprocess.check_call backtraces
2010-12-11 16:54:19 -08:00
Evan Broder
158c4f3693
backportpackage.1: Document that backportpackage uses a temporary directory, as this is different from sponsor-patch and syncpackage
2010-12-11 15:49:49 -08:00
Evan Broder
2befb9ec5a
backportpackage: Use "backportpackage-" as the prefix for temporary directory, to make it easy to find
2010-12-11 15:49:18 -08:00
Evan Broder
006e8482fc
Actually install the backportpackage script.
2010-12-11 15:24:05 -08:00
Evan Broder
07029e3dfb
Set DEB_VENDOR in backportpackage, since it will only be used for Ubuntu development
2010-12-11 14:43:31 -08:00
Evan Broder
cb41838b48
backportpackage: new script for testing backport requests in a PPA.
2010-12-11 14:12:02 -08:00
Stefano Rivera
53652d8cee
pbuilder-dist: Fix typo in local archive support, introduced in 0.107.
2010-12-11 12:35:18 +02:00
Michael Bienia
133f91bbf9
lp-shell, import-bug-from-debian:
...
Use the 'production' LP instance instead of 'edge' (which is going away).
2010-12-03 13:54:28 +01:00
Benjamin Drung
91239a55f7
releasing version 0.107
2010-12-03 00:14:44 +01:00
Benjamin Drung
100ba7d1b5
Remove all trailing tabs.
2010-12-03 00:10:41 +01:00
Benjamin Drung
1943df29eb
Remove all trailing spaces.
2010-12-03 00:06:43 +01:00
Benjamin Drung
daf1535d05
edit-patch: Correct indentation to spaces only.
2010-12-02 23:36:32 +01:00
Stefano Rivera
84e2835686
* pbuilder-dist:
...
- Refactor to use subprocess.popen instead of os.system (LP: #398974 )
- Catch OSErrors when creating directories (LP: #671067 )
- Set HOME so pbuilder reads .pbuilderrc
- Add bidirectional workarounds for LP: #599695 (pbuilder uses the host
apt keyring). Complain if the target's keyring isn't installed.
* Use dpkg-vendor in ubuntutools.misc.system_distribution(), cache result.
2010-12-02 11:42:51 +02:00
Stefano Rivera
cbbd22fa5b
Pass --debootstrap qemu-debootstrap as separate arguments
2010-12-02 10:25:31 +02:00
Stefano Rivera
67734216ab
Add bidirectional workarounds for LP: #599695 (pbuilder uses the host
...
apt keyring). Complain if the target's keyring isn't installed.
2010-12-02 09:37:44 +02:00
Stefano Rivera
f347770b46
Use dpkg-vendor in ubuntutools.misc.system_distribution(), cache result.
2010-12-02 09:34:09 +02:00
Stefano Rivera
516b264a8f
Strip trailing whitespace
2010-12-02 09:33:54 +02:00
Stefano Rivera
27365f9dd4
Set HOME so pbuilder reads .pbuilderrc
2010-12-02 09:30:21 +02:00
Stefano Rivera
b2a400fe50
Pass --basetgz foo as separate arguments
2010-12-02 00:56:56 +02: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
Stefano Rivera
0dd7a86948
Revert DEB_VENDOR exporting in pull-lp-source, dgetlp
2010-11-27 18:40:41 +02:00
Stefano Rivera
cb64c34c22
Simplify arch-sorting key lambda
2010-11-27 09:24:32 +02:00
Stefano Rivera
282aa33614
Add --sort-binary-packages and --keep-first (LP: #681119 )
2010-11-27 09:22:20 +02:00
Benjamin Drung
15e5ef9a82
sponsor-patch: Support building with sbuild (LP: #681242 ).
2010-11-26 19:34:31 +01:00
Stefano Rivera
76f7079cb1
Add --sort-binary-packages (LP: #681119 )
2010-11-26 18:38:51 +02:00
Stefano Rivera
2fc7208333
Add explanatory comment to architecture-sorting, break up scary-long-line
2010-11-26 18:19:59 +02:00
Stefano Rivera
a27c19cb5c
Sort Architecture (LP: #681131 )
2010-11-26 18:03:28 +02:00
Benjamin Drung
7e8423a470
sponsor-patch: Move workdir logic before option parser.
2010-11-26 14:38:31 +01:00
Benjamin Drung
17ea793a94
syncpackage: Fix error message for failed downloads.
2010-11-25 23:49:39 +01:00
Benjamin Drung
da237f41a9
wrap-and-sort: Fix indention.
2010-11-24 22:54:18 +01:00
Stefano Rivera
9d312fbeec
Add configurable debian directory location
2010-11-24 22:17:23 +02:00
Stefano Rivera
fe2867ba1c
Update wrap-and-sort manpage
2010-11-24 21:45:57 +02:00
Benjamin Drung
ba64f36109
wrap-and-sort: Remove duplicate items from sorted lists.
2010-11-24 21:02:11 +01:00
Benjamin Drung
b6582c2c6e
wrap-and-sort: Fix indention.
2010-11-24 20:42:14 +01:00
Stefano Rivera
937e6c3aee
Forgotten DEB_VENDOR change for pull-lp-source
2010-11-24 21:32:45 +02:00
Stefano Rivera
ddf5199752
ack-sync, dgetlp, grab-merge, syncpackage: Export DEB_VENDOR=Ubuntu when
...
unpacking source packages. 3.0 (quilt) has optional per-vendor patch
series.
2010-11-24 21:07:00 +02:00
Stefano Rivera
df87493df5
ack-sync, dgetlp, grab-merge, syncpackage: Export DEB_VENDOR=Ubuntu when
...
unpacking source packages. 3.0 (quilt) has optional per-vendor patch
series.
2010-11-24 21:06:23 +02:00
Stefano Rivera
d28b99753e
* wrap-and-sort:
...
- Correct typo in options --wrap-allways -> --wrap-always
- Sort debian/install as well as debian/*.install
- Add one-space-indentation option: --short-indent
- Remove null-entry from trailing comma in sorted lists
2010-11-24 20:16:19 +02:00
Stefano Rivera
6ce93a9a09
Ubuntu e-mail address
2010-11-24 20:02:35 +02:00
Stefano Rivera
6b187026f5
Style
2010-11-24 20:01:06 +02:00
Stefano Rivera
d814f79fa1
Typo lenght -> length
2010-11-24 19:59:44 +02:00
Stefano Rivera
66ad1f5854
Start short-indent lists on next-line
2010-11-24 19:25:29 +02:00
Stefano Rivera
952311f101
Remove null-entry from trailing comma in sorted lists
2010-11-24 19:21:00 +02:00
Stefano Rivera
11d5296e86
Add one-space-indentation option: --short-indent
2010-11-24 19:16:16 +02:00
Stefano Rivera
b04aa7844f
Sort debian/install as well as debian/*.install
2010-11-24 18:47:50 +02:00
Stefano Rivera
22bae2ac33
* wrap-and-sort:
...
- Correct typo in options --wrap-allways -> --wrap-always
2010-11-24 18:38:18 +02:00
Stefano Rivera
76cc07a219
Tab -> Spaces (PEP-8)
2010-11-24 18:34:20 +02:00
Stefano Rivera
b8f3016eb3
edit-patch: Detect quilt patch-system in 3.0 (quilt) packages without any
...
patches yet.
2010-11-24 17:59:54 +02:00
Stefano Rivera
43781fb79a
Compress Vertical Whitespace
2010-11-23 09:00:16 +02:00
Stefano Rivera
afb27f1e1b
Minor tweaks
2010-11-23 08:56:23 +02:00
Stefano Rivera
b78b21f43e
Whitespace -> PEP-8
2010-11-23 08:54:42 +02:00
Stefano Rivera
04eb3ada8b
Catch OSErrors when creating directories (LP: #671067 )
2010-11-22 14:29:52 +02:00
Stefano Rivera
7126a9e894
* pbuilder-dist:
...
- Refactor to use subprocess.popen instead of os.system (LP: #398974 )
2010-11-22 14:26:10 +02:00
Stefano Rivera
2f4abf3d71
Print errors to stderr
2010-11-22 13:33:19 +02:00
Stefano Rivera
781d077af8
Check for builder in sbin paths even if they aren't in PATH
2010-11-22 13:25:55 +02:00
Benjamin Drung
851e96ea23
ack-sync: Fix typo and skip upload check for new packages.
2010-11-22 01:30:36 +01:00
Benjamin Drung
bd8d28701f
releasing version 0.106
2010-11-21 15:41:56 +01:00
Benjamin Drung
623ecc432c
debian/control: Use shorter addresses for VCS-* fields.
2010-11-21 15:41:25 +01:00
Benjamin Drung
5904bbefd3
wrap-and-sort
2010-11-21 15:36:53 +01:00
Benjamin Drung
13b6b4b9a8
ack-sync: State on which architecture the build was tested.
2010-11-21 15:01:46 +01:00
Michael Bienia
d55ea2647f
pull-debian-source: Fix logical error in abort check (lp: #678072 ).
2010-11-21 14:48:22 +01:00
Benjamin Drung
bf8f15471f
sponsor-patch: Call dpkg-source with --no-preparation to not apply patches
...
if the packages uses the 3.0 (quilt) format.
2010-11-20 22:07:37 +01:00
Benjamin Drung
ab43ddd875
ack-sync: State in the comment which package version was built.
2010-11-08 22:26:28 +01:00
Kees Cook
e38e8a0c45
mk-sbuild: drop "priority" option; sbuild no longer uses it.
2010-11-05 17:37:03 -07:00
Benjamin Drung
5f78423d35
releasing version 0.105
2010-10-30 20:58:54 +02:00
Benjamin Drung
ffc3968c57
sponsor-patch: Fix typo.
2010-10-30 20:58:26 +02:00
Benjamin Drung
45c8f13d65
syncpackage: Print an error message if the source-only build fails (LP: #668749 ).
2010-10-30 20:36:42 +02:00
Benjamin Drung
7241b30c16
syncpackage: Show a error message instead of raising an error if Ubuntu contains a newer version.
2010-10-30 20:13:07 +02:00
Benjamin Drung
b403dedbfb
syncpackage: Don't add quotation marks to changelog entries (LP: #668805 ).
2010-10-30 19:58:08 +02:00
Benjamin Drung
fffcab6392
syncpackage: Fix reading of environment variables.
2010-10-30 19:44:19 +02:00
Benjamin Drung
3bccd17b81
Add missing hash to Debian bug number.
2010-10-30 19:31:33 +02:00
Benjamin Drung
61303da466
syncpackage: Don't crash if environment variables aren't set (LP: #665202 ).
2010-10-30 19:17:30 +02:00
Benjamin Drung
b5b099424f
syncpackage: Convert style to PEP 8.
2010-10-30 18:45:14 +02:00
Iain Lane
b32dd85a63
[ Iain Lane ]
...
pbuilder-dist: Explicitly use debian keyring when working with a
Debian chroot, working around #599695
2010-10-29 19:27:44 +01:00
Iain Lane
e931dada62
debian-archive-keyring → recommends
2010-10-29 15:27:57 +01:00
Iain Lane
230cc212ce
pbuilder-dist: Explicitly use debian keyring when working with a
...
Debian chroot, working around #599695
2010-10-29 14:54:02 +01:00
Stefano Rivera
87e4054245
Rename -u -> --dont-sign. Correctly handle fakesyncs from ack-sync.
2010-10-27 23:20:26 +02:00
Stefano Rivera
e79ddd9c3a
mk-sbuild: Add support for btrfs-snapshot based chroots
2010-10-26 12:39:19 +02:00
Stefano Rivera
cf6c2356b1
- Correct and neaten options.
...
* syncpackage:
- Add -u parameter, to disable signing.
2010-10-26 12:33:38 +02:00
Christopher James Halse Rogers
47bc5bf351
mk-sbuild: Add support for btrfs-snapshot based chroots
2010-10-25 12:27:50 -04:00
Stefano Rivera
19399b71c9
* doc/syncpackage.1:
...
- Add a warning that the use of syncpackage is discouraged.
2010-10-22 17:26:03 +02:00
Benjamin Drung
356ea9e7db
ack-sync: Use the LP name as index for .ack-sync-email.list to avoid name clashes.
2010-10-19 11:32:10 +02:00
Stefano Rivera
4ab5841b20
* pull-debian-source:
...
- Show message when a package isn't in Debian testing (LP: #529041 ).
2010-10-17 12:07:34 +02:00
Kees Cook
2772869fa8
mk-sbuild: use --no-install-recommends on Debian too (Closes: 599699).
2010-10-13 13:22:45 -07:00
Martin Pitt
992f710440
lp-project-upload: Add support handling multiple project series.
2010-10-11 14:46:26 +02:00
Bilal Akhtar
ed8529df0a
Add missing closing bracket
2010-10-06 22:36:15 +03:00
Bilal Akhtar
11801d9553
grab-merge: Create file merge-debuild every time grab-merge is run. This file should be like merge-buildpackage except for the fact that it will use debuild rather than dpkg-buildpackage.
2010-10-06 22:33:04 +03:00
Stefano Rivera
97a70a97cc
And checkUpload throws an exception instead of returning False
2010-10-03 22:45:19 +02:00
Stefano Rivera
37e6c07dd8
It appears we need to use checkUpload instead of isSourceUploadAllowed
2010-10-03 22:09:57 +02:00
Stefano Rivera
1e12c1fb7a
Whoops, incorrect getopt string
2010-10-03 02:10:22 +02:00
Stefano Rivera
57dccd844d
Add non-syncpackage, archive-admin-driven sync support to ack-sync, and make it the default
2010-10-03 02:07:01 +02:00
Stefano Rivera
ba54fe6688
Check upload rights before touching the bug (to save MOTU sponsors occasional embarrassment)
2010-10-02 22:53:08 +02:00
Stefano Rivera
b23792c20f
ubuntu-universe-sponsors doesn't exist, don't try to unsubscribe them
2010-10-02 21:44:08 +02:00
Marco Rodrigues
af95fac84c
Show message when a package isn't in Debian testing
2010-09-27 22:45:19 +01:00
Siegfried-Angel Gevatter Pujals
3515d7ac78
* pbuilder-dist, doc/pbuilder-dist.1:
...
- Export the distribution and architecture information to the environment
so that it is available in pbuilderrc, etc. (LP: #628933 ).
2010-09-26 17:39:45 +02:00
Benjamin Drung
a07da2e246
Releasing 0.104
2010-09-25 13:15:35 +02:00
Benjamin Drung
0189b27604
Remove trailing tab.
2010-09-25 13:13:59 +02:00
Siegfried-Angel Gevatter Pujals
2c2ba94a96
* pbuilder-dist:
...
- Fix regression where pbuilder would get an empty string as first
positional argument.
- Update --debug-echo so that it doesn't hide empty parameters (now
that they are wrapped around quotes they are significant).
2010-09-25 10:47:48 +02:00
Natalia Bidart
4678bbd765
Removing uneeded blank line.
2010-09-22 15:22:27 -03:00
Natalia Bidart
5bb05bc287
Added support to lp-project-upload for handling multiple project series.
2010-09-22 14:45:00 -03:00
Luca Falavigna
b6648db1ea
Releasing 0.103
2010-09-22 18:13:35 +02:00
Benjamin Drung
65efe55972
ubuntutools/update_maintainer.py: Fix failure if debian/control.in is a
...
directory.
2010-09-22 15:54:47 +02:00
Benjamin Drung
bf9b7ae3b8
sponsor-patch: Improve variable names.
2010-09-22 15:44:47 +02:00
Benjamin Drung
533fac4911
requestsync, ubuntutools/lp/lpapicache.py: Import functions explicitely.
2010-09-22 14:07:23 +02:00
Stefano Rivera
a2a4fc785d
ubuntutools/lp/libsupport.py: Support production API URLs in
...
translate_web_api.
2010-09-22 11:41:58 +02:00
Stefano Rivera
e55766b0d9
hugdaylist, manage-credentials, massfile, merge-changelog,
...
ubuntutools/requestsync/common.py: Some pyflakes-induced cleanup.
2010-09-22 11:29:14 +02:00
Stefano Rivera
42e9c465f9
s/ppa/PPA/
2010-09-22 01:06:11 +02:00
Stefano Rivera
c959bfa577
sponsor-patch.1: Reword description, add --workdir, mention edit-patch, rework examples
2010-09-22 00:48:14 +02:00
Benjamin Drung
5fd07993fe
Add ${perl:Depends} to dependency.
2010-09-21 23:57:47 +02:00
Benjamin Drung
7921cac14a
sponsor-patch: Add --workdir parameter to set the working directory.
2010-09-21 23:53:56 +02:00
Stefano Rivera
3622e2f028
sponsor-patch manpage tweaks
2010-09-21 23:44:22 +02:00
Stefano Rivera
263d6600fb
Manpage for sponsor-patch
2010-09-21 23:01:05 +02:00
Siegfried-Angel Gevatter Pujals
264e526c3d
Update my copyright years and change all (C) to ©.
2010-09-21 22:13:14 +02:00
Stefano Rivera
17be6dbcd8
Add myself to debian/copyright
2010-09-21 18:14:45 +02:00
Stefano Rivera
fafd303131
Manpage for import-bug-from-debian
2010-09-21 18:14:38 +02:00
Stefano Rivera
39e44c3167
Correct program name in licence
2010-09-21 17:42:04 +02:00
Siegfried-Angel Gevatter Pujals
ebff8fe69f
* doc/pbuilder-dist.1:
...
- Move the documentation for --main-only (previously "mainonly") and
--debug-echo to a new Options section.
* doc/pbuilder-dist.1: update manpage to indicate general architecture
2010-09-21 21:48:33 +02:00
Siegfried-Angel Gevatter Pujals
f0db65419b
pbuilder-dist: wrap a couple long lines.
2010-09-21 21:27:52 +02:00
Siegfried-Angel Gevatter Pujals
8fda1ebdc1
Wrap any extra (user) arguments appended to the pbuilder command with
...
quotation marks, when needed (LP: #398989 ).
2010-09-21 21:25:33 +02:00
Siegfried-Angel Gevatter Pujals
4ca97770da
* pbuilder-dist:
...
- Do not show a warning when "experimental" is used; there is no
debootstrap file for it but it should just work anyway.
* bash_completion/pbuilder-dist:
- Enable auto-completion for "pbuilder-experimental".
2010-09-21 20:45:45 +02:00
Luca Falavigna
4b13534eea
* ubuntutools/misc.py:
...
- Use output of dpkg --print-architecture command to correctly display
platform architecture
2010-09-20 18:12:39 +02:00
Benjamin Drung
49986f0b78
wrap-and-sort
2010-09-20 17:52:14 +02:00
Luca Falavigna
ea5ca126c7
* debian/control:
...
- Add Benjamin Drung to Uploaders.
- Add DM-Upload-Allowed field
2010-09-20 17:48:30 +02:00
Benjamin Drung
05cbdd858f
sponsor-patch: Fix NameError: global name 'debdiff_filename' is not defined.
2010-09-20 15:48:55 +02:00
Luca Falavigna
a381fb3cb0
Releasing 0.102
2010-09-20 11:10:28 +02:00
Benjamin Drung
a7a7dec87d
syncpackage: Check if the specified Debian component is valid (LP: #639896 ).
2010-09-20 00:44:02 +02:00
Colin Watson
df660e9667
add lp-list-bugs to a couple more places (thanks, Benjamin Drung)
2010-09-19 23:13:30 +01:00
Benjamin Drung
1048901abb
syncpackage: Print error message if the download fails (LP: #639899 ).
2010-09-19 22:09:26 +02:00
Benjamin Drung
015d317cdf
sponsor-patch: Fix bug introduces in revision 728.
2010-09-19 21:19:02 +02:00
Benjamin Drung
01265da7eb
sponsor-patch: Add fullstops.
2010-09-19 20:49:05 +02:00
Benjamin Drung
7e26340170
sponsor-patch: Convert style to PEP 8.
2010-09-19 20:45:24 +02:00
Benjamin Drung
5e0d815405
Move update-maintainer code into library for sponsor-patch.
2010-09-19 20:24:27 +02:00
Colin Watson
0de4797ce0
lp-list-bugs: New tool.
2010-09-17 12:45:52 +01:00
Colin Watson
bee6f01c4a
Fix NAME section of lp-set-dup(1).
2010-09-17 12:35:46 +01:00
Benjamin Drung
18abd68ec4
suspicious-source: Fix man page format.
2010-09-17 04:46:54 +02:00
Benjamin Drung
456b792297
Apply wrap-and-sort.
2010-09-17 04:45:00 +02:00
Benjamin Drung
0327c3816d
wrap-and-sort: New script to wrap long lines and sort items in packaging
...
files.
2010-09-17 04:44:10 +02:00
Michael Bienia
403a1a9412
Add 'natty' to the recognized names and make it the default.
2010-09-15 09:23:28 +02:00
Iain Lane
0021522956
all: Use production API rather than edge by default. Should be more
...
reliable and was advised by lifeless (LP team).
2010-09-14 09:30:04 +01:00
Stefano Rivera
7746e67d74
update-maintainer: Correctly update the Maintainer field to the new Ubuntu
...
Developers address (instead of the calling user) when the package is not
in Debian.
2010-09-13 22:23:09 +02:00
Stefano Rivera
4140992fab
Drop hack method from manage-credentials
2010-09-05 02:43:46 +02:00
Benjamin Drung
9064f9eac8
sponsor-patch: Add TODO item.
2010-09-05 01:25:48 +02:00
Bilal Akhtar
401a907e6e
Fix typo in manage-credentials manpage; Remove the information about the 'hack' method that no longer works
2010-09-04 11:26:43 +03:00
Stefano Rivera
72e0377045
ack-sync: Use @ubuntu.com e-mail address for Ubuntu Members
2010-08-25 22:17:05 +02:00
Stefano Rivera
50ff107d7f
ack-sync: Improve bug-locking and set statuses - In Progress, build, review, Fix Committed, upload.
2010-08-24 16:46:59 +02:00
Stefano Rivera
1c84ef2f93
sponsor-patch: Commit and push bzr merges
2010-08-23 13:14:56 +02:00
Stefano Rivera
073e8b1d64
sponsor-patch: Use bzr-builddeb to build branches
2010-08-23 12:23:34 +02:00
Stefano Rivera
7601649315
sponsor-patch: Set DEB_VENDOR when upload == ubuntu
2010-08-23 12:23:03 +02:00
Stefano Rivera
5d04f355a1
sponsor-patch: Add vim tag turning off expand tab as this script uses tabs (against PEP-8 recommendation)
2010-08-23 12:22:36 +02:00
Benjamin Drung
b0b4faca50
sponsor-patch: Add support for UDD.
2010-08-22 00:19:17 +02:00
Benjamin Drung
4bd431e1bc
sponsor-patch: Fix 'NoneType' object has no attribute 'startwith'.
2010-08-20 02:11:18 +02:00
Benjamin Drung
44fe4e6205
sponsor-patch: discover devel and supported series
2010-08-20 02:09:17 +02:00
Benjamin Drung
f2efc000b6
sponsor-patch: Update TODO list.
2010-08-20 02:03:23 +02:00
Brian Murray
b80904677c
sponsor-patch: discover devel and supported series
2010-08-19 16:52:48 -07:00
Benjamin Drung
fc20065e25
sponsor-patch: Don't pull the source package from Backports.
2010-08-17 19:33:46 +02:00
Benjamin Drung
70369b4fa0
sponsor-patch: Make sure that the source tarball is uploaded if it's not in the archive.
2010-08-17 13:07:37 +02:00
Benjamin Drung
8902b0571a
sponsor-patch: New script to download a patch from a Launchpad bug, patch
...
the source package, build, check and uploads it (to Ubuntu or a PPA).
2010-08-15 02:25:33 +02:00
Benjamin Drung
794bd9bd13
update-maintainer: Don't change the Maintainer field if the email is set
...
to a @lists.ubuntu.com address.
2010-08-14 19:57:13 +02:00
Benjamin Drung
6828ae2e8c
syncpackage: Don't upload orig tarball if not needed.
2010-08-14 18:20:46 +02:00
Benjamin Drung
fa0942f136
mk-sbuild.1: Fix hyphen-used-as-minus-sign.
2010-08-12 01:18:07 +02:00
Benjamin Drung
0b5901506b
Update the man page of suspicious-source to match the rewrite.
2010-08-12 01:15:30 +02:00
Benjamin Drung
1c90e2a4f6
suspicious-source: whitelist font source formats. Thanks to Nicolas
...
Spalinger for the patch (LP: #365147 ).
2010-08-10 23:17:13 +02:00
Kees Cook
1aab6931a6
* errno, doc/errno.1, debian/control, debian/copyright, setup.py:
...
- add an errno utility, LP: #612267
2010-08-10 11:53:43 -07:00
Kees Cook
17af86e051
mk-sbuild: update examples to include "-A".
2010-08-10 11:48:06 -07:00
Dustin Kirkland
5579a50ef5
update email address to ubuntu.com
2010-08-10 14:46:32 -04:00
Dustin Kirkland
99ddf5fd61
add an errno utility, LP: #612267
...
add optimizations from Scott Moser
2010-08-10 14:40:13 -04:00
Dustin Kirkland
590901e51c
drop or later gplv3 on errno
2010-08-10 12:10:05 -04:00
Dustin Kirkland
4be325d306
added errno to the GPL-3 licensed scripts list
2010-08-10 12:09:15 -04:00
Dustin Kirkland
fe062e698a
set $code (copy-n-paste fail)
2010-08-10 12:08:07 -04:00
Dustin Kirkland
05f268065b
enable errno to work, even if gcc is not installed
2010-08-10 12:02:20 -04:00
Dustin Kirkland
6f4c4b031f
* errno, doc/errno.1, debian/control, debian/copyright, setup.py:
...
- add an errno utility, LP: #61226
2010-08-10 11:46:16 -04:00
Benjamin Drung
55cd28cb31
ack-sync: Assign yourself before working on the sync request.
2010-08-05 22:03:43 +02:00
Stefano Rivera
6f78086089
Correct typo from r686. dcs -> dsc
2010-08-04 21:27:55 +02:00
Luca Falavigna
4ac351c1f6
Releasing 0.101
2010-08-04 10:07:09 +00:00
Luca Falavigna
9fb63c6224
mk-schroot: add debootstrap include/exclude options
2010-08-04 09:42:55 +00:00
Luca Falavigna
2c01f17904
Change Maintainer email address to match Alioth's one
2010-08-03 23:32:09 +02:00
Benjamin Drung
9de91675bc
Switch to simple dh7 rule.
2010-08-02 20:41:09 +02:00
Benjamin Drung
c1bdfe3f6d
suspicious-source: Replace with total rewrite in Python using python-magic.
2010-08-02 20:27:37 +02:00
Benjamin Drung
633d60d71d
Update README.updates to use bzr bd instead of debuild.
2010-08-02 20:06:11 +02:00
Benjamin Drung
6619e1c0f8
Fix mistakes from previous commits.
2010-08-02 15:47:29 +02:00
Benjamin Drung
04a2a88c09
Fix typo.
2010-08-02 15:39:27 +02:00
Benjamin Drung
5c14871416
syncpackage: Print propper error message if dsc file is malformed.
2010-08-02 15:37:48 +02:00
Benjamin Drung
660e6256c7
Fix typo.
2010-08-02 01:58:26 +02:00
Benjamin Drung
ace0508430
ack-sync: Print name of bug owner if the public email address is missing.
2010-08-02 01:58:18 +02:00
Stefano Rivera
896b1780b4
syncpackage: Set DEB_VENDOR=Ubuntu when fakesyncing, so fakesyncs prepared on a Debian host can close LP bugs
2010-08-01 20:03:49 +02:00
Benjamin Drung
79fdd2dccb
syncpackage: Fix variable usage before assigning.
2010-07-31 01:56:04 +02:00
Benjamin Drung
cf1939605e
ack-sync: Improve source package name guessing.
2010-07-30 15:56:57 +02:00
Benjamin Drung
dcaab5fc47
update-maintainer: Add a --quiet option.
2010-07-30 03:51:33 +02:00
Benjamin Drung
7d53fbf9df
Add bzr-builddeb configuration.
2010-07-30 03:46:19 +02:00
Benjamin Drung
c3bd2726c7
* syncpackage:
...
- Prepend script name to every output
- Output every executed command in verbose mode
2010-07-30 03:32:23 +02:00
Benjamin Drung
3b4c72019a
ack-sync: Use a hidden local file.
2010-07-30 01:01:46 +02:00
Benjamin Drung
71c25ec898
syncpackage: Use Version class from python-debian to fix extraction of
...
upstream version for debian versions that contain more than one dash.
2010-07-30 00:58:26 +02:00
Benjamin Drung
309bf6d2a3
ack-sync: Allow pulling email address from local file.
2010-07-29 13:39:10 +02:00
Michael Bienia
a3a1a1bc6f
+ Add a forgotten changelog entry
...
+ import-bug-from-debian: Clean up a little bit
2010-07-29 00:02:32 +02:00
Michael Bienia
19f2e81a3b
import-bug-from-debian: Clean up a little bit
2010-07-29 00:00:33 +02:00
Michael Bienia
ed98811342
Add a forgotten changelog entry
2010-07-29 00:00:07 +02:00
Benjamin Drung
5d25f96d46
Bump Standards-Version to 3.9.1 (no changes required).
2010-07-28 16:27:29 +02:00
Benjamin Drung
477e6a9430
syncpackage: Fix extraction of upstream version for debian versions that
...
contain more than one dash.
2010-07-28 16:25:35 +02:00
Steve Beattie
a5c97797d3
* mk-schroot: add debootstrap include/exclude options
...
* mk-schroot.1: document added options
2010-07-27 23:07:34 -07:00
Michael Bienia
1e7993df3e
ubuntutools/lp/lpapicache.py: The LP API function archive.checkUpload() throws
...
an exception when the person has no upload rights.
2010-07-22 21:13:20 +02:00
Michael Bienia
0cca58d2bb
requestsync: Fix bug where the variable 'hasLP' is not always set (lp: #607874 )
2010-07-20 19:47:45 +02:00
Fabrice Coutadeur
505af8e20c
ack-sync_ uses -d parameter when calling sbuild instead of -c as chroot are
...
now using the arch for amd64
2010-07-14 07:51:19 +02:00
Stefano Rivera
7ad49b91be
ack-sync: Allow environment to leak into sudo when calling pbuilder.
...
e.g. So one can set an environment variable specifying the architecture to
build on, or to tell a lintian pbuilder hook script not to abort the build in
the presence of serious issues.
2010-07-12 21:12:42 +02:00
Michael Bienia
5c5240519b
* ubuntutools/lp/lpapicache.py: use the new LP API function
...
archive.checkUpload() to check upload permissions
* Add "import-bug-from-debian" written by James Westby to u-d-t
2010-07-11 20:36:15 +02:00
Michael Bienia
b9b643afd8
Add python-soappy to Recommends.
2010-07-11 20:33:18 +02:00
Michael Bienia
aecf197601
Add copyright information for "import-bug-from-debian" and install it as part of ubuntu-dev-tools.
2010-07-11 20:30:08 +02:00
Michael Bienia
becabaff92
Add http://people.canonical.com/~jamesw/import-bug-from-debian.py
2010-07-11 18:43:19 +02:00
Michael Bienia
924f910335
ubuntutools/lp/lpapicache.py: use the new LP API function archive.checkUpload() to check upload permissions
2010-07-11 18:41:14 +02:00
Stefano Rivera
2d26fc13a0
When ack-syncing multiple bugs, don't use the first reporter's email address
...
for all bugs.
When an email address *is* supplied on the command line, use it for all bugs.
2010-07-09 22:12:54 +02:00
Stefano Rivera
a5787e48a1
Explicitly dput to ubuntu (defined in the default dput.cf in both Debian and Ubuntu)
2010-07-09 22:11:41 +02:00
Benjamin Drung
3b54c5b956
Switch to dpkg-source 3.0 (native) format.
2010-06-29 16:44:05 +02:00
Benjamin Drung
44afef5cd2
Bump Standards-Version to 3.9.0 (no changes required).
2010-06-29 16:43:08 +02:00
Benjamin Drung
8ba73a850e
* syncpackage: Update manpage to reflect current usage. ( Closes : #587142 ,
...
LP: #598477 )
* ubuntu-build: Update manpage to reflect current usage. (LP: #490535 )
* edit-patch: Add manpage. (LP: #538379 )
* massfile: Add manpage.
* pull-debian-debdiff: Add manpage.
* setup-packaging-environment: Add manpage.
* ubuntu-iso: Add manpage.
2010-06-29 16:41:06 +02:00
Benjamin Drung
49b1f200a5
Revert last commit, use Andrew Starr-Bochicchio's branch instead.
2010-06-29 16:39:12 +02:00
Andrew Starr-Bochicchio
54f47409c0
massfile: One more minus sign to escape in man page.
2010-06-29 10:20:02 -04:00
Andrew Starr-Bochicchio
ccc59ee0d7
syncpackage: Update man page to mention that it does fakesyncs.
2010-06-29 10:17:34 -04:00
Andrew Starr-Bochicchio
cbeeb920b2
massfile: Remember to escape minus signs in man page.
2010-06-29 10:11:21 -04:00
Luca Falavigna
c696deeff1
* doc/syncpackage.1:
...
- Integrate with new syncpackage options
2010-06-27 17:13:15 +02:00
Andrew Starr-Bochicchio
ec24eb2c70
Tweak syncpackage man page.
2010-06-26 14:46:11 -04:00
Andrew Starr-Bochicchio
85623d625a
ubuntu-iso: Add manpage.
2010-06-26 14:41:04 -04:00
Andrew Starr-Bochicchio
6acfe02e37
setup-packaging-environment: Add manpage.
2010-06-26 14:31:30 -04:00
Andrew Starr-Bochicchio
3f944f59b7
pull-debian-debdiff: Add manpage.
2010-06-26 14:18:05 -04:00
Andrew Starr-Bochicchio
f7cf471e93
Tweak edit-patch man page.
2010-06-26 14:11:47 -04:00
Andrew Starr-Bochicchio
6f1313e1a4
massfile: Add manpage.
2010-06-26 14:11:27 -04:00
Andrew Starr-Bochicchio
b813c3ea45
edit-patch: Add manpage. (LP: #538379 )
2010-06-25 17:22:31 -04:00
Andrew Starr-Bochicchio
62761f2afd
ubuntu-build: Update manpage to reflect current usage. (LP: #490535 )
2010-06-25 16:11:43 -04:00
Andrew Starr-Bochicchio
97ed98b22e
syncpackage: Update manpage to reflect current usage. (LP: #598477 )
2010-06-25 15:46:51 -04:00
Daniel Holbach
c88924cfc6
release 0.100
2010-06-23 16:26:39 +02:00
Michael Bienia
f396485ac4
[ Daniel Hahler ]
...
mk-sbuild: add $RELEASE to error message.
2010-06-17 21:18:12 +02:00
Daniel Hahler
f3739a77a9
Minor: mk-sbuild: add $RELEASE to error message.
...
This prevents confusion like it happened for me in LP:#595299
2010-06-17 20:56:59 +02:00
David Futcher
5bbdbed962
edit-patch: Tentatively commit support for applying patches with no patchsystem present
2010-06-10 15:12:25 +01:00
Benjamin Drung
31c8c6dfcf
Fix typo in python-debian version.
2010-06-10 00:04:12 +02:00
Benjamin Drung
de892d4b87
debian/control: Wrap and sort (Build-)Depends.
2010-06-10 00:02:57 +02:00
Benjamin Drung
43b5feb087
update-maintainer: Avoid duplicate Original-Maintainer field if maintainer is listed in Uploaders too.
2010-06-09 23:55:16 +02:00
Benjamin Drung
e7633f6879
syncpackage: Use debuild instead of dpkg-buildpackage for fake syncs.
2010-06-09 12:58:16 +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 Vogt
3ed4038008
support adding existing patches (e.g. from launchpad)
...
thanks to David Futcher (LP: #586787 )
2010-06-07 13:34:06 +02:00
Luke Faraone
f3c6d92b03
Merge lp:~ubuntu-dev/+junk/ack-sync. Include new ack-sync tool.
2010-06-04 21:01:50 -04:00
Benjamin Drung
499d602ff9
Remove fakesync, because ack-sync (and syncpackage) can handle fake syncs.
2010-06-03 22:15:29 +02:00
Benjamin Drung
29869d25c6
ack-sync: Fix .dsc file name for fake syncs.
2010-06-03 22:14:55 +02:00
Benjamin Drung
f74f18f9a3
update-maintainer: Fix incorrect Maintainer field.
2010-06-03 21:39:11 +02:00
Benjamin Drung
53cd9f8641
Convert spaces to tabs.
2010-06-03 21:37:56 +02:00
Benjamin Drung
34c6d5a238
update-maintainer: Remove duplicate Original-Maintainer field.
2010-06-03 21:36:02 +02:00
James Westby
ea28be8a95
Pass the basename of the file to LP as the filename.
2010-06-03 13:44:37 -04:00
Luke Faraone
a706ce2f7e
Exit with an error rather than a traceback when encountering a private email address.
2010-06-03 10:25:39 -04:00
Luke Faraone
b93d8aa625
Support alternative forms of pbuilder by providing a --pbuilder=<command> option.
2010-06-03 10:23:07 -04:00
Aurelien Gateau
5f01f369a9
Do not pass the dir part of the tarball name to LP
2010-06-03 14:21:22 +02:00
Benjamin Drung
f35f81dc56
syncpackage: Use anonymous Launchpad login.
2010-06-02 16:00:30 +02:00
Benjamin Drung
19e2e52d26
Change command line parameter to only specify email address instead of full uploader name.
2010-06-02 11:49:41 +02:00
Benjamin Drung
518a6006d6
syncpackage: Fix sponsoring for fake sync.
2010-06-02 11:47:28 +02:00
Luke Faraone
9e74af84e0
Support alternative forms of pbuilder by providing a --pbuilder=<command> option.
2010-05-29 23:10:03 -04:00
Luke Faraone
6907a384fe
Exit with an error rather than a traceback when encountering a private email address.
2010-05-29 22:54:26 -04:00
Michael Vogt
3e72a73484
* edit-patch:
...
- support full path to the patch as well (LP: #585599 )
2010-05-28 11:24:34 +02:00
Fabrice Coutadeur
90110bfeac
Added -k / --key parameter to pass the signing key oif the sponsor to syncpackage
2010-05-23 13:33:08 +02:00
Luca Falavigna
673d3658d7
Correctly parse local .dsc files
2010-05-20 13:55:10 +00:00
Benjamin Drung
62a94f1970
syncpackage: add mismatching source tarball detection (for fake syncs).
2010-05-15 17:55:36 +02:00
Benjamin Drung
1d5ba328d0
Allow to set uploader (for hidden email addresses).
2010-05-15 17:33:19 +02:00
Benjamin Drung
de89ada951
ack-sync: print Uploader before uploading.
2010-05-14 13:00:56 +02:00
Michael Bienia
cb393d3255
Drop versioned Replaces and Conflicts on devscripts older than the version in
...
hardy.
2010-05-13 11:51:01 +02:00
Benjamin Drung
42406c4be8
Use new syncpackage script instead of subscribing archive-admins.
2010-05-10 22:04:39 +02:00
Benjamin Drung
d54b89e4c1
syncpackage: Add option to close additional Launchpad bugs.
2010-05-10 21:56:24 +02:00
Benjamin Drung
b86063c27f
syncpackage: add more options and allow pulling packages from Debian.
2010-05-10 00:05:22 +02:00
Benjamin Drung
5964d3d6cb
Replace spaces by tabs.
2010-05-09 19:11:50 +02:00
Iain Lane
51dc6ffb7e
Also fall back to rmadison when ubuntu_version >= debian_version
...
This happens, for example, when there are Ubuntu local changes and the Debian importer hasn't caught up yet.
2010-05-09 16:11:00 +01:00
Iain Lane
22274ef8aa
requestsync: Fall back to using rmadison when LP indicates that no new
...
version is available. The LP importer is often out of date wrt Debian when
rmadison isn't. (LP: #574398 )
2010-05-03 23:28:00 +01:00
Michael Bienia
9e23dfa60c
[ Felix Geyer ]
...
reverse-build-depends: Always display the correct default distribution name in
the usage text.
2010-05-02 18:35:32 +02:00
Luca Falavigna
80ea6a5664
* debian/ubuntu-dev-tools.preinst:
...
- It is no longer necessary to remove stale pycentral files.
2010-05-01 14:50:09 +02:00
Luca Falavigna
db35a2a668
Fix typo in lp-shell.1
2010-05-01 14:47:29 +02:00
Felix Geyer
1b907f791c
reverse-build-depends: Always display the correct default distribution name in the usage text.
2010-04-26 01:43:45 +02:00
Michael Bienia
50f05272e5
0.99 release (without the syncpackage script)
2010-04-22 21:54:28 +02:00
Michael Bienia
8e44248758
Install the syncpackage script again
2010-04-22 21:53:12 +02:00
Michael Bienia
9594fedc48
Upload 0.99 to lucid.
2010-04-22 21:32:31 +02:00
Michael Bienia
683988f987
Don't install the syncpackage script for the 0.99 release.
2010-04-22 21:30:18 +02:00
Michael Bienia
ed5253a36d
Update the defaults for maverick and let requestsync and pull-debian-source
...
default to unstable (lp: #472837 ).
2010-04-20 17:57:44 +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
Emmet Hikory
2b34773630
pbuilder-dist: change requested/system arch order in check (LP: #557097 )
2010-04-20 06:25:19 +09:00
Benjamin Drung
7292782ef8
Support orig.tar.bz2 files in fakesync.
2010-04-19 16:18:42 +02:00
Benjamin Drung
082d3aa4a9
Fix typo.
2010-04-17 22:54:40 +02:00
Benjamin Drung
8a67e7b8e4
Prefer /tmpfs an working directory.
2010-04-17 22:47:24 +02:00
Luca Falavigna
7d465094a0
syncpackage: new script to easily upload pristine Debian packages.
2010-04-17 12:57:48 +02:00
Luca Falavigna
abd7660c33
Merge with trunk
2010-04-17 12:47:21 +02:00
Luca Falavigna
5565c16af1
Ignore extra fields at the end of the .dsc file
2010-04-17 12:43:41 +02:00
Loïc Minier
06f8f62948
Re-release 0.98
2010-04-16 12:58:24 +02:00
Loïc Minier
89766c353b
Redo 0.98 taking into account latest changes and adding a changelog entry for
...
Soren's changes:
* Update get-branches to account for changes in LP's web UI. Really, someone
should update it to use the LP API, but for now, this will have to do.
2010-04-16 12:57:57 +02:00
Michael Bienia
9c5632cb62
doc/get-branches.1: Mention that get-branches now uses the LP API instead of
...
screen scraping.
2010-04-16 12:53:07 +02:00
Michael Bienia
a2a92f02d3
[ Michael Bienia ]
...
get-branches: Use the LP API to obtain a list of branches of a team.
2010-04-16 12:29:02 +02:00
Loïc Minier
299c397d63
Release 0.98
2010-04-16 11:28:18 +02:00
Loïc Minier
7515ca30e3
bash_completion/pbuilder-dist, dch-repeat: list maverick in possible
...
Ubuntu dists; the default dist for reverse-build-depends and
submittodebian should be changed in maverick.
2010-04-16 11:26:53 +02:00
Luca Falavigna
d3a972de33
Add syncpackage.1 man page
2010-04-15 23:18:12 +02:00
Benjamin Drung
c598d35031
Don't hardcode lucid.
2010-04-14 11:51:57 +02:00
Benjamin Drung
2920e58d75
~ occurs in version strings too.
2010-04-14 11:49:56 +02:00
Benjamin Drung
2a08a1f02b
Port scripts to Launchpad web service version "1.0".
2010-04-14 11:19:58 +02:00
Luca Falavigna
4ab0673c80
Exit if proposed version is not greater than already available one
2010-04-13 23:53:07 +02:00
Luca Falavigna
764290cb9a
Invoke getUbuntuSrcPkg to get current Ubuntu version
2010-04-13 23:35:13 +02:00
Luca Falavigna
440ead9328
License syncpacakge under GPLv3
...
This needs to be ACK'ed by Martin, though
2010-04-13 23:22:32 +02:00
Luca Falavigna
3f771e4ce8
Initial import of syncpackage
2010-04-13 23:18:24 +02:00
Luca Falavigna
80f53f4ddc
Keep alphabetical order of installed scripts
2010-04-13 23:13:41 +02:00
Michael Bienia
36fd550ab4
lp-shell: Use "udt-lp-shell" as LP API consumer instead of the non-unique
...
"test" (lp: #558531 ).
2010-04-13 18:43:51 +02:00
Emmet Hikory
4ff65ad731
doc/mk-sbuild.1: add missing options to summary
2010-04-11 17:31:49 +09:00
Soren Hansen
853f0275a6
Update get-branches to account for changes in LP's web UI. Really, someone should update it to use the LP API, but for now, this will have to do.
2010-04-08 09:55:27 -05:00
Michael Bienia
0ee66adc16
[ Ryan Kavanagh ]
...
* Added the merge-changelog script from
https://lists.ubuntu.com/archives/ubuntu-x/2009-June/000586.html for those
who need to manually merge packages.
* Fixed typo in doc/grab-merge.1
2010-04-08 13:30:49 +02:00
Michael Bienia
6c3ae1e29b
README.updates: Update the URL for pending merges
2010-04-08 13:14:42 +02:00
Michael Bienia
40ce764ea4
Upload 0.97 to lucid.
2010-04-08 13:06:49 +02:00
Michael Bienia
98688b4d88
ubuntutools/requestsync/mail.py: Fix some more encoding issues (lp: #557828 ).
2010-04-08 11:50:10 +02:00
Michael Vogt
eafd4a4bff
edit-patch: fix in edit mode for existing patches when dpkg already applied them all
2010-04-06 16:02:38 +02:00
Michael Vogt
1e27007d44
* edit-patch:
...
- fix quilt mode when dpkg already applied all the patches
(LP: #556297 )
2010-04-06 10:45:40 +02:00
Michael Bienia
b875c4e884
debian/control: Bump the dependency on python-launchpadlib to >= 1.5.7.
2010-03-30 19:10:16 +02:00
Michael Bienia
e8722696bf
lp-shell:
...
+ Add support for using different LP API versions.
+ Add option to login anonymously into LP.
doc/lp-shell.1: Update the documentation.
2010-03-27 20:19:58 +01:00
Benjamin Drung
a13d42f824
Don't hardcode lucid.
2010-03-27 15:16:52 +01:00
Michael Bienia
28f7abc2d4
Merge changes from my devel branch:
...
- ubuntutools/lp/lpapicache.py, ubuntutools/lp/libsupport.py: Add support
for different LP API versions.
- ubuntutools/lp/__init__.py: Set the '1.0' LP API version as default.
- massfile: Updated to 1.0 LP API.
- doc/requestsync.1: Update the paragraph about sponsoring (lp: #538990 ).
- pull-lp-source: Use (anonymously) the LP API to get the URL for the .dsc
file instead of screen scraping.
- ubuntutools/requestsync/mail.py: Fix some more encoding issues.
- Apply patch from Julian Andres Klode for the python-apt 0.8 API transition
(Closes : #572091 )
2010-03-25 22:16:20 +01:00
Michael Bienia
3edf300dd6
Apply patch from Julian Andres Klode for the python-apt 0.8 API transition
...
(Closes : #572091 )
2010-03-25 22:15:56 +01:00
Michael Bienia
24a8eae5c7
ubuntutools/requestsync/mail.py: Fix some more encoding issues.
2010-03-25 21:58:01 +01:00
Benjamin Drung
f463f63c67
Don't fail if ubuntu-{main,universe}-sponsors can't be unsubscribed.
2010-03-23 18:38:44 +01:00
Benjamin Drung
315b12484c
Update scripts to unsubscribe ubuntu-sponsors.
2010-03-23 17:35:58 +01:00
Michael Bienia
1372671779
pull-lp-source: Use (anonymously) the LP API to get the URL for the .dsc
...
file instead of screen scraping.
2010-03-20 20:22:55 +01:00
Michael Bienia
dfc59c0558
ubuntutools/lp/lpapicache.py: Also specify the LP API version to use when
...
using anonymous login.
2010-03-20 19:58:13 +01:00
Michael Bienia
cc8ec956b0
Factor our the spliting of the release name and the pocket name into its
...
own function.
2010-03-20 19:45:04 +01:00
Michael Bienia
5babcfe869
ubuntutools/lp/udtexceptions.py: Rename PocketDoesNotExistException to PocketDoesNotExistError.
2010-03-20 19:27:40 +01:00
Michael Bienia
8f7d07e6bc
doc/requestsync.1: Update the paragraph about sponsoring (lp: #538990 ).
2010-03-20 18:49:42 +01:00
Michael Bienia
e4e8f156bd
* ubuntutools/lp/lpapicache.py, ubuntutools/lp/libsupport.py: Add support
...
for different LP API versions.
* ubuntutools/lp/__init__.py: Set the '1.0' LP API version as default.
* massfile: Updated to 1.0 LP API.
2010-03-20 18:27:31 +01:00
Luca Falavigna
8c5be3eb66
Shorten description line a bit
2010-03-18 15:58:58 +01:00
Michael Bienia
c921eaf947
lp-shell: Support all to the launchpadlib Python module known service names.
2010-03-18 11:03:55 +01:00
Daniel Holbach
dcb7ccbaec
release
2010-03-15 11:59:26 +01:00
Daniel Holbach
f84f961805
* hugdaylist, requestsync, doc/requestsync.1:
...
ubuntu-{main,universe}-sponsors → ubuntu-sponsors,
{ubuntu,motu}-release → ubuntu-release.
* ubuntutools/ppaput.py: removed, not necessary any more.
* debian/copyright: removed references to ppaput.
2010-03-15 10:22:35 +01:00
Emmet Hikory
f9570af63f
mk-sbuild: Really don't use build-arm-chroot
2010-03-09 08:34:59 +09:00
Michael Bienia
f77f947359
ubuntu-build: missed updating a function call.
2010-03-08 18:08:06 +01:00
Jonathan Riddell
c5cef06bff
Update reverse-build-depends for lucid
2010-03-08 13:34:10 +00:00
Emmet Hikory
5d0197e239
releasing version 0.94
2010-03-08 21:13:09 +09:00
Emmet Hikory
afdf9bfd63
pbuilder-dist: add self. before target_distro in powerpc check
2010-03-08 21:07:31 +09:00
Emmet Hikory
1c04fd9ec0
Update copyright to reflect myself and smoser as authors, and note mk-sbuild-lv to mk-sbuild transition
2010-03-08 18:59:50 +09:00
Emmet Hikory
4430dc01c0
Update package description to reflect mk-sbuild-lv changing to mk-sbuild
2010-03-08 18:57:00 +09:00
Emmet Hikory
e5862f49c9
* pbuilder-dist: allow any foreign chroot (may not work, but we can try)
...
* docs/pbuilder-dist.1: update manpage to indicate general architecture
2010-03-08 18:54:54 +09:00
Emmet Hikory
510cdbd726
* mk-sbuild: switch to use qemu-debootstrap for foreign chroots
...
* mk-sbuild: allow any foreign chroot (may not work, but we can try)
2010-03-08 18:05:37 +09:00
Luca Falavigna
af1d20f51e
Add manpage for lp-set-dup
2010-03-06 12:56:06 +01:00
Luca Falavigna
99414b6d44
Bump Standards-Version to 3.8.4
2010-03-06 12:52:52 +01:00
Steve Langasek
72076da069
releasing version 0.93
2010-03-05 19:16:45 -08:00
Steve Langasek
f76e52e730
fix up bug refs so bzr, lp can actually see them
2010-03-05 09:46:57 -08:00
Michael Bienia
95a8fdecb2
requestsync: Subscribe 'ubuntu-release' to Feature Freeze exceptions (updated
...
to current policy; lp: #532740 )
2010-03-05 17:59:46 +01:00
Colin Watson
1005f7d174
lp-shell: Disable default apport excepthook, as this is intended for
...
interactive use.
2010-02-24 10:41:55 +00:00
Michael Bienia
16addfa5ff
lp-set-dup: Don't crash when accessing private bugs (lp: #525539 )
2010-02-23 00:33:13 +01:00
Benjamin Drung
a2a67eab75
fakesync: Adjust changelog entry.
2010-02-20 22:05:02 +01:00
Michael Bienia
3df7282fc5
Merge with my development branch:
...
* ubuntutools/requestsync/{lp,mail}.py: Replace the relative imports with
absolute ones (follow PEP8)
* Add support for the other LP service roots (edge is still default)
* Also check package sets for upload permissions.
* ubuntutools/lp/lpapicache.py: Add support for anonymous login (currently
unused).
* ubuntutools/lp/lpapicache.py: Turn PersonTeam.getMe() into a class property
(PersonTeam.me).
* requestsync: Add an error message when Ubuntu has a newer version than
Debian.
2010-02-20 18:46:21 +01:00
Michael Bienia
e3eaaab755
Document important changes in debian/changelog
2010-02-20 18:44:14 +01:00
Michael Bienia
1cfe684420
requestsync:
...
* Add an error message when Ubuntu has a newer version than Debian.
2010-02-20 18:36:12 +01:00
Michael Bienia
8377c6bfa3
ubuntutools/lp/lpapicache.py:
...
* Specify __all__
2010-02-20 18:19:44 +01:00
Michael Bienia
f5c6695e13
ubuntutools/lp/lpapicache.py:
...
* Make PersonTeam.getMe() a class property (PersonTeam.me).
ubuntutools/requestsync/lp.py, ubuntu-build:
* Update for the above mentioned change.
2010-02-20 18:13:15 +01:00
Michael Bienia
8c114519e8
ubuntutools/lp/lpapicache.py:
...
* Add support for anonymous login to the Launchpad singleton.
ubuntutools/lp/udtexceptions.py:
* Add AlreadyLoggedInError
2010-02-20 17:07:03 +01:00
Michael Bienia
0dfe4b4731
ubuntutools/lp/lpapicache.py:
...
* PersonTeam.canUploadPackage() can now also check package sets for upload
permissions. This requires now to also pass the distroseries as package sets
are per distroseries.
* Drop PersonTeam.isPerPackageUploader() as it's also handled by canUploadPackage()
ubuntu-build: Update for the PersonTeam.canUploadChange().
ubuntutools/requestsync/{lp,mail}.py:
* needSponsorship() now also expects a release name because of the above mentioned
change to PersonTeam.canUploadPackage().
requestsync: Update for needSponsorship() change.
2010-02-20 15:48:48 +01:00
Michael Bienia
caafd18fb9
ubuntutools/lp/lpapicache.py:
...
Re-add dropped "beta/" to the resource type URLs
Use lookup_service_root() when checking for LP API URLs
2010-02-20 15:18:52 +01:00
Kees Cook
9420833871
mk-sbuild, docs/mk-sbuild.1: document DEBOOTSTRAP_MIRROR for good
...
measure, thanks to Paul Holcomb.
2010-02-18 11:11:16 -08:00
Michael Vogt
4e104ffcef
edit-patch: add wrapper around cdbs-edit-patch, dpatch-edit-patch, quilt
...
to transparently deal with the various patch systems.
2010-02-16 17:05:40 +01:00
Michael Bienia
4da9387f3d
Merge with trunk.
2010-02-16 14:06:32 +01:00
Michael Bienia
cfe30e88e5
ubuntutools/requestsync/mail.py: Encode the report to utf-8 before passing
...
it to gpg for signing (lp: #522316 ).
2010-02-15 22:40:51 +01:00
Ryan Kavanagh
e6a7d63ae0
Switched merge_changelog to merge-changelog
2010-02-15 16:34:10 -05:00
Ryan Kavanagh
0e10dd4ed4
Fixed typo in doc/grab-merge.1
2010-02-15 09:34:09 -05:00
Ryan Kavanagh
28891f7d7a
Added the merge_changelog script
2010-02-15 09:32:55 -05:00
Benjamin Drung
ce5dec0c12
Setting the package name or version does not work, if multiple bugs are processed.
2010-02-14 15:55:52 +01:00
Benjamin Drung
47030d4fd7
Add fakesync script.
2010-02-13 19:45:21 +01:00
Benjamin Drung
4a143146c3
New feature: Accept a list of bug numbers.
2010-02-13 01:57:49 +01:00
Benjamin Drung
3a922e8752
* Set location for build results (pbuilder).
...
* Improve package name guessing.
2010-02-13 01:10:48 +01:00
Michael Bienia
b101712009
ubuntutools/lp/lpapicache.py: Add __repr__() to the BaseWrapper class
2010-02-12 19:36:08 +01:00
Michael Bienia
4f21ae1cd0
Replace translate_service() from ubuntutools.lp.libsupport with calls to
...
lookup_service_root() from launchpadlib.uris.
2010-02-12 18:47:02 +01:00
Benjamin Drung
d526cd933f
Adjust parameter and add -P to the list.
2010-02-09 23:37:01 +01:00
Fabrice Coutadeur
d4667d668e
- looks for binary changes files dynamically
...
- added piuparts support with pbuilder
- Changed status from Confirmed to Acked
2010-02-09 22:58:52 +01:00
Emmet Hikory
51160d6eb1
Move conditional lvm2 install prior to first call to lvm2 binaries
2010-02-10 06:08:02 +09:00
Fabrice Coutadeur
16051d01ae
do not hard code the dist name
2010-02-09 21:18:35 +01:00
Kees Cook
79d78376b5
* mk-sbuild: automatically install qemu-kvm-extras-static if requested
...
* mk-sbuild: conditionally install lvm2 only for lvm-snapshot schroots
* mk-sbuild: rationalise architecture variables
* mk-sbuild: Generalise --type support and add "file" SCHROOT_TYPE
* mk-sbuild.1: Document the --type argument
* mk-sbuild: clean up and make slight adjustments to new lvm/dir/file logic.
2010-02-09 07:12:39 -08:00
Emmet Hikory
47be819276
* mk-sbuild: automatically install qemu-kvm-extras-static if requested
...
* mk-sbuild: conditionally install lvm2 only for lv-snapshot schroots
* mk-sbuild: rationalise architecture variables
* mk-sbuild: Generalise --type support and add "file" SCHROOT_TYPE
* mk-sbuild.1: Document the --type argument
2010-02-09 22:36:18 +09:00
Emmet Hikory
4c598a9247
* mk-sbuild: Generalise --type support and add "file" SCHROOT_TYPE
...
* mk-sbuild.1: Document the --type argument
2010-02-09 22:10:58 +09:00
Emmet Hikory
b5d36d7794
merge from trunk
2010-02-09 22:00:44 +09:00
Emmet Hikory
acf2ebb924
mk-sbuild: Generalise --type support and add "file"|"tarball" type
2010-02-09 21:29:29 +09:00
Kees Cook
0dc688ee7e
* rename mk-sbuild-lv to mk-sbuild, support union-type=aufs
...
* mk-sbuild: clean up and make slight adjustments to new lvm/aufs logic.
* mk-sbuild.1: update documentation to reflect alternative config file
names for distro and schroot type overrides.
2010-02-09 00:22:06 -08:00
Fabrice Coutadeur
99afb52d19
piuparts support:
...
- added test_install function
- adde -S and --with_piuparts to run piuparts test after compilation
- added -l and --lvm parameter to pass the lvm partition to use for piuparts
2010-02-09 06:51:42 +01:00
Emmet Hikory
7a5de7c877
mk-sbuild: automatically install qemu-kvm-extras-static if requested
2010-02-09 12:07:35 +09:00
Emmet Hikory
c2fa613721
mk-sbuild: rationalise architecture variables
2010-02-09 11:40:16 +09:00
Emmet Hikory
32d0e916d3
mk-sbuild: conditionally install lvm2 only for lv-snapshot schroots
2010-02-09 11:34:20 +09:00
Scott Moser
3997415b8f
add union-type support fot mk-sbuild-lv (rename -> mk-sbuild)
2010-02-08 20:04:33 -05:00
Kees Cook
07451d8631
requestsync: add -C to allow manually adding changelog when missing
...
(LP: #518574 ).
2010-02-08 11:55:58 -08:00
Kees Cook
233ceb06b9
requestsync: add -C to allow manually adding changelog when missing.
2010-02-08 10:12:55 -08:00
Loïc Minier
ecdba06065
Demote qemu-kvm-extras-static to a Suggests since most people don't build
...
for armel.
2010-02-06 10:33:09 +01:00
Michael Bienia
a33a5c106b
ubuntutools/lp/__init__.py: Define the default LP service to use (default: edge)
...
ubuntutools/lp/__init__.py: Don't hardcode the LP service root but look it up instead
debian/control: Depend on python-launchpadlib >= 1.5.4 because of this
2010-02-06 01:53:29 +01:00
Emmet Hikory
621b743cab
Support qemu-arm-static -> qemu-kvm-extras-static transition
2010-02-05 16:46:54 -08:00
Benjamin Drung
8a0396377b
Replace spaces by tabs.
2010-02-05 09:57:53 +01:00
Benjamin Drung
4180affdf1
Make section modifiable.
2010-02-05 09:54:02 +01:00
Emmet Hikory
803ee6582b
Oops: upload cleanup
2010-02-04 10:42:53 -08:00
Michael Bienia
95487419e7
ubuntutools/requestsync/{lp,mail}.py: Replace the relative imports with
...
absolute ones (follow PEP8)
2010-02-04 00:37:02 +01:00
Emmet Hikory
6661936718
pbuilder-dist: change --mirror logic to use -ports when appropriate
2010-02-03 15:26:40 -08:00
Emmet Hikory
384cba2e19
pbuilder-dist: use --arch=foo rather than --arch foo for debootstrap
2010-02-03 15:06:03 -08:00
Emmet Hikory
54b102a92d
s/=/ / in pbuilder-dist
2010-02-03 15:01:48 -08:00
Emmet Hikory
5a62f49527
elif is nicer than else if
2010-02-03 14:58:45 -08:00
Emmet Hikory
bffe719703
Fix bugs in architecture-switching
2010-02-03 14:38:27 -08:00
Emmet Hikory
5120e41e6a
pbuilder-dist: Allow architecture-switching to armel on i386/amd64
2010-02-03 14:13:33 -08:00
Emmet Hikory
dbfbeea256
mk-sbuild-lv: use --arch=foo rather than --arch foo for debootstrap
2010-02-03 12:35:57 -08:00
Emmet Hikory
c8f27f6cfe
* mk-sbuild-lv: support foreign armel schroots
...
* debian/control: add qemu-arm-static to Recommends:
2010-02-03 11:46:08 -08:00
Siegfried-Angel Gevatter Pujals
dc678ec284
* bash_completion/pbuilder-dist:
...
- Enable tab-completion for pbuilder-lucid and cowbuilder-lucid.
2010-02-03 12:37:19 +01:00
Benjamin Drung
264ba59ffd
Fix download of lib* packages.
2010-02-03 00:26:32 +01:00
Fabrice Coutadeur
e7e3d269c1
Add support for sbuild, by adding a --with_sbuild option
...
Also add a logging function for commands (LogCall)
2010-01-29 06:37:11 +01:00
Benjamin Drung
9e228e499b
Fix encoding.
2010-01-26 22:13:32 +01:00
Benjamin Drung
a8b6ad1d4f
Fix typo.
2010-01-26 22:02:55 +01:00
Benjamin Drung
1f2127b0cc
Initial import of ack-sync.
2010-01-26 21:51:49 +01:00
Kees Cook
9e551578fa
mk-sbuild-lv: adjust schroot.conf template to document the -source
...
change further.
2010-01-18 16:14:20 -08:00
Michael Bienia
80ff3827c3
ubuntutools/requestsync/mail.py:
...
Map "sid" back to "unstable" (and "squeeze" to "testing") else rmadison
gets a Python traceback from the remote site instead of the expected data
(lp: #508794 ).
2010-01-17 17:59:41 +01:00
Emmet Hikory
8b1896be9e
* mk-sbuild-lv: drop deprecated keys from schroot.conf template
...
* mk-sbuild-lv: enable -source access after security improvements of
schroot.conf template in 0.88
* mk-sbuild-lv: document sudo requirement for -source access in final output
2010-01-17 11:12:05 +09:00
Martin Pitt
e98a55a21a
releasing version 0.90
2010-01-16 16:29:46 +01:00
Martin Pitt
d6a8669f61
releasing version 0.89
2010-01-13 14:34:11 +01:00
Martin Pitt
ddd6372281
* Add lp-shell: Open an interactive Python shell with a
...
launchpadlib.Launchpad object "lp" which is ready for use.
If the first command line argument is "staging", this will be on staging
instead of production.
* Add doc/lp-shell.1: Manpage.
2010-01-13 14:32:07 +01:00
Iain Lane
df9a4986c5
pbuilder lives in /usr/sbin, not /usr/bin
2010-01-15 22:27:26 +00:00
Siegfried-Angel Gevatter Pujals
dc291e72df
pbuilder-dist: some cleanup to --debug-echo's output.
2010-01-15 14:35:28 +01:00
Siegfried-Angel Gevatter Pujals
ee9561ae59
* pbuilder-dist:
...
- Set "--mirror" option also for Ubuntu chroots, so that they work
on Debian.
2010-01-15 14:26:39 +01:00
Michael Bienia
fe9b731b30
ubuntutools/requestsync/common.py: Decode the edited report file back from
...
UTF-8 so it can be encoded again in the next iteration (lp: #504263 )
2010-01-07 23:14:24 +01:00
Luca Falavigna
aa73abaee5
Adjust changelog entries to match releases
2010-01-06 18:37:08 +01:00
Michael Bienia
5bd544b63c
requestsync: Use '~' as the Ubuntu version for new packages (it's lower
...
than '0~0').
2010-01-06 01:30:40 +01:00
Kees Cook
c0c9b6d518
revert part of template changes
2010-01-05 14:34:56 -08:00
Kees Cook
977ac4e608
* mk-sbuild-lv: drop deprecated sbuild configuration fields from template.
...
* what-patch: updated for 3.0 source format.
2010-01-05 08:16:14 -08:00
Luca Falavigna
42b618d346
Fix some typos in man pages
2009-12-31 17:47:30 +01:00
Michael Bienia
65762755c0
* requestsync: Fix a bug that prevented sync requests for new packages with
...
a version smaller than 0.
2009-12-31 13:16:32 +01: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
ae7449ce54
releasing version 0.86
2009-12-27 13:03:59 -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
Michael Bienia
0d0b21b353
ubuntutools/requestsync/common.py: write the report into the tempfile encoded as utf-8
2009-12-23 00:03:58 +01: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
0a3d905cf4
ubuntutools/requestsync/mail.py: rmadison() returns now the most recent source
...
line (Closes : #560758 )
2009-12-20 15:43:57 +01:00
Michael Bienia
a6002f06e0
ubuntutools/requestsync/common.py: convert the changelog into a unicode string
...
(lp: #498349 )
2009-12-20 14:11:30 +01: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
Emmet Hikory
3dc0985b0f
mk-sbuild-lv: Really use -security for SOURCES_SECURITY_SUITE in Ubuntu
2009-12-15 09:59:51 +09:00
Emmet Hikory
2ca97407cf
mk-sbuild-lv: Add richer support for ports architectures in Ubuntu
2009-12-12 14:04:01 +09:00