commit 157eb18ce1774fe658f5e950fb68fa6f7c32745f
Merge: 8a69369ad 0055a21a1
Author: Enrico Zini <enrico@debian.org>
Date: Sun May 31 18:08:34 2026 +0000
In WorkflowTemplate.can_configure, exclude templates granting groups that the user cannot grant. Fixes: #1480 (MR !3099)
Closes #1480
Merge-Request: https://salsa.debian.org/freexian-team/debusine/-/merge_requests/3099
commit 8a69369ad759729c5341f2004dd27f32718003b2
Merge: 986ca4abc ffc9b11c5
Author: Colin Watson <cjwatson@debian.org>
Date: Sun May 31 12:16:57 2026 +0000
Fix logical conflict between recent changes to DB task input tests (MR !3101)
Merge-Request: https://salsa.debian.org/freexian-team/debusine/-/merge_requests/3101
commit ffc9b11c5524ac37655ff91f75f65d58e8e00e36
Author: Colin Watson <cjwatson@debian.org>
Date: Sun May 31 08:18:44 2026 +0100
Fix logical conflict between recent changes to DB task input tests
commit 986ca4abc15c2738687993e3064f1083b8bd7cbd
Merge: 5fbb2b9cd 6201c40cd
Author: Colin Watson <cjwatson@debian.org>
Date: Sun May 31 07:14:05 2026 +0000
Add a helper to patch run-time support for generic types (MR !3096)
We were open-coding the equivalent of this in quite a few places.
Merge-Request: https://salsa.debian.org/freexian-team/debusine/-/merge_requests/3096
commit 5fbb2b9cd64f37eea8b67624db4da5f1b86ad5e0
Merge: 743eab074 cc444094b
Author: Colin Watson <cjwatson@debian.org>
Date: Sun May 31 07:13:21 2026 +0000
Improve handling of LookupError in DB task inputs (MR !3097)
Lookups can raise `LookupError` for invalid lookups, as well as the more
specific `KeyError` for single lookups that are valid but do not return
an item. When these are raised while resolving task inputs, they should
all turn into `TaskConfigError`.
The re-raised errors now also include the original exception message,
since that's usually helpful and there's no need to hide it.
Yak-shaving for #1439.
Merge-Request: https://salsa.debian.org/freexian-team/debusine/-/merge_requests/3097
commit 743eab0744c2528efca88ffbcfc3bca370e26f20
Merge: 80784501d 968d75b42
Author: Colin Watson <cjwatson@debian.org>
Date: Sun May 31 07:13:07 2026 +0000
Simplify DB task input tests (MR !3098)
Setting up fake task data is simple enough, and makes some upcoming
cases easier to test.
Yak-shaving for #1439.
Merge-Request: https://salsa.debian.org/freexian-team/debusine/-/merge_requests/3098
commit 0055a21a1095d2f274ab6154f45b6320e86e3e62
Author: Enrico Zini <enrico@enricozini.org>
Date: Sat May 30 18:18:33 2026 +0200
In WorkflowTemplate.can_configure, exclude templates granting groups that the user cannot grant
commit c8d62d7c7933e0d28447a9a2b52e29c8b10b6c07
Author: Enrico Zini <enrico@enricozini.org>
Date: Sat May 30 15:59:08 2026 +0200
Refactored PermissionContext using a GroupQuerySet for extra_groups
commit 1c3935ec41a2dcf01cf2036aad2bb71de853e87a
Author: Enrico Zini <enrico@enricozini.org>
Date: Sat May 30 15:57:53 2026 +0200
Replace PermissionContext.with_extra_groups with Playground.create_pc_with_extra_groups
commit 968d75b4232419b4579d222ede05dea0f3d29068
Author: Colin Watson <cjwatson@debian.org>
Date: Wed May 27 18:10:06 2026 +0100
Simplify DB task input tests
Setting up fake task data is simple enough, and makes some upcoming
cases easier to test.
Yak-shaving for #1439.
commit cc444094b05930fafe69dac7e6fe05786836a7e2
Author: Colin Watson <cjwatson@debian.org>
Date: Thu May 28 17:09:06 2026 +0100
Improve handling of LookupError in DB task inputs
Lookups can raise `LookupError` for invalid lookups, as well as the more
specific `KeyError` for single lookups that are valid but do not return
an item. When these are raised while resolving task inputs, they should
all turn into `TaskConfigError`.
The re-raised errors now also include the original exception message,
since that's usually helpful and there's no need to hide it.
Yak-shaving for #1439.
commit 6201c40cdd5eadbd15ef5953dfa0a58df9d89f46
Author: Colin Watson <cjwatson@debian.org>
Date: Thu May 28 16:22:51 2026 +0100
Add a helper to patch run-time support for generic types
We were open-coding the equivalent of this in quite a few places.
commit 80784501dc97b66cfca51839d5bd6e301e7b6fae
Merge: b8d02ba30 f728e2e4e
Author: Enrico Zini <enrico@debian.org>
Date: Thu May 28 15:18:42 2026 +0000
Allow to configure extra groups for workflow templates in debusine client (#634) (MR !3069)
Merge-Request: https://salsa.debian.org/freexian-team/debusine/-/merge_requests/3069
commit f728e2e4ec474ed802f022d6842faea2344fbe72
Author: Enrico Zini <enrico@enricozini.org>
Date: Sun May 24 15:22:05 2026 +0200
Allow to edit extra groups in debusine client
commit be6d7f11ac25315233ca807d1c904ef83e913564
Author: Enrico Zini <enrico@enricozini.org>
Date: Thu May 28 12:29:27 2026 +0200
Allow to set extra groups in WorkflowTemplate server API
commit ed89abea9080d214ba43994971899f3d4d3bcce4
Author: Enrico Zini <enrico@enricozini.org>
Date: Sun May 24 13:41:31 2026 +0200
Added a serializer for WorkflowTemplate.extra_groups
commit d39db8d5873d217eb2b6b75819a3f680c49666fd
Author: Enrico Zini <enrico@enricozini.org>
Date: Sun May 24 13:31:34 2026 +0200
Moved GroupManager.from_scoped_name to GroupQuerySet.get_by_name, and support workspaced names
commit 4015e638bf9497d3e7be9605d07101f9227eb44a
Author: Enrico Zini <enrico@enricozini.org>
Date: Sun May 24 12:30:16 2026 +0200
Restructure group permissions and add Group.can_grant
commit b8d02ba30332b4e3ee4b0722147c3f77397b4209
Merge: 890ba6373 432346017
Author: Carles Pina i Estany <carles@pina.cat>
Date: Thu May 28 13:53:43 2026 +0000
Fix unit test class names (MR !3095)
Merge-Request: https://salsa.debian.org/freexian-team/debusine/-/merge_requests/3095
commit 432346017d2ca7790fb858d0655400ce6f71024b
Author: Carles Pina i Estany <carles@pina.cat>
Date: Thu May 28 13:53:43 2026 +0000
Rename test classes: align them with the tested classes
commit 890ba6373ad97ea4423731f123a98c0ae6dec8c3
Merge: bd117d167 7ec2b7121
Author: Carles Pina i Estany <carles@pina.cat>
Date: Thu May 28 13:53:06 2026 +0000
Improve suite-root.html formatting (fixes #1468) (MR !3094)
fixes #1468
Closes #1468
Merge-Request: https://salsa.debian.org/freexian-team/debusine/-/merge_requests/3094
commit 7ec2b71213d84ad3ca1c4aee6bc5be6999e5c022
Author: Carles Pina i Estany <carles@pina.cat>
Date: Thu May 28 13:53:06 2026 +0000
SuiteRootView and SuiteSigningKeysView: improve formatting (add title, breadcrumbs and structure) (fixes #1468)
commit bd117d16742672f2eedf2b91a8ded3d1f7411bc0
Merge: 0361425ca 8dc73b096
Author: Enrico Zini <enrico@debian.org>
Date: Thu May 28 11:12:31 2026 +0000
Allow WorkflowTemplates to grant extra groups (#634) (MR !3068)
Merge-Request: https://salsa.debian.org/freexian-team/debusine/-/merge_requests/3068
commit 0361425caec502581bd1a01bfefcb51e413df6e9
Merge: edf198d29 843fb114e
Author: Colin Watson <cjwatson@debian.org>
Date: Thu May 28 10:42:55 2026 +0000
Sbuild task: harden against shell injection (MR !3093)
The code is technically fine. The way extra_repository_keys is presently
constructed ensures that contained paths never need quoting. However, this
property is not ensured on the generator side. Rather than document it there,
stop relying on it.
Merge-Request: https://salsa.debian.org/freexian-team/debusine/-/merge_requests/3093
commit 8dc73b0961f43a659078f710cf193a4ee3fbaf37
Author: Enrico Zini <enrico@enricozini.org>
Date: Sun May 24 10:43:55 2026 +0200
Announce the change
commit f8386a8b044d9e07a87e0cacba5600dc60bcf685
Author: Enrico Zini <enrico@enricozini.org>
Date: Sun May 24 10:40:46 2026 +0200
Initialize PermissionContext.extra_groups from workflow templates
commit 9023ca57d2fb8c0e9b6da3da27e95306f74d1b85
Author: Enrico Zini <enrico@enricozini.org>
Date: Sun May 24 09:45:23 2026 +0200
Added WorkflowTemplate.extra_groups
commit edf198d29f1301f8be74f271ba51e534715b96e7
Merge: eca2ad5e9 2a868be2e
Author: Stefano Rivera <stefanor@debian.org>
Date: Wed May 27 21:15:42 2026 +0000
CI: Show diffs if code-linting fails (MR !3092)
Not everyone has pre-commit. Show them what they're doing wrong.
Merge-Request: https://salsa.debian.org/freexian-team/debusine/-/merge_requests/3092
commit 2a868be2eac5c4ce9d598deeeeaca086d9558349
Author: Stefano Rivera <stefano@freexian.com>
Date: Wed May 27 16:36:53 2026 -0400
CI: Show diffs if code-linting fails
commit 843fb114e4fbb04ea036d9b46d724255cf144657
Author: Helmut Grohne <helmut@freexian.com>
Date: Wed May 27 16:55:32 2026 +0200
Sbuild task: harden against shell injection
The code is technically fine. The way extra_repository_keys is presently
constructed ensures that contained paths never need quoting. However, this
property is not ensured on the generator side. Rather than document it there,
stop relying on it.
commit eca2ad5e9a608ea72ccb6b48383e4920d11dbf4d
Merge: f3c5d1d58 04bee0195
Author: Colin Watson <cjwatson@debian.org>
Date: Wed May 27 15:24:26 2026 +0000
debian:suite: Make adding artifacts idempotent (MR !3091)
This will make some package copying scenarios easier: see
https://salsa.debian.org/freexian-team/debusine/-/work_items/1113#note_711892.
Merge-Request: https://salsa.debian.org/freexian-team/debusine/-/merge_requests/3091
commit 04bee0195fee41de5aea278d5d4822fd602c48b1
Author: Colin Watson <cjwatson@debian.org>
Date: Wed May 27 13:37:55 2026 +0100
debian:suite: Make adding artifacts idempotent
This will make some package copying scenarios easier: see
https://salsa.debian.org/freexian-team/debusine/-/work_items/1113#note_711892.
commit f3c5d1d588edd503a873533e53a8273781f7caa1
Merge: 8c4610ca8 e3ea26e61
Author: Carles Pina i Estany <carles@pina.cat>
Date: Wed May 27 11:38:46 2026 +0000
collection-detail.html: add "suite-targeting" (fixes #1475) (MR !3073)
fixes #1475
Closes #1475
Merge-Request: https://salsa.debian.org/freexian-team/debusine/-/merge_requests/3073
commit 8c4610ca899c7612c1ecbad60f8a2a47e2841230
Merge: 90c664e23 bb6114c98
Author: Colin Watson <cjwatson@debian.org>
Date: Wed May 27 11:01:27 2026 +0000
Fix misnamed news fragment (MR !3089)
Merge-Request: https://salsa.debian.org/freexian-team/debusine/-/merge_requests/3089
commit 90c664e2328ef4506f7cce72172de81400375cae
Merge: 7d0663b25 f74ae9ac0
Author: Colin Watson <cjwatson@debian.org>
Date: Wed May 27 11:01:11 2026 +0000
Use @override in all remaining relevant places, and enforce it (MR !3090)
Fixes: #1442
Closes #1442
Merge-Request: https://salsa.debian.org/freexian-team/debusine/-/merge_requests/3090
commit 7d0663b258bad3adf8fe0947bca04354e0ac3ad0
Merge: 9692eaf5b 22ec0c063
Author: Colin Watson <cjwatson@debian.org>
Date: Wed May 27 10:06:54 2026 +0000
FilteredCollector.collect: Ignore trivial test coverage problem (MR !3078)
I've started seeing this output from `make coverage`,
non-deterministically:
```
debusine/server/views/open_metrics.py 88 0 12 1 99.00% 56->55
```
This doesn't seem worth worrying about.
Merge-Request: https://salsa.debian.org/freexian-team/debusine/-/merge_requests/3078
commit f74ae9ac0ceb14d3756040060d31e384e68d90b5
Author: Colin Watson <cjwatson@debian.org>
Date: Wed May 27 10:31:10 2026 +0100
mypy: Enforce use of @override
Fixes: #1442
commit 0c48ab6b64255862672319778e37b9340388221d
Author: Colin Watson <cjwatson@debian.org>
Date: Tue May 26 15:33:57 2026 +0100
Use @override in all remaining relevant places
Part of #1442.
commit bb6114c9841bfe500fd4ca2b93693a784772f151
Author: Colin Watson <cjwatson@debian.org>
Date: Wed May 27 10:25:15 2026 +0100
Fix misnamed news fragment
commit 22ec0c0638538a6d81b1880011d3a8e65ed7a1bc
Author: Colin Watson <cjwatson@debian.org>
Date: Tue May 26 13:25:12 2026 +0100
FilteredCollector.collect: Ignore trivial test coverage problem
I've started seeing this output from `make coverage`,
non-deterministically:
```
debusine/server/views/open_metrics.py 88 0 12 1 99.00% 56->55
```
This doesn't seem worth worrying about.
commit 9692eaf5b1ceab582d04f717d2e185cf929b25c2
Merge: 575bcc829 5d1df7e2f
Author: Colin Watson <cjwatson@debian.org>
Date: Wed May 27 09:05:40 2026 +0000
debusine.server: Use @override where relevant (MR !3086)
Part of #1442.
Merge-Request: https://salsa.debian.org/freexian-team/debusine/-/merge_requests/3086
commit 575bcc8294302cfa76343ae7d6b5058081c9891b
Merge: 99907b482 ddacd033e
Author: Carles Pina i Estany <carles@pina.cat>
Date: Wed May 27 06:32:11 2026 +0000
Fix UI: highlight autopkgtest setup failures (Fixes #1233) (MR !2763)
Added an `_RE_ERROR` catch to `_parse_preparation` to detect setup failures, which fixes the issue where testbed setup failures were not visually highlighted in the UI.
Also it uses the summary of autopkgtest to find out failed tests.
Fixes #1233
Closes #1233
Merge-Request: https://salsa.debian.org/freexian-team/debusine/-/merge_requests/2763
commit ddacd033e725b50c5b7a3b4dcea610e12dc3c9af
Author: Ayush Gautam <ayushgautam019@gmail.com>
Date: Wed May 27 06:32:11 2026 +0000
Fix UI: highlight setup failures (Fixes #1233)
commit 99907b482b6a4fa0482866433c64f522f12f94b6
Merge: 3e0d6e1f0 9fcd97742
Author: Carles Pina i Estany <carles@pina.cat>
Date: Wed May 27 06:26:50 2026 +0000
debusine client CLI output for "artifact create": write FQDN in "New artifact created" (MR !3072)
Fix debusine/test/test_utils.py: mock was creting FQDN URL, but the server was
returning the path only
The output now contains:
"""
message: 'New artifact created: http://127.0.0.1:8000/debusine/System/artifact/1763/'
"""
Before:
"""
message: 'New artifact created: /debusine/System/artifact/1763/'
"""
Merge-Request: https://salsa.debian.org/freexian-team/debusine/-/merge_requests/3072
commit e3ea26e61ef7b5ea21771ae70dfa35a9d6163440
Author: Carles Pina i Estany <carles@pina.cat>
Date: Mon May 25 08:04:41 2026 +0100
collection-detail.html: add "suite-targeting"
fixes #1475
commit 5d1df7e2fc20b5bb686388b4b7c6ea74ca67b8df
Author: Colin Watson <cjwatson@debian.org>
Date: Tue May 26 18:12:15 2026 +0100
debusine.server: Use @override where relevant
Part of #1442.
commit 3e0d6e1f0d85796fc3060a076f5ff8243eb5c605
Merge: 2501b1f5e d392d9086
Author: Colin Watson <cjwatson@debian.org>
Date: Tue May 26 17:11:21 2026 +0000
debusine.server.tasks: Use @override where relevant (MR !3085)
Part of #1442.
Merge-Request: https://salsa.debian.org/freexian-team/debusine/-/merge_requests/3085
commit 2501b1f5e35367d0492353070f3060c4a0af6e9c
Merge: f06c13b4f 8afa7b0bf
Author: Colin Watson <cjwatson@debian.org>
Date: Tue May 26 17:11:09 2026 +0000
debusine.worker: Use @override where relevant (MR !3084)
Part of #1442.
Merge-Request: https://salsa.debian.org/freexian-team/debusine/-/merge_requests/3084
commit f06c13b4f2162792a97fa35d14a614fdcd6551bc
Merge: e7507afbd e54642546
Author: Colin Watson <cjwatson@debian.org>
Date: Tue May 26 17:10:52 2026 +0000
debusine.server.views: Use @override where relevant (MR !3083)
Part of #1442.
Merge-Request: https://salsa.debian.org/freexian-team/debusine/-/merge_requests/3083
commit e7507afbd8e0d689dd73ac59e4b55c7be0c97f40
Merge: 516d5f081 c433bc3b5
Author: Colin Watson <cjwatson@debian.org>
Date: Tue May 26 17:10:41 2026 +0000
debusine.test: Use @override where relevant (MR !3082)
Part of #1442.
Merge-Request: https://salsa.debian.org/freexian-team/debusine/-/merge_requests/3082
commit 516d5f0814b378ec3a83cd557ed3d8117790c244
Merge: 40c9023f0 ee80c0460
Author: Colin Watson <cjwatson@debian.org>
Date: Tue May 26 17:10:28 2026 +0000
debusine.signing: Use @override where relevant (MR !3081)
Part of #1442.
Merge-Request: https://salsa.debian.org/freexian-team/debusine/-/merge_requests/3081
commit 40c9023f07c9085d63a8914c98bf4114484293a0
Merge: a0917e46b a4b9f39f9
Author: Colin Watson <cjwatson@debian.org>
Date: Tue May 26 17:10:16 2026 +0000
debusine.db: Use @override where relevant (MR !3080)
Part of #1442.
Merge-Request: https://salsa.debian.org/freexian-team/debusine/-/merge_requests/3080
commit a0917e46b158130900dc0d0c812f6673adfb77d1
Merge: f11f32935 57df71d62
Author: Colin Watson <cjwatson@debian.org>
Date: Tue May 26 17:10:03 2026 +0000
debusine.server.workflows: Use @override where relevant (MR !3079)
Part of #1442.
Merge-Request: https://salsa.debian.org/freexian-team/debusine/-/merge_requests/3079
commit f11f3293598e7acc5002ea88eab045f6cc635eda
Merge: 7198726ae e197862d5
Author: Colin Watson <cjwatson@debian.org>
Date: Tue May 26 17:05:45 2026 +0000
Allow workspace owners to start workflows without a template (MR !3046)
Fixes: #1221
Closes #1221
Merge-Request: https://salsa.debian.org/freexian-team/debusine/-/merge_requests/3046
commit d392d90866c98057c8b2b69f25cfbd43813cf6a6
Author: Colin Watson <cjwatson@debian.org>
Date: Tue May 26 15:14:14 2026 +0100
debusine.server.tasks: Use @override where relevant
Part of #1442.
commit 8afa7b0bf578fd198b950713a2084bce9bff0c1d
Author: Colin Watson <cjwatson@debian.org>
Date: Tue May 26 15:07:00 2026 +0100
debusine.worker: Use @override where relevant
Part of #1442.
commit e54642546d073aad2026d492efd7d55955273ac8
Author: Colin Watson <cjwatson@debian.org>
Date: Tue May 26 14:57:23 2026 +0100
debusine.server.views: Use @override where relevant
Part of #1442.
commit c433bc3b59d39387c20f4ea270e3b44c86e06327
Author: Colin Watson <cjwatson@debian.org>
Date: Tue May 26 14:43:36 2026 +0100
debusine.test: Use @override where relevant
Part of #1442.
commit ee80c0460df50539c6375ac75845c7fc62d28e42
Author: Colin Watson <cjwatson@debian.org>
Date: Tue May 26 14:35:29 2026 +0100
debusine.signing: Use @override where relevant
Part of #1442.
commit a4b9f39f90b134cb7bc399cca991e5948bb0b2a5
Author: Colin Watson <cjwatson@debian.org>
Date: Tue May 26 14:28:46 2026 +0100
debusine.db: Use @override where relevant
Part of #1442.
commit 7198726ae8a66baa8d93688976eaace623e442c6
Merge: 02bba328b 6d4f98e7d
Author: Colin Watson <cjwatson@debian.org>
Date: Tue May 26 13:23:26 2026 +0000
When retrying a work request, retry dependent workflow callbacks (MR !3038)
As part of this, when retrying a workflow, leave orchestration to the
scheduler. This requires reviving aborted or failed workflows all the
way up to the root, which we should have been doing anyway since
otherwise later events in the workflow won't be processed properly.
Fixes: #1412
Closes #1412
Merge-Request: https://salsa.debian.org/freexian-team/debusine/-/merge_requests/3038
commit 57df71d62d4638ca4b09cdde32cc9e43cfd17c30
Author: Colin Watson <cjwatson@debian.org>
Date: Tue May 26 14:01:51 2026 +0100
debusine.server.workflows: Use @override where relevant
Part of #1442.
commit ba5c7e122b97ca628fdd9496d76ae2f4b19abd87
Author: Colin Watson <cjwatson@debian.org>
Date: Tue May 26 14:01:24 2026 +0100
Remove an overridden method identical to its base
commit 6d4f98e7d087640edba9fc50e67d0139f9d3e973
Author: Colin Watson <cjwatson@debian.org>
Date: Tue May 26 13:46:48 2026 +0100
Use more work request transition methods during retries
Adding a `force_status` parameter to `mark_pending` allows us to perform
more standard state transitions here.
commit e197862d556a18a7e2e837f631c565fbf6ebb7df
Author: Colin Watson <cjwatson@debian.org>
Date: Fri May 15 12:40:30 2026 +0100
Allow workspace owners to start workflows without a template
Fixes: #1221
commit 02bba328b22c2cb33c6cb6478f3e0b3d56aea5ea
Merge: b149f3021 74948a598
Author: Colin Watson <cjwatson@debian.org>
Date: Tue May 26 11:28:52 2026 +0000
Ignore DeprecationWarning from fakeredis (MR !3077)
This was fixed in fakeredis 2.30.1, but we can't do much about it when
running tests on trixie.
Merge-Request: https://salsa.debian.org/freexian-team/debusine/-/merge_requests/3077
commit 74948a598aa4b6ee2567eb4260ba9d3fd5e94b22
Author: Colin Watson <cjwatson@debian.org>
Date: Tue May 26 11:20:40 2026 +0100
Ignore DeprecationWarning from fakeredis
This was fixed in fakeredis 2.30.1, but we can't do much about it when
running tests on trixie.
commit 1664b317d8bbe834e602c2db8699ef5d3ddcf697
Author: Colin Watson <cjwatson@debian.org>
Date: Thu May 14 15:21:54 2026 +0100
When retrying a work request, retry dependent workflow callbacks
Fixes: #1412
commit 5adf57d4c8ed6919b8a962ef43b0d9de2692f68b
Author: Colin Watson <cjwatson@debian.org>
Date: Thu May 14 14:36:08 2026 +0100
When retrying a workflow, leave orchestration to the scheduler
This requires reviving aborted or failed workflows all the way up to the
root, which we should have been doing anyway since otherwise later
events in the workflow won't be processed properly.
commit 7caf8191069023fe42143e351642bb725a06f4b8
Author: Colin Watson <cjwatson@debian.org>
Date: Thu May 14 12:06:06 2026 +0100
Add workflow_callbacks and synchronization_points filter methods
commit b149f302146b4ece2879f2a8009e0ad44f3619d7
Merge: b02b01109 a01033fbf
Author: Stefano Rivera <stefanor@debian.org>
Date: Mon May 25 22:21:48 2026 +0000
Implement a redis-backed prometheus sample store (MR !3013)
This is a vendored version of the change forwarded here:
https://github.com/prometheus/client_python/pull/1170
It's adjusted to use Django settings instead of the environment (for simplicity).
Fixes: #1406
Closes #1406
Merge-Request: https://salsa.debian.org/freexian-team/debusine/-/merge_requests/3013
commit a01033fbf1ac0049e09f3365c2097350021d855f
Author: Stefano Rivera <stefano@freexian.com>
Date: Mon Apr 27 11:04:42 2026 -0400
Replace Prometheus multiprocess mode with our Redis implementation
commit 7bb539d95967ab9130a26d81eec8a110f2703da4
Author: Stefano Rivera <stefano@freexian.com>
Date: Sun Apr 26 23:19:09 2026 -0400
Implement a redis-backed prometheus sample store
This is a vendored version of the change forwarded here:
https://github.com/prometheus/client_python/pull/1170
It's adjusted to use django settings instead of the environment (for
simplicity).
commit b02b01109c8f05365b36d34030f49823db029d81
Merge: 79c21bb87 f07a8f229
Author: Stefano Rivera <stefanor@debian.org>
Date: Mon May 25 20:31:35 2026 +0000
CLI Client for Lookups (MR !3041)
Includes a lot of refactoring to make the results useable:
1. fix some obvious client model oversights
2. refactor the response classes (server and client side) to skip setting implied attribute values
3. rename result type values in the API to be human-readable
4. include more information in lookup API responses, from the CollectionItem table
5. include links in lookup API responses
Closes #691
Merge-Request: https://salsa.debian.org/freexian-team/debusine/-/merge_requests/3041
commit 79c21bb8797287cc1e0286ec75b478c6782c400c
Merge: 33ad842c9 1f4fc6175
Author: Colin Watson <cjwatson@debian.org>
Date: Mon May 25 17:25:10 2026 +0000
Make all regression-analysis callbacks incremental (MR !3007)
This substantially reduces the number of work requests we need to create
for large regression-tracking workflows: we only need one per
sub-workflow, not one per sub-workflow per architecture.
Part of #1412.
Merge-Request: https://salsa.debian.org/freexian-team/debusine/-/merge_requests/3007
commit f07a8f2299db86d1f8c1f757eddd22112410680e
Author: Stefano Rivera <stefano@freexian.com>
Date: Sat May 9 19:15:09 2026 -0400
CLI client for lookups
Fixes: #691
commit f17fe55f285991528891ffdb9df4bcac069b3b21
Author: Stefano Rivera <stefano@freexian.com>
Date: Wed May 13 18:52:18 2026 -0400
Add links to lookup results.
commit 6539652cb8c1f8fef23b3e8b1a134f6ecd8c5d0f
Author: Stefano Rivera <stefano@freexian.com>
Date: Mon May 11 18:10:05 2026 -0400
Enrich lookup API responses with collection item data
CollectionItems aren't accessible though the API, so include useful
collection item contents in the response, rather than a collection item
ID. Currently:
* `name`
* `data`
Additionally, expose the `parent_collection_lookup` from the lookup
result. Multiple lookup could return results from multiple collections.
commit c57c66e3691b0dfc89c87029656ff14ef9c7eb6e
Author: Stefano Rivera <stefano@freexian.com>
Date: Mon May 11 14:23:30 2026 -0400
Use a readable `result_type` in the Lookup APIs
We use a single character in the database, but we don't need to do that
in the API.
commit d0b03298413e34bf569946ed1e20d602c63db4b8
Author: Stefano Rivera <stefano@freexian.com>
Date: Sat May 9 18:55:31 2026 -0400
Don't use server-side models for lookups in the client
commit 2314cfe1e726ecc9d47d654fc1b328c1eb48a45c
Author: Stefano Rivera <stefano@freexian.com>
Date: Sun May 10 17:19:12 2026 -0400
Use a default result_type in LookupResult* objects
commit 27bd12d6b6cfda56aac710b660d72f36bacf39be
Author: Stefano Rivera <stefano@freexian.com>
Date: Sat May 9 17:52:37 2026 -0400
Treat LookupSingleResponse subclasses equally when evaluating equality.
commit 986946423cf2695eda375e090e53f0204a6cbb52
Author: Stefano Rivera <stefano@freexian.com>
Date: Sat May 9 17:43:00 2026 -0400
Set the only valid value as default in LookupSingleResponse subclasses
commit d416720af5589a2ef5916dcde41b1128857ee2d8
Author: Stefano Rivera <stefano@freexian.com>
Date: Sat May 9 17:41:26 2026 -0400
Set a sensible expect_type
commit e681d30570b2bcfb553db043ffdbd915f02cc828
Author: Stefano Rivera <stefano@freexian.com>
Date: Sat May 9 17:39:42 2026 -0400
A work_request does not have to be specified to LookupSingleRequest
commit 92567d2dd34780f13e5bc0caebf0d821834f63c1
Author: Stefano Rivera <stefano@freexian.com>
Date: Sat May 9 12:19:15 2026 -0400
Specify a workspace to process lookup API requests in
This must have been accidentally left out when they were implemented, as
the server will fall back to the default workspace.
commit 1f4fc6175a9099503819bcbceef8d609ee5f47bb
Author: Colin Watson <cjwatson@debian.org>
Date: Wed Apr 29 18:41:40 2026 +0100
Make all regression-analysis callbacks incremental
This substantially reduces the number of work requests we need to create
for large regression-tracking workflows: we only need one per
sub-workflow, not one per sub-workflow per architecture.
Part of #1412.
commit 06106043b51a5caeaf10881e7ba61c315561e421
Author: Colin Watson <cjwatson@debian.org>
Date: Wed Apr 29 17:09:14 2026 +0100
Simplify assert_regression_analysis interface
commit d44a945d14e0d15caf86088e9040dc1c29949d82
Author: Colin Watson <cjwatson@debian.org>
Date: Wed Apr 29 16:38:04 2026 +0100
Fix a flaky test
commit 9fcd97742baa0951616944866a192f6e09f37c39
Author: Carles Pina i Estany <carles@pina.cat>
Date: Thu May 21 17:50:13 2026 +0100
debusine client CLI output for "artifact create": write FQDN in "New artifact created"
Fix debusine/test/test_utils.py: mock was creting FQDN URL, but the server was
returning the path only
The output now contains:
"""
message: 'New artifact created: http://127.0.0.1:8000/debusine/System/artifact/1763/'
"""
Before:
"""
message: 'New artifact created: /debusine/System/artifact/1763/'
"""
Automatic checks made by the Debian l10n team found some issues with the translations contained in this package. You should check the l10n status report for more information.
Issues can be things such as missing translations, problematic translated strings, outdated PO files, unknown languages, etc.