Git log: commit ac37c82a486c5b47c7f2e950296b62c09c3ca96a
Merge: d09dca406 7c718f109
Author: Colin Watson <cjwatson@debian.org>
Date: Mon Jun 16 14:17:50 2025 +0000
Merge branch 'workflow-piuparts-add-source-artifact' into 'devel'
piuparts workflow: Add source_artifact
See merge request freexian-team/debusine!1997
commit 7c718f109a8433fca4e1bfdbdca534eb830561c7
Author: Colin Watson <cjwatson@debian.org>
Date: Mon Jun 16 13:44:00 2025 +0100
piuparts workflow: Add source_artifact
The underlying task doesn't need this, but for regression tracking
(#907) it turns out to be awkward to figure out the source package
version for QA results without having the source artifact available.
(The alternative would be some more complicated changes around the
`sbuild` workflow to ensure that the source package version is always
available in binary promises.)
commit d09dca406c4daa086a80e400e127c26eef99eba2
Merge: a97271754 ce58730c0
Author: Colin Watson <cjwatson@debian.org>
Date: Mon Jun 16 10:40:53 2025 +0000
Merge branch 'suite-lookup-binary-all' into 'devel'
Extend binary lookups to include arch-all packages
See merge request freexian-team/debusine!1994
commit a972717545fdaa64dece747d54566b8039f26bef
Merge: 15531aca7 35643e3c0
Author: Colin Watson <cjwatson@debian.org>
Date: Mon Jun 16 09:44:50 2025 +0000
Merge branch 'remove-unnecessary-disable-permission-checks' into 'devel'
Remove remaining unnecessary disable_permission_checks
See merge request freexian-team/debusine!1993
commit ce58730c0286ece867c1695206ad88eb9ff836bd
Author: Colin Watson <cjwatson@debian.org>
Date: Sun Jun 15 15:52:28 2025 +0100
Extend binary lookups to include arch-all packages
While working on the `lintian` workflow changes for #907, I realized
that the `binary` and `binary-version` lookups on archives and suites
are less useful than they might be. For example, it's reasonable to use
a `binary` lookup to find the latest version of a given package in a
suite on a particular architecture (e.g. `binary:lintian_amd64`), but if
the package happens to be `Architecture: all` (which should be an
implementation detail) then that lookup will fail and you'd have to
repeat it with `binary:lintian_all`.
I think it's more useful to include `Architecture: all` packages in the
results of these lookups.
commit 35643e3c09d120a443f2b8761c481aa46340731b
Author: Colin Watson <cjwatson@debian.org>
Date: Sun Jun 15 10:10:08 2025 +0100
Remove remaining unnecessary disable_permission_checks
Many of these were added before commit
c6b19e09904a5485eca68a64dce343d2f3a3faac caused playground methods to
override permission checks themselves, and they no longer seem to be
needed.
commit 15531aca7ff4803cb971452c5063390720085669
Merge: 2b6e28687 d29ad25d9
Author: Colin Watson <cjwatson@debian.org>
Date: Sun Jun 15 09:03:11 2025 +0000
Merge branch 'server-views-remove-unnecessary-disable-permission-checks' into 'devel'
debusine.server.views: Remove unnecessary disable_permission_checks
See merge request freexian-team/debusine!1992
commit 2b6e2868756bbd30bb0e1a6a7e1912f72656e9f4
Merge: de613e876 a547e8fd6
Author: Enrico Zini <enrico@debian.org>
Date: Fri Jun 13 17:07:17 2025 +0000
Merge branch 'task-config' into 'devel'
Bulk edit API for task configuration collections (#789)
See merge request freexian-team/debusine!1963
commit a547e8fd646382d830000d4e7d22a16bbea14e99
Author: Enrico Zini <enrico@enricozini.org>
Date: Wed Jun 4 12:23:36 2025 +0200
Added views to pull and push the contents of an entire task configuration collection
commit d29ad25d97f183ce4b027a09b9710b81ffa8cb06
Author: Colin Watson <cjwatson@debian.org>
Date: Fri Jun 13 15:28:06 2025 +0100
debusine.server.views: Remove unnecessary disable_permission_checks
Many of these were added before commit
c6b19e09904a5485eca68a64dce343d2f3a3faac caused playground methods to
override permission checks themselves, and they no longer seem to be
needed.
commit de613e8763069fb18cce480465eb3e314f7abdb6
Merge: 3e6adb18c 85f64c97c
Author: Colin Watson <cjwatson@debian.org>
Date: Fri Jun 13 13:48:01 2025 +0000
Merge branch 'autopkgtest-update-reference-qa-results' into 'devel'
autopkgtest: Support updating reference QA results
See merge request freexian-team/debusine!1984
commit 3e6adb18cc8f6bbfd54445813802041d2ffa2c16
Merge: 379ee256b 4b2f287db
Author: Colin Watson <cjwatson@debian.org>
Date: Fri Jun 13 12:56:53 2025 +0000
Merge branch 'split-source-binary-signing' into 'devel'
Add split source/binary upload signing
Closes #944
See merge request freexian-team/debusine!1982
commit 379ee256b70c57523272d38313f854ad5e03844c
Merge: e31272d24 f89ac37fe
Author: Colin Watson <cjwatson@debian.org>
Date: Fri Jun 13 12:29:29 2025 +0000
Merge branch 'web-remove-unnecessary-disable-permission-checks' into 'devel'
debusine.web: Remove unnecessary disable_permission_checks
See merge request freexian-team/debusine!1991
commit 85f64c97c2e13b577fcdb55953849a5d412c1621
Author: Colin Watson <cjwatson@debian.org>
Date: Thu Jun 12 17:51:20 2025 +0100
autopkgtest: Support updating reference QA results
Part of #907.
commit 4b2f287db03e90415ae02baf990b00325c1ac30a
Author: Colin Watson <cjwatson@debian.org>
Date: Thu Jun 12 13:30:31 2025 +0100
Add split source/binary upload signing
The following combination of options causes Debusine to wait for the
developer to sign the source package, and then sign the binaries itself:
merge_uploads: False
binary_key: FINGERPRINT
require_signature: True
Fixes: #944
commit f89ac37fe9c4fbb31ea349ca5eceddf988a9850f
Author: Colin Watson <cjwatson@debian.org>
Date: Fri Jun 13 12:18:10 2025 +0100
debusine.web: Remove unnecessary disable_permission_checks
Many of these were added before commit
c6b19e09904a5485eca68a64dce343d2f3a3faac caused playground methods to
override permission checks themselves, and they no longer seem to be
needed.
commit e31272d245267acbac5f5ada4804e139f3e6099b
Merge: de2138dbe 5b04c2326
Author: Colin Watson <cjwatson@debian.org>
Date: Fri Jun 13 11:11:04 2025 +0000
Merge branch 'workflows-remove-unnecessary-disable-permission-checks' into 'devel'
debusine.server.workflows: Remove unnecessary disable_permission_checks
See merge request freexian-team/debusine!1990
commit de2138dbef6fc634f8bf3cf0a7ab1cc7de675711
Merge: 4f4b25c7b cb586b5e3
Author: Colin Watson <cjwatson@debian.org>
Date: Fri Jun 13 11:10:38 2025 +0000
Merge branch 'collections-remove-unnecessary-disable-permission-checks' into 'devel'
debusine.server.collections: Remove unnecessary disable_permission_checks
See merge request freexian-team/debusine!1989
commit 5b04c232629a6ead6eef60bd4607f362ae6e2fbb
Author: Colin Watson <cjwatson@debian.org>
Date: Fri Jun 13 10:49:41 2025 +0100
debusine.server.workflows: Remove unnecessary disable_permission_checks
Many of these were added before commit
c6b19e09904a5485eca68a64dce343d2f3a3faac caused playground methods to
override permission checks themselves, and they no longer seem to be
needed.
commit cb586b5e3da320e7bff6abba862dd7e4671c5d16
Author: Colin Watson <cjwatson@debian.org>
Date: Fri Jun 13 10:39:29 2025 +0100
debusine.server.collections: Remove unnecessary disable_permission_checks
Many of these were added before commit
c6b19e09904a5485eca68a64dce343d2f3a3faac caused playground methods to
override permission checks themselves, and they no longer seem to be
needed.
commit 4f4b25c7b27f51dc277e8cde3efc519d08291d6e
Merge: 0026225ce 05793a248
Author: Colin Watson <cjwatson@debian.org>
Date: Fri Jun 13 09:31:58 2025 +0000
Merge branch 'db-remove-unnecessary-disable-permission-checks' into 'devel'
debusine.db: Remove unnecessary disable_permission_checks
See merge request freexian-team/debusine!1987
commit 0026225cec80726cf1676cd84762a79caace1fe6
Merge: d6e175732 8f93ed8f8
Author: Colin Watson <cjwatson@debian.org>
Date: Fri Jun 13 09:30:57 2025 +0000
Merge branch 'delete-incomplete-artifacts-relation-target' into 'devel'
vacuum_storage: Delete incomplete artifacts that are relation targets
Closes #930
See merge request freexian-team/debusine!1988
commit d6e17573232e12be5f752fdb0ccca49378f7860a
Merge: da6b359fc 0b720b914
Author: Colin Watson <cjwatson@debian.org>
Date: Fri Jun 13 09:30:34 2025 +0000
Merge branch 'improve-server-task-permission-tests' into 'devel'
Improve permission checks in some server task tests
See merge request freexian-team/debusine!1986
commit 8f93ed8f852280789b650818fdd360ac67e3137c
Author: Colin Watson <cjwatson@debian.org>
Date: Fri Jun 13 01:01:50 2025 +0100
vacuum_storage: Delete incomplete artifacts that are relation targets
These can no longer be created following commit
2d7736536c5a67b44bf335a93deb9c708ba16937, and this change results in no
additional incomplete artifacts to be deleted on debusine.debian.net.
Fixes: #930
commit a492f8f80f0da4445168d7bbccdea39614295d83
Author: Colin Watson <cjwatson@debian.org>
Date: Fri Jun 13 01:01:27 2025 +0100
Add an order_by to improve testability
commit 05793a248bee631a78637b5a503dae11a0859128
Author: Colin Watson <cjwatson@debian.org>
Date: Fri Jun 13 00:35:37 2025 +0100
debusine.db: Remove unnecessary disable_permission_checks
Many of these were added before commit
c6b19e09904a5485eca68a64dce343d2f3a3faac caused playground methods to
override permission checks themselves, and they no longer seem to be
needed.
commit 0b720b91436b701f78b643e3e3e048db747cad07
Author: Colin Watson <cjwatson@debian.org>
Date: Fri Jun 13 00:25:58 2025 +0100
Improve permission checks in some server task tests
Disabling permission checks in tests, other than for setting up test
data, is best avoided because it can mask real problems. In these
cases, it's better to assign the contributor role on the relevant
workspace(s) to the work request, and then set that as the current
context when running the main part of the test. This does a better job
of imitating what `run_server_task` does.
commit 0c8c88c3fb37ed6cf4450b1c9b8d2d86599df118
Author: Enrico Zini <enrico@enricozini.org>
Date: Wed Jun 4 16:45:35 2025 +0200
Added Workspace.can_edit_task_configuration permission
commit da6b359fcd67fbbdf977598e7338901d1b53ff1f
Merge: bea41b885 a1a316778
Author: Enrico Zini <enrico@debian.org>
Date: Thu Jun 12 15:26:42 2025 +0000
Merge branch 'coverage-unittest' into 'devel'
bin/coverage: work around unittest runner not being able to run tests from a single file
See merge request freexian-team/debusine!1981
commit a1a316778583df1c6470497868967881c72c2dd1
Author: Enrico Zini <enrico@enricozini.org>
Date: Thu Jun 12 14:22:30 2025 +0200
bin/coverage: work around unittest runner not being able to run tests from a single file
commit bea41b88599107940603a6a31c15d05bd8c22357
Merge: d8bb96032 ea4db24b5
Author: Enrico Zini <enrico@debian.org>
Date: Thu Jun 12 10:44:45 2025 +0000
Merge branch 'utcnow' into 'devel'
Removed all remaining uses of utcnow
See merge request freexian-team/debusine!1980
commit d8bb960320ca7ca20999c1fe6b023e950038102f
Merge: 1ef12a807 53c494e85
Author: Colin Watson <cjwatson@debian.org>
Date: Thu Jun 12 10:09:09 2025 +0000
Merge branch 'simplify-qa-results-manager' into 'devel'
Simplify interface for adding debian:qa-results items
See merge request freexian-team/debusine!1979
commit ea4db24b5b2da67a172d33f4d3f3a1fe782610a5
Author: Enrico Zini <enrico@enricozini.org>
Date: Thu Jun 12 10:24:56 2025 +0200
Removed all remaining uses of utcnow
commit 1ef12a80770101f9cba3e9de5f70e140a4ecc4de
Merge: ddb9cd4c8 703511a94
Author: Colin Watson <cjwatson@debian.org>
Date: Wed Jun 11 16:14:15 2025 +0000
Merge branch 'archive-snapshot-views' into 'devel'
Add archive snapshot views
Closes #757
See merge request freexian-team/debusine!1974
commit 53c494e85891a43650fc84f53ea599f953c53407
Author: Colin Watson <cjwatson@debian.org>
Date: Wed Jun 11 15:22:49 2025 +0100
Simplify interface for adding debian:qa-results items
It doesn't make sense to require callers to explicitly specify
`task_name` and `result` when they can just as well be retrieved from
the work request.
Noticed while working on #907.
commit ddb9cd4c8b7fdc055c086f215421d6cfbb07b2fe
Merge: 6f639e116 c236c9bff
Author: Colin Watson <cjwatson@debian.org>
Date: Wed Jun 11 14:43:12 2025 +0000
Merge branch 'design-split-source-binary-signing' into 'devel'
Add design for split source+binary upload signing
See merge request freexian-team/debusine!1975
commit 6f639e116d81095b1cf2707fcb2c112f60f6e2cd
Merge: 7e0c2147c d4cf73294
Author: Enrico Zini <enrico@debian.org>
Date: Wed Jun 11 14:39:22 2025 +0000
Merge branch 'fix-deprecation-warning' into 'devel'
Fix a noisy deprecation warning
See merge request freexian-team/debusine!1978
commit 7e0c2147cac5c443c03e230335b581b0493d04ff
Merge: 225277d50 caac5a00b
Author: Enrico Zini <enrico@debian.org>
Date: Wed Jun 11 14:38:59 2025 +0000
Merge branch 'document-template-reloading' into 'devel'
Document how to reload templates (#947)
See merge request freexian-team/debusine!1976
commit 703511a94bdc672c87ba4243d124e68d0c63d18f
Author: Colin Watson <cjwatson@debian.org>
Date: Tue Jun 10 15:36:06 2025 +0100
Move repository-access-views blueprint to main documentation
commit fc9c86396fb132cd4be5b4489bc138c9f98cb71e
Author: Colin Watson <cjwatson@debian.org>
Date: Tue Jun 10 15:35:52 2025 +0100
Add archive snapshot views
This is a relatively small extension to interpret snapshot-timestamp URL
segments in the same format as used by snapshot.debian.org and
snapshot.ubuntu.com.
Fixes: #757
commit 225277d501247dff433140ab6a36fc8d31d64201
Merge: d63325703 6e370ff05
Author: Colin Watson <cjwatson@debian.org>
Date: Wed Jun 11 14:27:04 2025 +0000
Merge branch 'rename-qa-suite' into 'devel'
Rename various workflow data fields to qa_suite
See merge request freexian-team/debusine!1977
commit d4cf732946b4c6789fc51681b5e08dbee32d9cae
Author: Enrico Zini <enrico@enricozini.org>
Date: Tue Jun 10 12:20:28 2025 +0200
Fix a noisy deprecation warning
commit 6e370ff055e95d9896dd3dd329197becd60f88c1
Author: Colin Watson <cjwatson@debian.org>
Date: Wed Jun 11 10:55:30 2025 +0100
Rename various workflow data fields to qa_suite
This prepares for using `qa_suite` in more places for regression
tracking.
Part of #907.
commit caac5a00b5d83e77abf2e5a264f2eb45b8a32695
Author: Enrico Zini <enrico@enricozini.org>
Date: Wed Jun 11 11:49:11 2025 +0200
Document how to reload templates
commit 1f4c3d67ac85e27ac48e7a41a1ec1773712ed7b6
Author: Colin Watson <cjwatson@debian.org>
Date: Wed Jun 11 10:37:26 2025 +0100
Check task_type in make_work_request_task_data_field_renamer
Not doing this seems like playing with fire, as there's considerable
overlap between e.g. worker and workflow task names.
commit c236c9bff7700a12d2f30811daa9e2884539f68d
Author: Colin Watson <cjwatson@debian.org>
Date: Tue Jun 10 15:55:22 2025 +0100
Add design for split source+binary upload signing
Part of #944.
commit d633257039b5d0d007d68c607572e020440738e7
Merge: b51895257 1384d3151
Author: Colin Watson <cjwatson@debian.org>
Date: Mon Jun 9 19:35:56 2025 +0000
Merge branch 'archive-access-views' into 'devel'
Add archive access views
See merge request freexian-team/debusine!1971
commit 1384d3151292c09b4bc0cd5e8c89fee2becb4d72
Author: Colin Watson <cjwatson@debian.org>
Date: Fri Jun 6 15:53:51 2025 +0100
Add archive access views
This adds a separate virtual host that serves the contents of a
`debian:archive` collection in an APT-compatible format.
Part of #757.
commit b5189525798b22a0830f855a1038cb6b937edc60
Merge: b25156404 0995a8287
Author: Colin Watson <cjwatson@debian.org>
Date: Mon Jun 9 17:54:03 2025 +0000
Merge branch 'collection-qa-results' into 'devel'
Implement debian:qa-results collection category
Closes #905
See merge request freexian-team/debusine!1939
commit b251564047c48aec1db09e53bdcbe76441c5169a
Merge: fc4b1c319 300b9ddd9
Author: Enrico Zini <enrico@debian.org>
Date: Mon Jun 9 17:42:13 2025 +0000
Merge branch 'preview-tables' into 'devel'
Introduce preview mode for tables, which disables filtering and ordering and links to a full view (fixes: #879)
Closes #879
See merge request freexian-team/debusine!1968
commit 0995a82878535ff37a0f1cee70d86ead6d16c8ea
Author: Colin Watson <cjwatson@debian.org>
Date: Fri May 23 16:18:47 2025 +0100
Implement debian:qa-results collection category
Fixes: #905
commit e2cc88a6c57d201d6a8e292dce6cfc5a2e7cde0a
Author: Colin Watson <cjwatson@debian.org>
Date: Fri May 23 16:17:57 2025 +0100
Change debian:qa-results item name separator to "_"
Package versions may contain ":", so it isn't a good idea to use that as
the separator.
commit 300b9ddd94f3439018ff407d3b34cb2987473480
Author: Enrico Zini <enrico@enricozini.org>
Date: Fri Jun 6 13:19:36 2025 +0200
Updated expected query count in tests
commit b9cbef13ef45d7461be0702eeaea234bd32ecb84
Author: Enrico Zini <enrico@enricozini.org>
Date: Thu Jun 5 18:55:00 2025 +0200
Introduce preview mode for tables, which disables filtering and ordering and links to a full view
commit fc4b1c31943e6e2196f38dd47347a03a370035ff
Merge: 2ce35fd42 0e7dee2a4
Author: Colin Watson <cjwatson@debian.org>
Date: Mon Jun 9 12:17:30 2025 +0000
Merge branch 'enum-layering' into 'devel'
Move some enums to debusine.artifacts.models
See merge request freexian-team/debusine!1973
commit 2ce35fd42aa83432d75e6c8096fd654125a4b935
Merge: 8583f838e de6ca9103
Author: Enrico Zini <enrico@debian.org>
Date: Mon Jun 9 11:53:01 2025 +0000
Merge branch 'restrict-to-contributors' into 'devel'
Require CONTRIBUTOR role for modifications in public workspaces
See merge request freexian-team/debusine!1856
commit 8583f838ed811b891229bf12b02ca5b048bcc9bb
Merge: f58c3b32f 7bf8e6ed2
Author: Enrico Zini <enrico@debian.org>
Date: Mon Jun 9 11:52:44 2025 +0000
Merge branch 'withscope-preserve-user' into 'devel'
Preserve user in context inside withscope tags (fixes: #942)
Closes #942
See merge request freexian-team/debusine!1969
commit 0e7dee2a49fb3d5bd7371e166ff0f86ec56d63d0
Author: Colin Watson <cjwatson@debian.org>
Date: Mon Jun 9 10:48:57 2025 +0100
Move WorkRequestResults to debusine.artifacts.enums
This fixes a layering problem.
commit cde8e68c7d24a60a5f4fbad06119914a28f99b64
Author: Colin Watson <cjwatson@debian.org>
Date: Mon Jun 9 10:21:47 2025 +0100
Move TaskTypes to debusine.artifacts.models
This fixes a layering problem.
commit f58c3b32fdc799cfcc9cedafe92af8dc2efaf078
Merge: c38f9a6d6 8c186cdde
Author: Colin Watson <cjwatson@debian.org>
Date: Sat Jun 7 23:11:53 2025 +0000
Merge branch 'better-file-expiry' into 'devel'
Delete orphaned files from stores more effectively
See merge request freexian-team/debusine!1952
commit c38f9a6d624503b98626d79b1979cd8c880f0e5a
Merge: 094cc7dbc 0d936ad28
Author: Colin Watson <cjwatson@debian.org>
Date: Fri Jun 6 15:06:49 2025 +0000
Merge branch 'fix-delete-experiment-workspace' into 'devel'
Fix another crash when deleting experiment workspaces
Closes #936
See merge request freexian-team/debusine!1970
commit b03819aed0a2b323e4fd3a7f97204b04dfd13cab
Author: Colin Watson <cjwatson@debian.org>
Date: Fri Jun 6 14:14:55 2025 +0100
Split out make_source_prefix helper function
commit 710e6b40c7e06cc92b47c2cfbe2b495c7c78532d
Author: Colin Watson <cjwatson@debian.org>
Date: Fri Jun 6 14:09:05 2025 +0100
Add include_expired parameter to TokenManager.get_tokens
In some situations it's useful to be able to query tokens by username
and key while excluding expired tokens.
commit 7bf8e6ed2f5c6e0608d8377bfe066ce745edad6e
Author: Enrico Zini <enrico@enricozini.org>
Date: Fri Jun 6 13:18:18 2025 +0200
Preserve current user inside withscope tags
commit 0d936ad28c0aeb7f0ae98d4bd86c6c8afbb26fc8
Author: Colin Watson <cjwatson@debian.org>
Date: Fri Jun 6 13:04:09 2025 +0100
Fix another crash when deleting experiment workspaces
Workflows can be referenced by the `created_by_workflow` and
`removed_by_workflow` fields of collection items in other workspaces. I
thought about deleting those collection items, but it doesn't always
make sense to do so. For example:
* The `CopyCollectionItems` task sets `created_by_workflow` to the
workflow that requested the copy, and if that was in an experiment
workspace that's publishing items to a longer-lived workspace then we
probably don't want to delete those items when the experiment
workspace is deleted.
* The `debusine:task-history` collection manager expires old items,
setting `removed_by_workflow` to the workflow that added the item that
happened to trigger the expiry. We certainly don't want to remove
those expired items just because the workspace containing the
expiry-triggering workflow itself happens to expire.
`Artifact.created_by_work_request` allows breaking the link using
`SET_NULL`, and I think this situation is analogous, so just allow those
fields to be set to null when the related workflows are deleted.
Fixes: #936
commit 094cc7dbc8d30ddf2afffa1a281c9045251930a3
Merge: 35d613d01 449c4c370
Author: Enrico Zini <enrico@debian.org>
Date: Thu Jun 5 21:38:35 2025 +0000
Merge branch 'wr_ui' into 'devel'
Use UI helpers to reduce the number of queries per Workflow table row
See merge request freexian-team/debusine!1967
commit 449c4c370c605cb76c5d4f3e012fd7297d3608c1
Author: Enrico Zini <enrico@enricozini.org>
Date: Thu Jun 5 20:22:26 2025 +0200
Temporarily patch FilterFailedWorkRequests that was calling workflow_work_requests_failure
commit 35d613d01839a9f32b8a2add06bfda15abb34c21
Merge: d7a7e6887 65e370b6d
Author: Enrico Zini <enrico@debian.org>
Date: Thu Jun 5 17:55:05 2025 +0000
Merge branch 'ui' into 'devel'
Prototype a UI helpers system for view-specific functions related to models (fixes #650)
Closes #650
See merge request freexian-team/debusine!1540
commit abbc2810eea3cd8a673d2078889f56d545816cf0
Author: Enrico Zini <enrico@enricozini.org>
Date: Thu Jun 5 17:02:35 2025 +0200
Use UI helpers to cache workflow_flattened and reduce the numer of queries per row
commit 30063f8396bf767b23296757d15b32bbe7e61a51
Author: Enrico Zini <enrico@enricozini.org>
Date: Thu Jun 5 11:20:26 2025 +0200
Check the number of queries when workflows are shown in homepage
commit 65e370b6d0f269ec3dc18f4c6f0f9dcbbb9191d2
Author: Enrico Zini <enrico@enricozini.org>
Date: Mon Jan 6 18:52:33 2025 +0100
Add a way to build and retrieve view helpers corresponding to model objects
commit d7a7e6887382165793172bda697d2bb1865095c3
Merge: 2cd89e90d 69d891ce6
Author: Enrico Zini <enrico@debian.org>
Date: Thu Jun 5 12:58:00 2025 +0000
Merge branch 'homepage-fixes' into 'devel'
Homepage fixes (fixes #941)
Closes #941
See merge request freexian-team/debusine!1966
commit 69d891ce6c3c11d94ddc3303ba8042dea4903a98
Author: Enrico Zini <enrico@enricozini.org>
Date: Thu Jun 5 14:13:00 2025 +0200
Count aborted workflows together with completed workflows
commit 1217084f17496cc63e070c86a256161cf655fd01
Author: Enrico Zini <enrico@enricozini.org>
Date: Thu Jun 5 12:49:35 2025 +0200
Also show aborted workflows in completed workflows list
commit f098b34a969b6b38475437ca4fe586a3533f5e7a
Author: Enrico Zini <enrico@enricozini.org>
Date: Thu Jun 5 11:39:14 2025 +0200
Only count root workflows in scopes and workspaces stats
commit 6231b7a5ae9df73f15937c7658965276bfcf2ad9
Author: Enrico Zini <enrico@enricozini.org>
Date: Thu Jun 5 11:28:51 2025 +0200
Only show root workflows in homepage
commit d3ccc04d1a1a0f44da4075f347b90582c5a0a05f
Author: Enrico Zini <enrico@enricozini.org>
Date: Thu Jun 5 11:14:21 2025 +0200
Removed list of work requests from homepage
commit 2cd89e90d74a95dc42ccd0e3bda5d2fd3daa69c9
Merge: df4ad02ed 1c1871eab
Author: Enrico Zini <enrico@debian.org>
Date: Thu Jun 5 09:00:44 2025 +0000
Merge branch 'remove-dup-text' into 'devel'
Remove duplicate 'You are authenticated as' in homepage
See merge request freexian-team/debusine!1965
commit 1c1871eabccc33298947413ed135c6ca55735663
Author: Enrico Zini <enrico@enricozini.org>
Date: Thu Jun 5 10:02:23 2025 +0200
Removed duplicated 'You are authenticated as' in homepage
commit df4ad02ed2bd72d873d28003b4b11e7062033b77
Merge: 427d85597 b628abbf8
Author: Colin Watson <cjwatson@debian.org>
Date: Thu Jun 5 07:40:55 2025 +0000
Merge branch 'fix-delete-workspaces' into 'devel'
Fix crash in delete_expired when trying to clean up expired workspaces
Closes #936
See merge request freexian-team/debusine!1964
commit b628abbf8aa5ed88d38c32b5008ba66cf9236e78
Author: Colin Watson <cjwatson@debian.org>
Date: Wed Jun 4 21:55:58 2025 +0100
Fix crash in delete_expired when trying to clean up expired workspaces
Fixes: #936
commit 8c186cdde2980aaccd35ddff2b365b74619dd668
Author: Colin Watson <cjwatson@debian.org>
Date: Wed May 28 18:32:02 2025 +0100
Delete orphaned files from stores more effectively
If `delete_expired` ever crashed after deleting artifacts but before
deleting orphaned files from stores, it would forget about removing
those files and nothing would ever get round to them again. Instead of
returning a set of deleted files from `_sweep` and then passing that to
`_delete_files_from_stores`, just have `_delete_files_from_stores` ask
the database directly for all the orphaned files.
Part of #891.
commit 427d85597c0b8dcc6088eaa9cc09cf071fb830f1
Merge: c7ce2b3a0 25d6fb3e8
Author: Colin Watson <cjwatson@debian.org>
Date: Wed Jun 4 13:56:31 2025 +0000
Merge branch 'fix-work-request-roles-implications' into 'devel'
Fix implication handling in WorkRequestRoleBase
See merge request freexian-team/debusine!1962
commit c7ce2b3a0f9b0a1a1d8d64ae586b463a5aedebf9
Merge: 44a124ad4 19a43f540
Author: Enrico Zini <enrico@debian.org>
Date: Wed Jun 4 12:58:11 2025 +0000
Merge branch 'branding' into 'devel'
Allow to customize homepage and footer with local templates (fixes: #850)
Closes #850
See merge request freexian-team/debusine!1948
commit 44a124ad44df0b26039aa99a1b5fac6f4148d67d
Merge: 11b24fc3d 5f8c478bb
Author: Colin Watson <cjwatson@debian.org>
Date: Wed Jun 4 12:22:39 2025 +0000
Merge branch 'optimize-role-queries' into 'devel'
Optimize various role-related queries
See merge request freexian-team/debusine!1961
commit 19a43f5404439c2a909d13370990f224eb5d116c
Author: Enrico Zini <enrico@enricozini.org>
Date: Wed Jun 4 10:59:44 2025 +0200
Be more specific in looking for template loaders to reset
commit 5f8c478bb7412e6b74cf8126b1d3170b19c1085d
Author: Colin Watson <cjwatson@debian.org>
Date: Wed Jun 4 00:07:53 2025 +0100
Optimize various role-related queries
The query created by `WorkRequest.objects.can_display` was typically
taking substantial fractions of a second even for trivial data sets,
because the nine-table join caused PostgreSQL to consider hundreds of
millions of rows, nearly all of which it ended up throwing away.
Subqueries perform much better here, typically a fraction of a
millisecond.
This even makes `./manage.py test debusine.db debusine.django
debusine.server debusine.web debusine.project debusine.test` about 10%
faster.
commit 25d6fb3e845b71c15f5e4004edd58c1396d97b2c
Author: Colin Watson <cjwatson@debian.org>
Date: Wed Jun 4 11:19:02 2025 +0100
Fix implication handling in WorkRequestRoleBase
`implied_by_creator` was being initialized wrongly; it didn't matter in
practice for any of the roles currently defined, but it might matter in
future.
commit 367c49d31d1e0af1cbcc7498af5c1296dcd2fcc3
Author: Enrico Zini <enrico@enricozini.org>
Date: Wed Jun 4 10:48:31 2025 +0200
Added sysadmin howto for customizing branding
commit c1add260fb0b59ee316cdac1d9c4d6b8f4e5f562
Author: Enrico Zini <enrico@enricozini.org>
Date: Wed May 28 11:15:03 2025 +0200
Announce the change
commit d9b98d251dde2ca583c1c05319eb9dc763c7b303
Author: Enrico Zini <enrico@enricozini.org>
Date: Tue May 27 12:10:03 2025 +0200
Allow to extend the homepage template with a local version
commit 04ba4167550273875747fd24d19f925119189a4a
Author: Enrico Zini <enrico@enricozini.org>
Date: Tue May 27 11:59:11 2025 +0200
Allow replacing or extending the footer template with site admin provided templates
commit e9cbf755d5fd091388eaab27668e7a3aa4bb7538
Author: Enrico Zini <enrico@enricozini.org>
Date: Tue May 27 11:45:09 2025 +0200
Add a way, in tests, of providing custom templates and invalidating Django's template cache
commit 6589d0bcec81ca612296eb288fa27122aed0b257
Author: Enrico Zini <enrico@enricozini.org>
Date: Tue May 27 11:14:50 2025 +0200
Changing DEBUSINE_TEMPLATE_DIRECTORY also needs changing TEMPLATES
commit 11b24fc3d1c1d4b46221ec41cce533ed323e0d06
Merge: bad36b6ce bd7a6049f
Author: Carles Pina i Estany <carles@pina.cat>
Date: Tue Jun 3 06:27:05 2025 +0000
Merge branch 'popovers' into 'devel'
Popovers for adding links to documentation (related #878)
See merge request freexian-team/debusine!1949
commit bd7a6049fc6cf81101c703750b66137d2bafea9d
Author: Carles Pina i Estany <carles@pina.cat>
Date: Tue Jun 3 06:27:05 2025 +0000
Add "popovers" mechanism. Use it for WorkRequestDetailView in Dependencies tab
fixes #878
related #809
commit bad36b6cee86365d7139d78026a86611a80c90d8
Merge: f5f9ad1a8 d17200e74
Author: Carles Pina i Estany <carles@pina.cat>
Date: Mon Jun 2 08:59:22 2025 +0000
Merge branch 'workrequestdetail-internals-tab-ui' into 'devel'
WorkRequestDetailView Internals tab: show more fields and collection name (fixes #926, #746)
Closes #746 and #926
See merge request freexian-team/debusine!1942
commit d17200e743f29208e5175457e08b737eaab8c13a
Author: Carles Pina i Estany <carles@pina.cat>
Date: Mon Jun 2 08:59:22 2025 +0000
WorkRequestDetailView Internals tab: show more fields
Currently: collection name, task data, configured task data, dynamic data, workflow data, event reactions and output data
commit f5f9ad1a8b73772ca4ff69b206894a09b67a6005
Merge: 9d713fcfb 90d2419fc
Author: Colin Watson <cjwatson@debian.org>
Date: Sun Jun 1 11:06:03 2025 +0000
Merge branch 'hetzner-s3-trixie' into 'devel'
Work around S3 incompatibility between Hetzner and boto3 >= 1.36.0
See merge request freexian-team/debusine!1959
commit 9d713fcfbe6b21dd243e49fae19dae500a264b5a
Merge: 5718754dd 2d7736536
Author: Colin Watson <cjwatson@debian.org>
Date: Sun Jun 1 11:05:39 2025 +0000
Merge branch 'forbid-relations-with-incomplete-artifacts' into 'devel'
Forbid creating relations with incomplete artifacts
See merge request freexian-team/debusine!1960