fixed spamming comments on package PRs when build is in progress #3

Open
atartamo wants to merge 18 commits from feature/forward_buildstatus_to_pkgpr into ibs_state

18 Commits

Author SHA256 Message Date
Antonello Tartamo
ee288124cc fixed check for multiple repos and architectures, added a link to the OBS project 2026-01-28 14:19:46 +01:00
Antonello Tartamo
7473609e83 fixed spamming comments on package PRs when build is in progress 2026-01-28 13:07:34 +01:00
Antonello Tartamo
442b3d7c0f Forward build status to package PR/s 2026-01-27 16:50:40 +01:00
6ffb596aba Add an "lfs fsck" check after submodule update
to avoid merging pull requests where lfs objects are not correctly
registered. Can happen when user has not installed lfs for example.
2026-01-14 10:20:40 +01:00
d024c1f786 Transfer WIP: from package pool requests to project 2026-01-13 14:43:47 +01:00
72ec17d783 Disable temporary comment adding in case of lacking permissions 2026-01-13 14:43:47 +01:00
7a3e1f6611 pr: only update PR if elided title not changed
Gitea trims long titles so we need to compare if the trimmed length
is same, not entire string that will always differ.
2026-01-13 14:43:47 +01:00
b315ee22cc Support remote source in pull requests
This requires write permission by maintainer there
2026-01-13 14:43:47 +01:00
414ba2956b workflow-direct: use relative path when adding a submodule
This solves the issue of using the right credentials based on the
main repo.
Also it allows to rename the organisation.
2026-01-13 14:43:47 +01:00
9cf35e1203 HACK: disable close of pullrequests for now
it hit too many ones
2026-01-13 14:43:47 +01:00
df3618a124 workflow-pr: don't crash when no submodule got changed
eg. config changes only
2026-01-13 14:43:47 +01:00
50fe524467 obs-staging-bot: Get rid of reference project results entirely
Currently all our release managers insist anyway of only green states
2026-01-13 14:43:47 +01:00
3645fd6e1b obs-staging-bot: fix wrong acceptance step 2
remove more code to ignore reference project entirely
2026-01-13 14:43:47 +01:00
4db25ed1a2 Fix build status check when package source is in subdir
We must not use the upper directory name as part of the package name.
2026-01-13 14:43:47 +01:00
8f260f7d93 obs-staging-bot: fix wrong acceptance
Any pull request with multiple packages was always successful, just when
one package  was successful build.

Dropping the "someSuccess" handling for now since it is currently
broken and I got also complaints that we anyway never should accept
broken submissions. Even when the failure did exist before.

This would anyway break an mainteannce/patchinfo build.

We may want to add a config option to allow the again under given
circumstances.
2026-01-13 14:43:47 +01:00
d64e0512f9 obs-staging: fix onlybuild for subdirectories
The parameter only takes a package name, but not a full subdirectory
string. So we hand over only the last part behind a / here
2026-01-13 14:43:47 +01:00
77ef52f317 obs_staging: fix results compare
Esp. with multiple repositories:
* j counter was not reset
* wrong limit of results used (from reference not stage project)
* package name compare using == was always wrong (and unneeded here)
2026-01-13 14:43:47 +01:00
9d2dbb1235 Staging: include also changed directories
Projects which are not using submodules as package directories
still need to be handled in stagings.
2026-01-13 14:43:47 +01:00