Commit Graph

689 Commits

Author SHA256 Message Date
9b5013ee45 git clone lock fixes 2025-04-15 18:15:35 +02:00
ed815c3ad1 unique org_repo remote names 2025-04-15 14:55:19 +02:00
8645063e8d git utils 2025-04-15 13:51:08 +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
51ba81f257 Merge branch 'main' into refactor 2025-04-11 14:00:00 +02:00
bb7a247f66 common: commit status api 2025-04-11 13:58:20 +02:00
c1f71253a4 devel_update: dead code removal 2025-04-11 13:57:56 +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
e257b113b9 devel-importer: helpful scripts 2025-04-09 18:48:30 +02:00
11e0bbaed1 devel-importer: remove remote branches 2025-04-09 16:47:19 +02:00
fb430d8c76 group-review: don't use regex for matching group name 2025-04-09 12:21:55 +02:00
7ed2a7082d Fix notification parsing regex 2025-04-09 11:43:54 +02:00
ba7686189e add GitClone for persistent git clones 2025-04-09 00:03:22 +02:00
9dcd25b69a wip 2025-04-08 19:03:33 +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
29906e22d2 Complete project meta
description is not optional

define releasetarget element
2025-04-08 17:02:03 +02:00
d89c77e22d common: use hostname:port instead of just hostname for API calls 2025-04-08 16:48:25 +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
52a5cdea94 group-review: fix typo 2025-04-07 14:24:48 +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
5ea5f05b02 common: reviews fix 2025-04-07 09:47:07 +02:00
5877081280 whitespace 2025-04-06 17:32:16 +02:00
c4ce974ddf group-review: fixes 2025-04-05 23:45:40 +02:00
65c718e73b group-review: move config 2025-04-04 18:07:57 +02:00
a8e6c175c0 remove obsolete per-executable go.mod 2025-04-04 13:56:52 +02:00
044416cd2a Merge branch 'main' of c3:gitea_test/autogits 2025-04-04 13:55:54 +02:00
009cc88d54 Merge remote-tracking branch 'gitea/main' 2025-04-04 13:06:28 +02:00
da1f4f4fa0 fix mocks 2025-04-04 13:05:51 +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
5eb54d40e0 Define "unknown" build state 2025-04-04 10:09:00 +02:00
80ff036acb group-review: rerequest reviwes missing group review
If user is member of group but doesn't review correctly, request
their review again.
2025-04-04 00:17:55 +02:00
Jan Zerebecki
2ed4f0d05f Build all modules and in obs directly from this repo
Build each go module in a subpackage.
2025-04-03 22:40:04 +02:00
Jan Zerebecki
23ed9b830d Merge all go.mod into a top level one 2025-04-03 22:38:31 +02:00
Jan Zerebecki
4604aaeeba Rename bots-common to common
to make it match the name it is imported as
2025-04-03 22:38:28 +02:00
Jan Zerebecki
2dfe973c51 Generate group-review/go.sum
it wasn't commited before
2025-04-02 18:47:05 +02:00
b7625cd4c4 Fix cloning for src.suse.de instance 2025-04-02 14:15:06 +02:00
12e7a071d9 whitespace only changes 2025-04-02 11:39:52 +02:00
6409741a12 Initial support for SSH based authentification
Moved all HTTP codes to the ObsRequest method.

Make use of the authorization cookie, but only store it in memory.
Should be fine for a constant running bot to do the authorization once
on startup.
2025-04-02 11:14:02 +02:00
78eb9f11e5 Extend regexp to match orgs and projects include - and _ chars 2025-04-01 09:40:39 +02:00
c28f28e852 Merge branch 'main' of c3:gitea_test/autogits 2025-03-28 16:34:10 +01:00
72270c57ed fixes to importer 2025-03-28 16:33:59 +01:00
5d6dc75400 fix maintainership writer 2025-03-28 16:09:36 +01:00
20b02d903c pr: move config to project 2025-03-26 23:20:26 +01: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
3bd179bee1 wip 2025-03-24 00:23:11 +01:00
940e5be2c1 Migrate to prjgit based config
config now only has reference to org or prjgits and the rest
is defined in the "workflow.config" in the prjgit itself. This
allows the config to be updated in the project.
2025-03-23 16:33:06 +01:00
4a4113aad7 wip 2025-03-21 16:39:50 +01:00