Commit Graph

149 Commits

Author SHA256 Message Date
51b3d5942d wip 2025-10-13 09:02:06 +02:00
04825b552e pr: use force-merge instead of force-push
The permission is to accept a change without required reviews, not
to actually force-push

Fixes 7bad8eb5a9
2025-10-12 10:22:49 +02:00
7bad8eb5a9 pr: Add config definitions for permission set 2025-10-09 18:43:56 +02:00
58da491049 common: handle translation to SSH if already SSH 2025-10-07 17:26:27 +02:00
1b9ee2d46a PR: ref requries PR fetch, and not in timeline 2025-10-02 15:13:43 +02:00
b7bbafacf8 PR: limit search to bot account for ProjectGit PRs 2025-10-02 13:45:31 +02:00
1390225614 PR: list missing PRs in the logs 2025-09-29 14:58:43 +02:00
2092fc4f42 Fix handling of all project flags
We skipped access and sourceaccess flags before
2025-09-24 09:33:29 +02:00
d2973f4792 PR: only consider open PR when creating new PRs 2025-09-21 23:21:40 +02:00
8af7e58534 common: handle group data in PR reviews 2025-09-16 18:13:35 +02:00
043673d9ac common: handle ReviewGroup in maintainership data
ReviewGroups can be added as maintainers and can be optionally
expanded. This is handy when a ReviewGroup is a project maintainer
2025-09-16 17:40:18 +02:00
73737be16a rabbitmq: add support for forwarding status events to Rabbit 2025-09-16 13:23:43 +02:00
1cd385e227 common: handle case of non-existing config file 2025-09-11 16:56:03 +02:00
ff7df44d37 staging: assume changed directories are packages
Ignore any non-top level direcotries here. This should be fixed
to handle _manifest files
2025-09-11 14:56:27 +02:00
6a09bf021e Revert "common: use X-Total-Count in multi-page results"
This reverts commit 5addde0a71.
2025-09-11 09:34:13 +02:00
6a71641295 common: take care of empty result sets
In case of empty result pages, we should ignore the X-Total-Count
header.

Fixes: 5addde0a71
2025-09-03 12:21:07 +02:00
5addde0a71 common: use X-Total-Count in multi-page results 2025-09-03 01:00:33 +02:00
90ea1c9463 common: remove duplicate 2025-09-02 20:50:23 +02:00
833cb8b430 PR: marshall config before logging it 2025-08-28 18:13:11 +02:00
305e90b254 common: fix logging format string 2025-08-28 13:09:32 +02:00
72b979b587 PR: remove closed package PRs from a PRset
This used to happen as a side-effect of a different code path
that was removed in b96b784b38
2025-08-27 14:57:43 +02:00
bb4350519b common: fix invalid log message
Log message complained about request processing even when
it finished request processing.
2025-08-27 14:54:32 +02:00
62658e23a7 PR: quiet submodule deinit output 2025-08-27 14:49:16 +02:00
6a1f92af12 tests: comment out tests that crash 2025-08-27 11:49:26 +02:00
24ed21ce7d tests: fix panics 2025-08-26 23:51:14 +02:00
6864e95404 PR: merge correct branches
Add sanity check that we merge correct branches too
2025-08-26 19:43:51 +02:00
0ba4652595 common: use older git --heads instead of --branches 2025-08-26 19:17:32 +02:00
7b87c4fd73 PR: fix parsing of project prs in timeline
Fixes: 933ca9a3db
2025-08-26 17:56:38 +02:00
7d2233dd4a PR: add NoProjectGitPR option 2025-08-26 16:19:56 +02:00
c30ae5750b PR: clone fixes 2025-08-26 15:47:58 +02:00
5b1e6941c2 PR: typo in command line 2025-08-26 11:39:52 +02:00
923bcd89db common: timeline items can be null? 2025-08-26 11:36:51 +02:00
7e055c3169 Merge branch 'jzerebecki-fix-pr-link' 2025-08-25 19:12:59 +02:00
b091e0e98d common: panic if the config is unresoveable
either branch for project config must be defined in the config, OR
it can be fetched as default branch from Gitea. If neither happens,
it's best not to do any guessing here
2025-08-25 17:04:43 +02:00
2b67e6d80e group-review: Add Silent option
Closes: #60
2025-08-22 17:39:29 +02:00
538698373a common: API can fail... 2025-08-22 15:30:09 +02:00
4894c0d90a mark manual merge instead of relying on Gitea -- delays? 2025-08-22 09:07:34 +02:00
090c291f8a prjgit manual merge check 2025-08-21 17:39:52 +02:00
Jan Zerebecki
933ca9a3db Fix PR link
to use ! instead of # . The later is for issues and only works due to
a redirect, which currently fails in gitea if a repo has its issue
tracker disabled.
2025-08-19 16:27:39 +02:00
d146fb8c4e common: add last-updated obs status field 2025-08-13 17:05:47 +02:00
7e78ee83c1 common: fix detection of branches 2025-08-13 17:04:48 +02:00
c84af6286d Fix crash on connection
Setting channel object in Rabbit listener object.
2025-08-12 11:29:25 +02:00
fb7f6adc98 importer: allow multiple packages in the -package param 2025-07-28 20:07:07 +02:00
3d24dce5c0 common: rabbit refactor
Generalize interface to allow processing of any events, not just
Gitea events.
2025-07-26 13:54:51 +02:00
69dac4ec31 common: fix manifest path when pkg is path 2025-07-18 23:02:03 +02:00
b7e03ab465 common: use standard function for Basenamej 2025-07-18 20:41:57 +02:00
76aec3aabb PR: PrjGit description generation in one place
This allows for easier editing and for guidance of what will
happen next
2025-07-18 16:26:35 +02:00
51261f1bc1 PR: Add manifest to subdir mapping functions 2025-07-18 15:54:53 +02:00
c5db1c83a7 PR: detect and rebase project git commits
When project is advanced, and we have other package changes
to same project, the project git changes need to be rebased. The
simplest way of doing this is to skip all the submodule conflicts
and re-create them. This allows the submodules changes to be
mergeable again.
2025-07-15 19:08:05 +02:00
9f0909621b PR: fix timeline fetches
only fetch latest reviews from a user, not all
2025-07-15 11:06:17 +02:00