d7132727a7
Create Pull Requests to specified branches
...
instead of always using DefaultBranch. This means that target needs
always gets specified now.
2025-07-11 10:52:00 +02:00
2f8b6b4ade
Temporary hack to include also changed directories
...
Need to be clean'd up via proper subdir handling
2025-07-11 09:40:36 +02:00
0bee48472d
Implementing cleanup of closed requests
2025-07-11 09:40:36 +02:00
7a0394e51b
PR: use "open" not "opened" as state
2025-07-10 16:54:28 +02:00
518bc15696
PR: close empty prjgit PRs
2025-07-09 20:39:38 +02:00
51873eb048
PR: log prjgit PrjGit creator
2025-07-09 20:06:13 +02:00
7cc4db2283
common: prune removed remote branches
...
During a repository update, we need to remove branches that
no longer exist on remote from local cache.
2025-07-09 18:28:37 +02:00
e438b5b064
common: fix parsing of submodule commit id from tree object
2025-06-26 14:25:20 +02:00
885bb7e537
forward: fix logic
...
* fix approval/request changes string
* use common.DevelProject fetcher code
* fix parsing of Requests meta
2025-06-26 14:24:21 +02:00
977d75f6e9
reviews: only react to comment
...
also, reviews are reverse sorted.
fixed some bugs
2025-06-25 16:13:08 +02:00
253f009da3
common: Add devel project query
2025-06-23 18:47:12 +02:00
0b4b1a4e21
common: Add basic OBS request APIs
2025-06-17 19:24:13 +02:00
0019546e30
forward-bot: initial skeleton
2025-06-17 00:46:26 +02:00
6438a8625a
Replace PrjGit creation logic
2025-06-16 14:22:21 +02:00
a1520ebfb0
PR: PRSet consistency check
2025-06-12 18:44:16 +02:00
c8d65a3ae5
PR: refactor
...
Move AssociatedPR fetching
2025-06-11 16:28:02 +02:00
b849a72f31
PR: request optional reviews
...
Ignore these reviews in approval, for otherwise they can be used
to fetch optional review information
2025-06-10 18:48:42 +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
30c8b2fe57
PR: require PRs to be in opened state
...
PR's that are not opened (eg. closed, or merged) cannot be part of
a consistent PRset. Either everything is merged, or everything should
be opened.
2025-06-10 16:31:44 +02:00
69b0f9a5ed
PR: fix error logging
2025-06-10 15:59:07 +02:00
a283d4f26f
PR: no submitter reviews needed
2025-06-07 21:52:47 +02:00
af898a6b8d
pr: manual project only merge ok is manual merge ok
2025-06-07 21:42:11 +02:00
b89cdb7664
PR: fix parsing comments from timeline
2025-06-05 19:15:53 +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
90cca05b31
common: fix maintainership parsing when no maintienrs explicitly set
2025-06-04 13:56:04 +02:00
7c229500c1
common: debug logging
2025-06-03 23:46:53 +02:00
290424c4a7
common: sort timeline in desc order
2025-06-03 23:42:02 +02:00
09b1c415dd
PR: fix deadlock in verification routines via git/org locking
2025-06-03 16:18:00 +02:00
aa50481c00
PR: add test for unauthorized merge reviews
2025-06-03 10:48:17 +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
aed0ac3ee9
PR: allow maintainers to approve merges by default
2025-06-02 23:54:05 +02:00
cca3575596
PR: add "merge ok" manual merge option
2025-06-02 16:22:50 +02:00
69dcebcf74
common: use Timeline for reviews
...
Gitea doesn't keep track of Stale reviews well. We should parse
Timeline of a PR *always* and apply our own logic to this instead
2025-05-30 16:51:30 +02:00
cd0c3bc759
common: fix tests
2025-05-27 12:11:21 +02:00
af096af507
pr: require manual merge options for repositories
2025-05-26 18:10:25 +02:00
d150c66427
common: update gitea APIs
2025-05-26 16:55:15 +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
2cb7a065a9
common: extract timeline fetcher to common code
2025-05-13 15:32:38 +02:00
24fe165c46
reviews: use timeline and ignore reviews prior to last push
2025-05-12 19:44:10 +02:00
1498438fee
pr: fix fetching for merging
2025-05-10 16:48:06 +02:00
4653904ded
pr: merge - preliminary fixes
2025-05-09 17:28:35 +02:00
da32adb16b
staging: cleanup logic
...
Add cleanup logic for finished requests
Merged PRs are immediatelly removed along with any QA subprojects
Unmerged closed PRs are removed after a day, default 48 hours
since closing.
2025-05-08 13:56:31 +02:00
1b5a0ad0c8
common: default cleanup delay is 48 for unmerged PRs
2025-05-08 13:56:13 +02:00
e78fdf4a09
common: set cookies when availalbe, not just 200 res code
2025-05-08 13:55:31 +02:00
0564a50fb5
remove debug code in OBS client
2025-05-08 13:24:20 +02:00
4f7db36123
handle build results different when request with lastbuild=1
...
In that case we need to
* ignore repo state as it is the current one. There is no last state
* handle "unkown" state as finished as the package was never attempted,
but we don't know the reason (eg. broken source or unresolvable)
2025-05-08 10:49:09 +02:00
41d536ea1b
common: fix parsing commit messages
2025-05-08 10:42:33 +02:00
c93788d0ee
pr: fixes
2025-05-07 16:10:16 +02:00
1e46f8d0ab
common: fix tests
2025-05-07 13:41:59 +02:00