This project is mirrored from https://gitlab.archlinux.org/archlinux/aurweb.git.
Pull mirroring updated .
- 19 Dec, 2021 1 commit
-
-
Kevin Morris authored
Previous versions when encountered with an updated `importlib_metadata` produce a deprecation warning. This update resolves that deprecation. Signed-off-by:
Kevin Morris <kevr@0cost.org>
-
- 18 Dec, 2021 1 commit
-
-
Kevin Morris authored
Instead of allowing an exception to propogate through the framework routes, catch it and log out an error about notifications not being sent. Signed-off-by:
Kevin Morris <kevr@0cost.org>
-
- 17 Dec, 2021 2 commits
-
-
Kevin Morris authored
Signed-off-by:
Kevin Morris <kevr@0cost.org>
-
Kevin Morris authored
Signed-off-by:
Kevin Morris <kevr@0cost.org>
-
- 16 Dec, 2021 3 commits
-
-
Kevin Morris authored
Signed-off-by:
Kevin Morris <kevr@0cost.org>
-
Kevin Morris authored
Signed-off-by:
Kevin Morris <kevr@0cost.org>
-
Kevin Morris authored
Signed-off-by:
Kevin Morris <kevr@0cost.org>
-
- 15 Dec, 2021 4 commits
-
-
Kevin Morris authored
Signed-off-by:
Kevin Morris <kevr@0cost.org>
-
Kevin Morris authored
Signed-off-by:
Kevin Morris <kevr@0cost.org>
-
Kevin Morris authored
Signed-off-by:
Kevin Morris <kevr@0cost.org>
-
Kevin Morris authored
This commit also decouples testing regarding this feature into several test functions. Signed-off-by:
Kevin Morris <kevr@0cost.org> bump Signed-off-by:
Kevin Morris <kevr@0cost.org>
-
- 14 Dec, 2021 2 commits
-
-
Kevin Morris authored
Signed-off-by:
Kevin Morris <kevr@0cost.org>
-
Kevin Morris authored
Signed-off-by:
Kevin Morris <kevr@0cost.org>
-
- 13 Dec, 2021 2 commits
-
-
Kevin Morris authored
Signed-off-by:
Kevin Morris <kevr@0cost.org>
-
Kevin Morris authored
Signed-off-by:
Kevin Morris <kevr@0cost.org>
-
- 10 Dec, 2021 7 commits
-
-
Kevin Morris authored
Signed-off-by:
Kevin Morris <kevr@0cost.org>
-
Kevin Morris authored
This will ensure the state of `request.user` is good to go for any other users which obtain it after the backend. Signed-off-by:
Kevin Morris <kevr@0cost.org>
-
Kevin Morris authored
We'll need to update the nginx config to do this; putting this off into an MR. This reverts commit 19bd3766.
-
Kevin Morris authored
Signed-off-by:
Kevin Morris <kevr@0cost.org>
-
Kevin Morris authored
Signed-off-by:
Kevin Morris <kevr@0cost.org>
-
Kevin Morris authored
Workflow has changed and TUs should now depend on actions taken closing requests which exist for the package base (deletion, merge, disown|orphan). The `/requests/{id}/close` route is now purely used for rejecting requests. The deletion, merge and orphan closures have been added into their related action routes. See the lists below. Disowning can only be done if an existing orphan request can be found for the action by TUs. Maintainers can disown their own packages at any time. Actions which provide request closures: -------------------------------------- - `/pkgbase/{name}/delete`: deletion request closure - `/pkgbase/{name}/merge`: merge request closure - `/pkgbase/{name}/disown`: orphan request closure To close a request: ------------------ - `/requests/{id}/close`: close a request with rejected status For deletion and merge actions, if no request yet exists, one will be autogenerated and closed. For orphan requests, a preexisting require is required and an error is now returned in cases where one cannot be found. For all closure actions, if the new comments field is left empty, a closure comment will be autogenerated. Note: This is a documentation commit summing up UX changes from recent commits. Signed-off-by:
Kevin Morris <kevr@0cost.org>
-
Kevin Morris authored
This commit changes several things about how we were handling package requests. Modifications (requests): ------------- - `/requests/{id}/close` no longer provides an Accepted selection. All manual request closures will cause a rejection. - Relevent `pkgbase` actions now trigger request closures: `/pkgbase/{name}/delete` (deletion), `/pkgbase/{name}/merge` (merge) and `/pkgbase/{name}/disown` (orphan). - Comment fields have been added to `/pkgbase/{name}/{delete,merge,disown}`, which is used to set the `PackageRequest.ClosureComment` on pending requests. If the comment field is left blank, a closure comment is autogenerated. - Autogenerated request notifications are only sent out once as a closure notification. - Some markup has been fixed. Modifications (disown/orphan): ----------------------------- - Orphan requests are now handled through the same path as deletion/merge. - We now check for due date when disowning as non-maintainer; previous...
-
- 09 Dec, 2021 5 commits
-
-
Kevin Morris authored
This exception is to be used when a known invariant is violated. Signed-off-by:
Kevin Morris <kevr@0cost.org>
-
Kevin Morris authored
Signed-off-by:
Kevin Morris <kevr@0cost.org>
-
Kevin Morris authored
Signed-off-by:
Kevin Morris <kevr@0cost.org>
-
Kevin Morris authored
Signed-off-by:
Kevin Morris <kevr@0cost.org>
-
Kevin Morris authored
Signed-off-by:
Kevin Morris <kevr@0cost.org>
-
- 07 Dec, 2021 13 commits
-
-
Kevin Morris authored
Signed-off-by:
Kevin Morris <kevr@0cost.org>
-
Kevin Morris authored
Signed-off-by:
Kevin Morris <kevr@0cost.org>
-
Kevin Morris authored
We now maintain a logging.prod.conf, which should contain sane defaults for a production instance. Our main logging.conf is a good default for both testing and debugging, but provides too much logging for production. Signed-off-by:
Kevin Morris <kevr@0cost.org>
-
Kevin Morris authored
-
Kevin Morris authored
-
Kevin Morris authored
Signed-off-by:
Kevin Morris <kevr@0cost.org>
-
Kevin Morris authored
Signed-off-by:
Kevin Morris <kevr@0cost.org>
-
Kevin Morris authored
Signed-off-by:
Kevin Morris <kevr@0cost.org>
-
Kevin Morris authored
-
Kevin Morris authored
After actually digging into how the logger does things, since the root logger is required and we have specific level-changing loggers for our components, we must no-op the root logger to avoid it duplicating logs from the others. Signed-off-by:
Kevin Morris <kevr@0cost.org>
-
Kevin Morris authored
This was failing when it matched more than one record. This fixes that issue by using an EXISTS query. Signed-off-by:
Kevin Morris <kevr@0cost.org>
-
Kevin Morris authored
-
Kevin Morris authored
-