2
1
forked from adamm/autogits

84 Commits

Author SHA256 Message Date
74f40f536a message typo 2025-07-11 09:40:36 +02:00
cde46e85f3 Enable code stream publishing 2025-07-11 09:40:36 +02:00
4378568953 Fix logic in crash protection
We must not access review.User object if it is nil
2025-07-11 09:40:36 +02:00
c286e12b67 Try to use Staging Master Project as default build target if available
This allows us to set custom build configuration or repository sets for
pull request projects.
2025-07-11 09:40:36 +02:00
cc9ad1703d Don't crash when new packages got added
The build result request of the base project is failing in this
situation, since the requested package does not exist.

Therefore we need to have seperate lists for proper handling.
2025-07-11 09:40:36 +02:00
0bee48472d Implementing cleanup of closed requests 2025-07-11 09:40:36 +02:00
0019546e30 forward-bot: initial skeleton 2025-06-17 00:46:26 +02:00
3bef967023 wip 2025-05-16 17:57:02 +02:00
bd87bf8ce3 staging: reviewer can be nil
If a user is requested reviewer, but is then deleted in Gitea,
it is still there but as "nil" user that doesn't resolve.
2025-05-09 16:55:16 +02:00
364c3f4ab7 staging: fix logging and cache stale, cleaned up repos 2025-05-08 15:55:27 +02:00
fd8b7f1bee staging: add cleaned up notification cache 2025-05-08 14:49:46 +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
91d915cc28 Drop release targets in pull request projects 2025-05-08 10:42:03 +02:00
c7a300119e Fix QA project setup handling 2025-05-08 10:41:30 +02:00
c5c3e1c115 Implement detection for local repositories
Repositories which build against another repo in the same project need
to do so also in the forked project. This is eg for consuming rpms
from one repo in an image build from same project.
2025-05-08 10:28:38 +02:00
b4b0d075be staging: only mark as read when processing is done 2025-05-07 01:08:32 +02:00
16c2eb7090 staging fixes 2025-05-07 00:25:44 +02:00
3264ad1589 staging: status line requires write repo access 2025-05-07 00:05:57 +02:00
da1df24666 wip 2025-05-06 18:06:04 +02:00
f52d72e04a staging: use status line in PRs 2025-05-05 13:52:46 +02:00
23e2566843 Fix git path compare of meta to pull request
.git is optional, but doesn't matter, so trimming it away
2025-05-05 10:54:31 +02:00
0d0fcef7ac staging: fixes 2025-05-04 20:45:33 +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
4a2fe06f05 staging: refactor 2025-04-28 23:47:05 +02:00
72b100124d staging: list notification correctly in logging 2025-04-28 19:51:32 +02:00
996d36aaa8 staging: more refactor 2025-04-28 19:47:05 +02:00
82b5b105b1 staging: refactor 2025-04-28 19:44:32 +02:00
248ec4d03c staging: get last results for reference project 2025-04-28 17:34:54 +02:00
faa21f5453 staging: logging adjustments 2025-04-28 16:57:05 +02:00
21c4a7c1e0 wip 2025-04-28 14:23:59 +02:00
96e1c26600 Fix crash when review.User is nil 2025-04-10 15:29:02 +02:00
9d9964df11 Build in :PR: sub project as wanted for SLFO
Instead of doing it a home project which won't scale.
2025-04-10 13:47:58 +02:00
881fad36a0 Initial support of QA subproject setup
- Nothing handed over to external scripts yet
- Not agreed file format in _obs_staging (YAML!)
- No build monitoring
2025-04-08 17:02:03 +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
cfad21e1a3 Set review state only after the end of the build
Instead using normal comments to inform users of the build project
or in case the used source of the pull request has changed
and the build project has been updated.
2025-04-04 10:09:00 +02:00
b7625cd4c4 Fix cloning for src.suse.de instance 2025-04-02 14:15:06 +02:00
78eb9f11e5 Extend regexp to match orgs and projects include - and _ chars 2025-04-01 09:40:39 +02:00
58dc4927c2 Flexible OBS api and www endpoints
Allow the endoinds to be configurable
2025-03-25 12:44:17 +01:00
ce48cbee72 Add ability to set build location 2025-03-25 11:52:15 +01:00
1f4e1ac35e update build project if needed when build pending 2025-03-10 13:44:59 +01:00
9ecda0c58b obs-staging-bot: log polling cycles 2025-02-11 16:26:29 +01:00
8c2cc51a3c obs-staging-bot: closed requests should no longer need review 2025-02-11 16:22:00 +01:00
2f38e559d1 fix obs staging bot 2025-02-10 15:16:48 +01:00
d46ca05346 Fix against new git interfaces 2025-02-10 13:50:25 +01:00
0c866e8f89 worflow-pr: wip 2024-12-02 10:26:51 +01:00
8bedcc5195 wip 2024-11-07 18:25:35 +01:00
a672bb85fb wip 2024-10-29 15:36:20 +01:00
6ecc4ecb3a wip 2024-10-01 17:21:28 +02:00