Skip to content

feat(sle-check): add SLES productcompose maintainership ReviewBot#3339

Draft
gyr wants to merge 2 commits into
openSUSE:masterfrom
gyr:feature/sle-check-maintainership-bot
Draft

feat(sle-check): add SLES productcompose maintainership ReviewBot#3339
gyr wants to merge 2 commits into
openSUSE:masterfrom
gyr:feature/sle-check-maintainership-bot

Conversation

@gyr

@gyr gyr commented Jul 8, 2026

Copy link
Copy Markdown
Member

Reviews products/SLES PRs. For each PR:

  1. it fetches the SLFO _maintainership.json once, validates that every maintainer login is a confirmed OBS account
  2. if the PR changes 000productcompose/default.productcompose, resolves the binaries it adds to their source packages and reports sources with no maintainer (orphans)

Both checks decline the review (aggregated), with the reason in the review body and the logs.

  • OBS access uses the osc library
  • Gitea access uses the platform API

…h tests

Signed-off-by: Gustavo Yokoyama Ribeiro <gyribeiro@suse.com>
@gyr
gyr marked this pull request as draft July 8, 2026 18:53
…inary search

The orphan check resolved productcompose binaries to SLFO sources only via the
static view=info&parse=1 subpacks map, which omits build-time-generated names
(KMPs, kernel livepatches, python-flavor subpackages). Those binaries were
silently marked "not checked", letting orphan sources slip through the gate.

Add a hybrid fallback: binaries the static map cannot resolve are re-queried
against the published-binary index (/search/published/binary/id, filtered to
SUSE:SLFO:Main) and merged back. _BINARY_RE guards the XPath match= parameter.

Signed-off-by: Gustavo Yokoyama Ribeiro <gyribeiro@suse.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant