617 Commits

Author SHA256 Message Date
bcb63fe1e9 Add build status to README 2025-08-25 19:58:37 +02:00
f4e78e53d3 spec: install workflow bots and remove importer
importer is one-off kidn of a program and can't really be run
by itself. It requires git-importer + database + ability to register
to git-obs-bridge which is internal only
2025-08-25 19:54:03 +02:00
082db173f3 vendor: move vendored sources in-tree
This should make it easier to see changes instead of just a blob
2025-08-25 19:48:19 +02:00
7e055c3169 Merge branch 'jzerebecki-fix-pr-link' 2025-08-25 19:12:59 +02:00
7e59e527d8 PR: fix type errors 2025-08-25 18:18:00 +02:00
518845b3d8 importer: dedup maintainer and expand groups 2025-08-25 17:40:38 +02:00
b091e0e98d common: panic if the config is unresoveable
either branch for project config must be defined in the config, OR
it can be fetched as default branch from Gitea. If neither happens,
it's best not to do any guessing here
2025-08-25 17:04:43 +02:00
cedb7c0e76 Add Container files 2025-08-25 13:53:09 +02:00
7209f9f519 update READMEs for workflow bots 2025-08-25 11:32:51 +02:00
bd5482d54e status: use toplevel window for opening links 2025-08-24 19:36:40 +02:00
bc95d50378 [group-review]: Add config options 2025-08-23 13:04:58 +02:00
fff996b497 [group-review]: submitter member of group
submitter cannot be reviewer. Added to the help message

Closes: #59
2025-08-22 17:50:30 +02:00
2b67e6d80e group-review: Add Silent option
Closes: #60
2025-08-22 17:39:29 +02:00
5a875c19a0 PR: handle issues webhooks
These issues have to be associated with a PR. Otherwise processing
is ignored. We need these to handle comments to bot
2025-08-22 16:28:43 +02:00
538698373a common: API can fail... 2025-08-22 15:30:09 +02:00
84b8ca65ce staging: adapt to updated result types 2025-08-22 15:03:02 +02:00
a02358e641 PR: proces PRs on comments too, like "merge ok" 2025-08-22 14:59:24 +02:00
33c9bffc2e Merge messages and handle gitea manual merge race 2025-08-22 13:55:04 +02:00
4894c0d90a mark manual merge instead of relying on Gitea -- delays? 2025-08-22 09:07:34 +02:00
090c291f8a prjgit manual merge check 2025-08-21 17:39:52 +02:00
42cedb6267 Verify that pool is sha256 2025-08-21 17:38:51 +02:00
f7229dfaf9 Merge branch 'main' of src.opensuse.org:adamm/autogits 2025-08-19 17:30:16 +02:00
Jan Zerebecki
933ca9a3db Fix PR link
to use ! instead of # . The later is for issues and only works due to
a redirect, which currently fails in gitea if a repo has its issue
tracker disabled.
2025-08-19 16:27:39 +02:00
390cb89702 import: import SHA1 -> SHA256 repos
Also, always import all files to LFS when exported from scmsync
archives, as more often than not they are forgotten
2025-08-17 19:51:01 +02:00
6cbeaef6f2 import: import SHA1 -> SHA256 repos
Also, always import all files to LFS when exported from scmsync
archives, as more often than not they are forgotten
2025-08-17 19:43:45 +02:00
d146fb8c4e common: add last-updated obs status field 2025-08-13 17:05:47 +02:00
7e78ee83c1 common: fix detection of branches 2025-08-13 17:04:48 +02:00
17e925bfd7 importer: follow scmsync'ed repos HEAD 2025-08-13 16:45:47 +02:00
878df15e58 Merge branch 'main' of src.opensuse.org:adamm/autogits 2025-08-13 12:48:35 +02:00
c84af6286d Fix crash on connection
Setting channel object in Rabbit listener object.
2025-08-12 11:29:25 +02:00
d2cbb8fd34 importer: rework according to updated git-importer 2025-08-12 10:38:50 +02:00
8436a49c5d br: build results as svg for packages 2025-08-05 16:08:52 +02:00
106e36d6bf importer: use -packages instead of -package
Improve docs to allow multiple packages specified and how
2025-07-29 13:19:39 +02:00
0ec4986163 importer: continue processing repos ...
continue vs. break issue
2025-07-29 13:16:43 +02:00
fb7f6adc98 importer: allow multiple packages in the -package param 2025-07-28 20:07:07 +02:00
231f29b065 Merge remote-tracking branch 'gitea/main' 2025-07-28 14:04:31 +02:00
3f3645a453 importer: remove branches when exist
Don't generate errors on imports that we ignore. Problem is this
slows donw the import
2025-07-28 14:03:20 +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: #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