e8b6066bae
wip
2025-07-27 23:11:42 +02:00
42e2713cd8
Merge remote-tracking branch 'gitea/main'
2025-07-26 13:56:16 +02:00
3d24dce5c0
common: rabbit refactor
...
Generalize interface to allow processing of any events, not just
Gitea events.
2025-07-26 13:54:51 +02:00
0cefb45d8a
allow imports of + in reponames
2025-07-25 14:57:13 +02:00
ddbb824006
group-review: fix group review approval and disapproval
...
and add unit tests for this
2025-07-25 13:54:30 +02:00
69dac4ec31
common: fix manifest path when pkg is path
2025-07-18 23:02:03 +02:00
b7e03ab465
common: use standard function for Basenamej
2025-07-18 20:41:57 +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
19fb7e277b
importer: case when OBS package name != repo name
...
also handle just one package import, for testing
2025-07-18 16:21:52 +02:00
51261f1bc1
PR: Add manifest to subdir mapping functions
2025-07-18 15:54:53 +02:00
949810709d
import: handle previusly clones scmsync repos
2025-07-17 16:43:53 +02:00
c012570e89
importer: map packages to Gitea names
2025-07-16 21:28:26 +02:00
44a3b15a7d
Merge pull request 'gitea_status_proxy' ( #56 ) from ldragon/autogits:proxy into main
...
Reviewed-on: adamm/autogits#56
Reviewed-by: Adam Majer <adamm@noreply.src.opensuse.org >
2025-07-16 12:44:48 +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
9f0909621b
PR: fix timeline fetches
...
only fetch latest reviews from a user, not all
2025-07-15 11:06:17 +02:00
b3914b04bd
Fix logic in crash protection
...
We must not access review.User object if it is nil
2025-07-11 12:02:37 +02:00
b43a19189e
Enable code stream publishing
2025-07-11 12:02:08 +02:00
01b665230e
message typo
2025-07-11 12:01:58 +02:00
1a07d4c541
Create Pull Requests to specified branches
...
instead of always using DefaultBranch. This means that target needs
always gets specified now.
2025-07-11 12:01:43 +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
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
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
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
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
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
42a9ee48e0
import: update config files
2025-06-24 16:03:33 +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
4f0f101620
importer: handle case of devel project in git
2025-06-23 18:48:09 +02:00
253f009da3
common: Add devel project query
2025-06-23 18:47:12 +02:00
5e66a14fa9
forward-bot: finish initial braindump
2025-06-17 23:39:47 +02:00
e79122e494
forward-bot: additional first code
2025-06-17 19:27:00 +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
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
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