Commit Graph

126 Commits

Author SHA256 Message Date
3d24dce5c0 common: rabbit refactor
Generalize interface to allow processing of any events, not just
Gitea events.
2025-07-26 13:54:51 +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
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
22e44dff47 Don't fail on project git pull request creation. 2025-07-11 12:01:24 +02:00
f9021d08b9 PR: fix case where submodule cannot be initialized
Sometimes the commit is already cleaned up and Project Git cannot
be initialized. This should not be an error. Only fatal error
is if we can't update the PR to current state.
2025-07-10 18:28:09 +02:00
518bc15696 PR: close empty prjgit PRs 2025-07-09 20:39:38 +02:00
4f33ce979c PR: use MergeBase as ref. branch for prjgit
The target branch can be moving target, so not appropriate
2025-07-09 19:42:26 +02:00
4d9e2f8cab PR: update PrjGit PR when package PRs are removed or added 2025-07-09 18:05:05 +02:00
ed4f27a19e PR: refactor 2025-07-09 17:33:44 +02:00
9333e5c3da PR: fix README quoting 2025-06-24 14:33:06 +02:00
5e29c88dc8 PR: fix README quoting 2025-06-24 14:32:23 +02:00
6438a8625a Replace PrjGit creation logic 2025-06-16 14:22:21 +02:00
3928fa6429 PR: use config project git branch, not default 2025-06-13 00:06:02 +02:00
e92ac4a592 PR: refactor 2025-06-12 23:51:04 +02:00
568a2f3df8 PR: Add ability to parse optional reviewers
Document reviewer syntax in the Readme.md
2025-06-10 17:20:33 +02:00
d37bfaa9d3 common: workaround case when user do not have gitea accounts and cannot get reviews assigned 2025-06-04 14:59:46 +02:00
09b1c415dd PR: fix deadlock in verification routines via git/org locking 2025-06-03 16:18:00 +02:00
629b941558 PR: use correct path for local repo cache 2025-06-03 14:13:58 +02:00
bc714ee22d PR: fix build 2025-06-03 10:40:49 +02:00
b8cc0357a7 PR: limit manual merge to Projects
Add "ManualMergeProject" to require "merge ok" sign-offs on
project level only
2025-06-03 00:07:34 +02:00
af096af507 pr: require manual merge options for repositories 2025-05-26 18:10:25 +02:00
3bef967023 wip 2025-05-16 17:57:02 +02:00
9c3658b33e pr: remove pending requests
Remove all pending review requests when we merge
2025-05-13 18:34:56 +02:00
4653904ded pr: merge - preliminary fixes 2025-05-09 17:28:35 +02:00
c93788d0ee pr: fixes 2025-05-07 16:10:16 +02:00
cb64635aea pr: use correct prjgit repo name 2025-05-06 23:59:51 +02:00
aeb4c20744 pr: reset submodules if they not agreed 2025-05-06 23:15:27 +02:00
da1df24666 wip 2025-05-06 18:06:04 +02:00
bff5f1cab7 common: handle case of missing remote
If repo present, but remote not setup, just set it up
2025-04-30 12:29:32 +02:00
6d1ef184e0 workflow-pr: logging 2025-04-29 19:08:37 +02:00
e30d366f2f workflow-pr: logging updates 2025-04-29 18:00:37 +02:00
2d044d5664 git: one generator per app, multiple instances
this allows locking for access for each org
2025-04-14 18:33:18 +02:00
f91c61cd20 tests 2025-04-08 00:23:24 +02:00
06aef50047 start refactoring PR bot 2025-04-07 19:03:02 +02:00
d3f1b36676 Use "-gitea-url" instead of "-gitea-host" or simiar
This allows to use another schema than https:// to connect to Gitea
2025-04-07 14:20:26 +02:00
da1f4f4fa0 fix mocks 2025-04-04 13:05:51 +02:00
Jan Zerebecki
23ed9b830d Merge all go.mod into a top level one 2025-04-03 22:38:31 +02:00
20b02d903c pr: move config to project 2025-03-26 23:20:26 +01:00
635bdd0f50 Migrate PR related to to common area 2025-03-18 13:08:49 +01:00
fffdce2c58 better recovery in unexpected situations 2025-02-24 13:11:54 +01:00
ee6d704e1e refactor 2025-02-20 19:25:36 +01:00
bfeaed40d5 remove legacy 2025-02-20 19:17:23 +01:00
4dd864c7b6 move maintainership to common/ 2025-02-20 12:20:14 +01:00
a5acc1e34e yolo 2025-02-19 10:51:49 +01:00
fc2dbab782 wip 2025-02-19 00:06:54 +01:00
9236fa3ff1 check stale reviews 2025-02-18 18:14:17 +01:00
334fe5553e tests 2025-02-18 17:52:36 +01:00
9418b33c6c fix 2025-02-18 17:42:55 +01:00
7a8c84d1a6 check status 2025-02-18 12:40:32 +01:00
367d606870 wip 2025-02-17 17:49:02 +01:00