86acfa6871
pr: set staging auto label according to config
...
falls back to staging/Auto if nothing is set
2025-11-20 16:25:06 +01:00
7f09b2d2d3
common: match project config before packages
...
We need to cycle through all project configs before we try to
match non-project config branches/packages. If we have multiple
project gits in one org, this coudl match wrong config
2025-11-20 13:22:40 +01:00
f3a37f1158
pr: case fold
2025-11-19 19:32:55 +01:00
162ae11cdd
common: init the cache so not null
2025-11-19 15:29:52 +01:00
3ed5ecc3f0
pr: add staging/Auto on new PRs
...
also, cache timeline fetches
2025-11-17 11:01:45 +01:00
4293181b4e
pr: improve logging of review errors
...
when user is missing, log only the missing user
2025-11-12 21:39:26 +01:00
d3ba579a8b
common: fix systemd execution
...
In case when we are running under older systemd that does not set
transient home, we need to improvise when connecting via SSH
and passing the identity file explicitly
2025-11-09 23:10:08 +01:00
0e06ba5993
common: classifying rm branches on name
...
Branches with suffixes
-rm
-removed
-deleted
are now classified as removed. This is important in case project
config refers to default branch names which must exist so we need
to be able to classify such branches to either use them or ignore
them
2025-11-04 18:00:21 +01:00
Jan Zerebecki
e5cad365ee
Run go tests from rpm check
...
Skip some failing tests to be able to run the rest.
Add missing config to make git commit succeed inside rpmbuild.
2025-10-27 14:42:21 +01:00
Jan Zerebecki
5ce92beb52
Add go generate result
2025-10-24 10:39:34 +02:00
fa647ab2d8
status: do not marshall empty XMLName in json
2025-10-15 18:24:52 +02:00
19902813b5
status: fix xml output
2025-10-15 18:09:21 +02:00
d623844411
pr: do not fail checkout
2025-10-13 18:37:42 +02:00
04825b552e
pr: use force-merge instead of force-push
...
The permission is to accept a change without required reviews, not
to actually force-push
Fixes 7bad8eb5a9
2025-10-12 10:22:49 +02:00
7bad8eb5a9
pr: Add config definitions for permission set
2025-10-09 18:43:56 +02:00
58da491049
common: handle translation to SSH if already SSH
2025-10-07 17:26:27 +02:00
1b9ee2d46a
PR: ref requries PR fetch, and not in timeline
2025-10-02 15:13:43 +02:00
b7bbafacf8
PR: limit search to bot account for ProjectGit PRs
2025-10-02 13:45:31 +02:00
1390225614
PR: list missing PRs in the logs
2025-09-29 14:58:43 +02:00
2092fc4f42
Fix handling of all project flags
...
We skipped access and sourceaccess flags before
2025-09-24 09:33:29 +02:00
d2973f4792
PR: only consider open PR when creating new PRs
2025-09-21 23:21:40 +02:00
8af7e58534
common: handle group data in PR reviews
2025-09-16 18:13:35 +02:00
043673d9ac
common: handle ReviewGroup in maintainership data
...
ReviewGroups can be added as maintainers and can be optionally
expanded. This is handy when a ReviewGroup is a project maintainer
2025-09-16 17:40:18 +02:00
73737be16a
rabbitmq: add support for forwarding status events to Rabbit
2025-09-16 13:23:43 +02:00
1cd385e227
common: handle case of non-existing config file
2025-09-11 16:56:03 +02:00
ff7df44d37
staging: assume changed directories are packages
...
Ignore any non-top level direcotries here. This should be fixed
to handle _manifest files
2025-09-11 14:56:27 +02:00
6a09bf021e
Revert "common: use X-Total-Count in multi-page results"
...
This reverts commit 5addde0a71 .
2025-09-11 09:34:13 +02:00
6a71641295
common: take care of empty result sets
...
In case of empty result pages, we should ignore the X-Total-Count
header.
Fixes: 5addde0a71
2025-09-03 12:21:07 +02:00
5addde0a71
common: use X-Total-Count in multi-page results
2025-09-03 01:00:33 +02:00
90ea1c9463
common: remove duplicate
2025-09-02 20:50:23 +02:00
833cb8b430
PR: marshall config before logging it
2025-08-28 18:13:11 +02:00
305e90b254
common: fix logging format string
2025-08-28 13:09:32 +02:00
72b979b587
PR: remove closed package PRs from a PRset
...
This used to happen as a side-effect of a different code path
that was removed in b96b784b38
2025-08-27 14:57:43 +02:00
bb4350519b
common: fix invalid log message
...
Log message complained about request processing even when
it finished request processing.
2025-08-27 14:54:32 +02:00
62658e23a7
PR: quiet submodule deinit output
2025-08-27 14:49:16 +02:00
6a1f92af12
tests: comment out tests that crash
2025-08-27 11:49:26 +02:00
24ed21ce7d
tests: fix panics
2025-08-26 23:51:14 +02:00
6864e95404
PR: merge correct branches
...
Add sanity check that we merge correct branches too
2025-08-26 19:43:51 +02:00
0ba4652595
common: use older git --heads instead of --branches
2025-08-26 19:17:32 +02:00
7b87c4fd73
PR: fix parsing of project prs in timeline
...
Fixes: 933ca9a3db
2025-08-26 17:56:38 +02:00
7d2233dd4a
PR: add NoProjectGitPR option
2025-08-26 16:19:56 +02:00
c30ae5750b
PR: clone fixes
2025-08-26 15:47:58 +02:00
5b1e6941c2
PR: typo in command line
2025-08-26 11:39:52 +02:00
923bcd89db
common: timeline items can be null?
2025-08-26 11:36:51 +02:00
7e055c3169
Merge branch 'jzerebecki-fix-pr-link'
2025-08-25 19:12:59 +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
2b67e6d80e
group-review: Add Silent option
...
Closes : #60
2025-08-22 17:39:29 +02:00
538698373a
common: API can fail...
2025-08-22 15:30:09 +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