Simon Quigley
466e2784de
Upload to Unstable
0.206
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
0.205
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
0.204
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
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