SHA256
1
0
forked from adamm/autogits

67 Commits

Author SHA256 Message Date
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
9963ae90ef common: fix tests 2025-05-07 12:45:26 +02:00
801fff6e22 common: fix parsing commit messages 2025-05-07 12:31:11 +02:00
16c2eb7090 staging fixes 2025-05-07 00:25:44 +02:00
cb64635aea pr: use correct prjgit repo name 2025-05-06 23:59:51 +02:00
da1df24666 wip 2025-05-06 18:06:04 +02:00
eb997e1ae9 common: fix dynamic listening for events 2025-05-05 15:33:20 +02:00
f52d72e04a staging: use status line in PRs 2025-05-05 13:52:46 +02:00
0d0fcef7ac staging: fixes 2025-05-04 20:45:33 +02:00
62a597718b fix parsing test 2025-05-03 14:34:33 +02:00
327cb4ceaf fixes if git cat-file has error 2025-05-02 22:46:31 +02:00
aac475ad16 wip 2025-05-02 16:57:13 +02:00
046a60a6ed move staging config to its own config file 2025-05-02 11:18:23 +02:00
dcf964bf7a wip 2025-04-30 17:26:31 +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
e30d366f2f workflow-pr: logging updates 2025-04-29 18:00:37 +02:00
4a2fe06f05 staging: refactor 2025-04-28 23:47:05 +02:00
210e7588f1 common: actually remove items we process 2025-04-28 22:05:50 +02:00
82b5b105b1 staging: refactor 2025-04-28 19:44:32 +02:00
faa21f5453 staging: logging adjustments 2025-04-28 16:57:05 +02:00
f3f76e7d5b Merge commit '96e1c26600f02a81299d4c121a2239c2a28e3184ef306cb0ac2cf00f0f97202e' into refactor 2025-04-28 12:37:38 +02:00
e341b630a2 wip 2025-04-27 22:53:19 +02:00
4bafe0b4ef Merge branch 'refactor' of c3:gitea_test/autogits into refactor 2025-04-25 16:55:09 +02:00
7af2092ae1 wip 2025-04-24 23:51:46 +02:00
32374f76c1 status 2025-04-23 17:51:59 +02:00
9403b563f6 wip 2025-04-22 23:42:41 +02:00
bd492f8d92 no branch if default 2025-04-17 18:40:20 +02:00
874a120f88 we are using master for project git .. this may change 2025-04-17 17:58:18 +02:00
199396c210 Use HuJSON
for the comments and glory
2025-04-17 15:33:18 +02:00
f0de3ad54a workflow-direct: no panic if no changes 2025-04-17 15:12:51 +02:00
bfeac63c57 update repo parsing 2025-04-17 13:34:11 +02:00
d65f37739c fixes 2025-04-17 00:38:53 +02:00
0e036b5ec6 workflow-direct: move away from prjgit repo being just repo 2025-04-16 18:07:37 +02:00
1d1602852c direct: GitClone instead of running clone directly 2025-04-15 23:38:41 +02:00
9b5013ee45 git clone lock fixes 2025-04-15 18:15:35 +02:00