Commit graph

493 commits

Author SHA1 Message Date
79f38debdb Update README.rst (#456)
Signed-off-by: niknikovsky <niknikovsky@noreply.forge.fedoraproject.org>
Reviewed-on: #456
Reviewed-by: Michal Konečný <zlopez@noreply.forge.fedoraproject.org>
2026-11-02 08:04:01 +00:00
Jakub Kadlcik
5dab177ea4 Add a new toddler ApprovedPackageProcessor
All checks were successful
CI / flake8 (pull_request) Successful in 2m5s
CI / format (pull_request) Successful in 2m9s
CI / mypy (pull_request) Successful in 2m19s
CI / python3.11 (pull_request) Successful in 2m20s
CI / python3.12 (pull_request) Successful in 1m42s
CI / python3.13 (pull_request) Successful in 2m25s
CI / python3.14 (pull_request) Successful in 2m27s
See https://discussion.fedoraproject.org/t/fedora-package-review-process-reimagined/198109
2026-10-02 10:10:15 +02:00
72ee5d6676 fix(unretire): only mass-branch-expand the rawhide koji tag
All checks were successful
CI / mypy (pull_request) Successful in 2m34s
CI / flake8 (pull_request) Successful in 2m38s
CI / format (pull_request) Successful in 2m46s
CI / python3.11 (pull_request) Successful in 2m59s
CI / python3.12 (pull_request) Successful in 2m19s
CI / python3.13 (pull_request) Successful in 3m5s
CI / python3.14 (pull_request) Successful in 3m12s
When rawhide and stable branches are requested together, do not add
prior-release koji tags for every fNN in the ticket (e.g. f43 must not
pull in f42). Only expand from the tag rawhide resolved to.

Fixes releng/tickets#13498

Signed-off-by: Samyak Jain <samyak.jn11@gmail.com>
2026-09-08 10:52:52 +05:30
47a8dffc6f Add ci-resultsdb-listener toddler
All checks were successful
CI / python3.11 (pull_request) Successful in 2m34s
CI / mypy (pull_request) Successful in 2m34s
CI / flake8 (pull_request) Successful in 2m51s
CI / format (pull_request) Successful in 2m51s
CI / python3.12 (pull_request) Successful in 2m10s
CI / python3.13 (pull_request) Successful in 3m6s
CI / python3.14 (pull_request) Successful in 3m2s
This is a reimplementation of
https://forge.fedoraproject.org/apps/ci-resultsdb-listener in toddlers.

Signed-off-by: Michal Konecny <mkonecny@redhat.com>
2026-09-02 16:28:16 +02:00
3ecf2ed4f5 Add python3.13 and python3.14 support
All checks were successful
CI / mypy (pull_request) Successful in 2m30s
CI / format (pull_request) Successful in 2m36s
CI / flake8 (pull_request) Successful in 2m43s
CI / python3.11 (pull_request) Successful in 2m53s
CI / python3.12 (pull_request) Successful in 2m15s
CI / python3.13 (pull_request) Successful in 3m6s
CI / python3.14 (pull_request) Successful in 3m11s
Signed-off-by: Michal Konecny <mkonecny@redhat.com>
2026-09-02 13:43:15 +02:00
86e4407720 scm_request_processor: Correctly parse collaborator pattern with commas
scm_request_processor.py checks the requested branch name against the
entire collaborator pattern string.  However, pagure allows this string
to be either a single pattern or multiple comma separated patterns.  In
the latter case, requests that should be approved are rejected.  Adjust
the maintainers set to correctly parse the collaborator pattern with or
without commas.

Signed-off-by: Carl George <carlwgeorge@gmail.com>
2026-08-26 10:59:59 +00:00
dabbd11655 fix(unretire): only expand/unblock koji tags that are actually blocked
All checks were successful
CI / format (pull_request) Successful in 2m28s
CI / python3.11 (pull_request) Successful in 2m42s
CI / flake8 (pull_request) Successful in 2m42s
CI / mypy (pull_request) Successful in 2m43s
CI / python3.12 (pull_request) Successful in 1m29s
After mass branch, include the prior Fedora tag only when it remains
blocked on the package, and skip packageListUnblock for tags that are
not blocked (avoids f45 failures when rawhide resolves to f46).

Signed-off-by: Samyak Jain <samyak.jn11@gmail.com>
2026-08-18 14:48:27 +05:30
778491f786 fix(forgejo): use W2FM comment payload for @releng-bot retry commands
All checks were successful
CI / flake8 (pull_request) Successful in 1m42s
CI / format (pull_request) Successful in 2m37s
CI / mypy (pull_request) Successful in 2m38s
CI / python3.11 (pull_request) Successful in 1m49s
CI / python3.12 (pull_request) Successful in 1m55s
Signed-off-by: Samyak Jain <samyak.jn11@gmail.com>
2026-08-18 13:16:49 +05:30
aef336288d fix(unretire): resolve rawhide koji tags via build target, not literal name
All checks were successful
CI / mypy (pull_request) Successful in 2m35s
CI / format (pull_request) Successful in 2m26s
CI / flake8 (pull_request) Successful in 1m49s
CI / python3.11 (pull_request) Successful in 1m57s
CI / python3.12 (pull_request) Successful in 2m1s
Use koji getBuildTarget for rawhide (matching koji_block_retired) and
include the prior Fedora release tag after mass branch, since koji blocks
may remain on f(N-1) while rawhide already targets f(N).

Signed-off-by: Samyak Jain <samyak.jn11@gmail.com>
2026-08-17 20:50:26 +05:30
4132ec0e9b fix(unretire): support @releng-bot retry on unretirement tickets
Listen for forgejo.issue_comment events and handle help/retry bot
commands the same way scm_request_processor does, so failed unretire
requests can be reprocessed without opening a new ticket.

Signed-off-by: Samyak Jain <samyak.jn11@gmail.com>
2026-08-17 18:31:05 +05:30
f8d570a138 fix(forgejo): limit scm-requests valid/ping to scm-validators team
All checks were successful
CI / flake8 (pull_request) Successful in 1m49s
CI / format (pull_request) Successful in 2m43s
CI / mypy (pull_request) Successful in 2m35s
CI / python3.11 (pull_request) Successful in 1m55s
CI / python3.12 (pull_request) Successful in 1m58s
Use the configured validator_team for exception pings and @releng-bot
valid authz instead of the whole releng org membership list.

Signed-off-by: Samyak Jain <samyak.jn11@gmail.com>
2026-08-06 16:37:38 +05:30
9ca3b39dfa fix(forgejo): accept HTTP 201 when closing issues
All checks were successful
CI / format (pull_request) Successful in 2m48s
CI / mypy (pull_request) Successful in 2m37s
CI / flake8 (pull_request) Successful in 2m48s
CI / python3.11 (pull_request) Successful in 1m50s
CI / python3.12 (pull_request) Successful in 1m53s
Forgejo can return 201 for issue state edits; treating only 200 as
success caused a traceback after the ticket was already closed.

Signed-off-by: Samyak Jain <samyak.jn11@gmail.com>
2026-08-05 21:52:13 +05:30
20d0438ace fix(forgejo): use releng org membership for scm ticket validation
All checks were successful
CI / mypy (pull_request) Successful in 2m26s
CI / flake8 (pull_request) Successful in 2m51s
CI / format (pull_request) Successful in 2m51s
CI / python3.11 (pull_request) Successful in 2m56s
CI / python3.12 (pull_request) Successful in 1m34s
Stop listing team members (403 unless the bot is on the team). Check
GET /orgs/{org}/members for @releng-bot valid and maintainer pings.

Signed-off-by: Samyak Jain <samyak.jn11@gmail.com>
2026-08-05 21:44:34 +05:30
8b8e4d0d76 fix(forgejo): allow org Owners and members to validate scm requests
All checks were successful
CI / flake8 (pull_request) Successful in 2m38s
CI / format (pull_request) Successful in 2m43s
CI / mypy (pull_request) Successful in 2m49s
CI / python3.11 (pull_request) Successful in 2m53s
CI / python3.12 (pull_request) Successful in 1m36s
Forgejo does not list org owners as repo collaborators, so @releng-bot
valid failed for them. Treat write/admin/owner teams and the org
members team as maintainers for the scm-requests queue.

Signed-off-by: Samyak Jain <samyak.jn11@gmail.com>
2026-08-05 21:08:45 +05:30
b76f19fb00 [migration2forgejo] handle unretirement tickets via Forgejo
All checks were successful
CI / flake8 (pull_request) Successful in 2m27s
CI / mypy (pull_request) Successful in 2m38s
CI / format (pull_request) Successful in 2m37s
CI / python3.11 (pull_request) Successful in 1m49s
CI / python3.12 (pull_request) Successful in 1m54s
Move unretire_packages ticket lifecycle off pagure.io onto Forge
(forgejo.issues), keeping dist-git/koji/bodhi unchanged.

Signed-off-by: Samyak Jain <samyak.jn11@gmail.com>
2026-07-20 19:13:40 +05:30
c6d6a8624c [migration2forgejo]fix: make Forgejo SCM CI green (black, mypy, coverage)
All checks were successful
CI / flake8 (pull_request) Successful in 2m33s
CI / mypy (pull_request) Successful in 2m48s
CI / format (pull_request) Successful in 2m57s
CI / python3.11 (pull_request) Successful in 2m57s
CI / python3.12 (pull_request) Successful in 1m33s
Signed-off-by: Samyak Jain <samyak.jn11@gmail.com>
2026-07-14 22:03:29 +05:30
e9478125cc [migration2forgejo]feat: process Forgejo tickets via forgejo util
Some checks failed
CI / format (pull_request) Failing after 2m31s
CI / flake8 (pull_request) Successful in 2m36s
CI / mypy (pull_request) Failing after 2m49s
CI / python3.11 (pull_request) Failing after 2m55s
CI / python3.12 (pull_request) Failing after 1m32s
Signed-off-by: Samyak Jain <samyak.jn11@gmail.com>
2026-07-14 20:11:16 +05:30
1a6e807f90 [migration2forgejo]feat: add W2FM issue topic helpers and normalizer
Signed-off-by: Samyak Jain <samyak.jn11@gmail.com>
2026-07-14 20:11:16 +05:30
c3a7693f0b [migration2forgejo]feat: add thin Forgejo issue API client
Signed-off-by: Samyak Jain <samyak.jn11@gmail.com>
2026-07-14 20:11:16 +05:30
ce0c0accda feat(unretire_packages): deviding the processing of git branches and unblocking koji_tags:
All checks were successful
CI / flake8 (pull_request) Successful in 2m25s
CI / mypy (pull_request) Successful in 2m34s
CI / format (pull_request) Successful in 2m39s
CI / python3.11 (pull_request) Successful in 2m46s
CI / python3.12 (pull_request) Successful in 1m30s
Signed-off-by: Anton Medvedev <amedvede@redhat.com>
2026-05-25 03:41:04 +02:00
4f84f95df2 feat(unretire_packages): added koji auth by keytab
All checks were successful
CI / mypy (pull_request) Successful in 1m16s
CI / format (pull_request) Successful in 1m16s
CI / flake8 (pull_request) Successful in 1m14s
CI / python3.11 (pull_request) Successful in 1m22s
CI / python3.12 (pull_request) Successful in 1m26s
Signed-off-by: Anton Medvedev <amedvede@redhat.com>
2026-05-05 15:31:27 +02:00
ad86ceedc7 feat: new logic for assigning a maintainer and for koji unblock
Some checks failed
CI / mypy (pull_request) Failing after 1m25s
CI / format (pull_request) Failing after 1m19s
CI / flake8 (pull_request) Successful in 1m34s
CI / python3.11 (pull_request) Successful in 1m29s
CI / python3.12 (pull_request) Successful in 1m33s
Signed-off-by: Anton Medvedev <amedvede@redhat.com>
2026-05-02 14:47:21 +02:00
22f5ab252c feat: adding rawhide branch resolution into actual number of branch
All checks were successful
CI / mypy (pull_request) Successful in 1m48s
CI / flake8 (pull_request) Successful in 1m40s
CI / format (pull_request) Successful in 1m39s
CI / python3.11 (pull_request) Successful in 1m46s
CI / python3.12 (pull_request) Successful in 1m48s
Signed-off-by: Anton Medvedev <amedvede@redhat.com>
2026-04-28 21:04:40 +02:00
57813d5a4a feat(scm_request): fixing argument order for anitya check
All checks were successful
CI / mypy (pull_request) Successful in 1m39s
CI / format (pull_request) Successful in 1m35s
CI / flake8 (pull_request) Successful in 1m35s
CI / python3.11 (pull_request) Successful in 1m38s
CI / python3.12 (pull_request) Successful in 1m44s
Signed-off-by: Anton Medvedev <amedvede@redhat.com>
2026-04-17 02:23:45 +02:00
3e766a2df7 fix(unretire) changing close status
All checks were successful
CI / mypy (pull_request) Successful in 1m43s
CI / format (pull_request) Successful in 1m36s
CI / flake8 (pull_request) Successful in 1m37s
CI / python3.11 (pull_request) Successful in 1m41s
CI / python3.12 (pull_request) Successful in 1m48s
Signed-off-by: Anton Medvedev <amedvede@redhat.com>
2026-04-16 18:22:19 +02:00
094b1fa9a0 feat(pagure util): changing request method
All checks were successful
CI / mypy (pull_request) Successful in 1m44s
CI / format (pull_request) Successful in 1m35s
CI / flake8 (pull_request) Successful in 1m36s
CI / python3.11 (pull_request) Successful in 1m40s
CI / python3.12 (pull_request) Successful in 1m44s
Signed-off-by: Anton Medvedev <amedvede@redhat.com>
2026-04-16 04:06:27 +02:00
e898f2e3b5 feat(unretire): clossing issue at the end of processing
All checks were successful
CI / mypy (pull_request) Successful in 1m37s
CI / format (pull_request) Successful in 1m36s
CI / flake8 (pull_request) Successful in 1m36s
CI / python3.11 (pull_request) Successful in 1m42s
CI / python3.12 (pull_request) Successful in 1m50s
Signed-off-by: Anton Medvedev <amedvede@redhat.com>
2026-04-16 03:14:35 +02:00
5def724bf1 feat(unretire): adding dist_git_io
All checks were successful
CI / flake8 (pull_request) Successful in 1m33s
CI / mypy (pull_request) Successful in 1m40s
CI / format (pull_request) Successful in 1m34s
CI / python3.11 (pull_request) Successful in 1m41s
CI / python3.12 (pull_request) Successful in 1m46s
Signed-off-by: Anton Medvedev <amedvede@redhat.com>
2026-04-16 01:20:29 +02:00
f15d5bb07e ref(unretire) small ref changes
All checks were successful
CI / mypy (pull_request) Successful in 1m40s
CI / format (pull_request) Successful in 1m35s
CI / flake8 (pull_request) Successful in 1m34s
CI / python3.11 (pull_request) Successful in 1m40s
CI / python3.12 (pull_request) Successful in 1m48s
Signed-off-by: Anton Medvedev <amedvede@redhat.com>
2026-04-16 00:08:08 +02:00
9cc6626dc2 tests(unretire): fix tests
Some checks failed
CI / mypy (pull_request) Successful in 1m39s
CI / format (pull_request) Failing after 1m35s
CI / flake8 (pull_request) Failing after 1m34s
CI / python3.11 (pull_request) Successful in 1m46s
CI / python3.12 (pull_request) Successful in 1m48s
Signed-off-by: Anton Medvedev <amedvede@redhat.com>
2026-04-15 23:57:24 +02:00
7365c5a326 fix(unretire): error handling
Some checks failed
CI / mypy (pull_request) Successful in 1m39s
CI / format (pull_request) Successful in 1m36s
CI / flake8 (pull_request) Successful in 1m34s
CI / python3.11 (pull_request) Failing after 1m37s
CI / python3.12 (pull_request) Failing after 1m44s
Signed-off-by: Anton Medvedev <amedvede@redhat.com>
2026-04-15 23:23:08 +02:00
9a36262f67
Update ipalib and ipaclient to fix pkg_resources dependency
All checks were successful
CI / mypy (pull_request) Successful in 1m44s
CI / format (pull_request) Successful in 1m38s
CI / flake8 (pull_request) Successful in 1m37s
CI / python3.11 (pull_request) Successful in 1m41s
CI / python3.12 (pull_request) Successful in 1m46s
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
2026-04-09 11:40:39 +02:00
Lenka Segura
c9aa73f5b5 koji_block_retired: do not fail when lookasidejson not found
Signed-off-by: Lenka Segura <lsegura@redhat.com>
2026-03-31 12:29:26 +00:00
df98377608 feat: adding python3-setuptools requirements to Dockerfile
All checks were successful
CI / mypy (pull_request) Successful in 1m39s
CI / format (pull_request) Successful in 1m38s
CI / flake8 (pull_request) Successful in 1m37s
CI / python3.11 (pull_request) Successful in 1m40s
CI / python3.12 (pull_request) Successful in 1m46s
Signed-off-by: Anton Medvedev <amedvede@redhat.com>
2026-03-30 14:06:21 +02:00
ae6e75033f fix(unretire_packages): changing way to recieve kojihub url
All checks were successful
CI / mypy (pull_request) Successful in 1m36s
CI / format (pull_request) Successful in 1m31s
CI / flake8 (pull_request) Successful in 1m30s
CI / python3.11 (pull_request) Successful in 1m35s
CI / python3.12 (pull_request) Successful in 1m41s
Signed-off-by: Anton Medvedev <amedvede@redhat.com>
2026-03-25 14:54:57 +01:00
cb4535e494
Update pagure-messages and a couple other deps
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
2026-03-19 10:31:34 +01:00
1f877a47c6
Update README.rst 2026-03-19 10:23:39 +01:00
Lenka Segura
b3cad6cff7 Cleanup nonpackagers from IPA as well
All checks were successful
CI / mypy (pull_request) Successful in 1m40s
CI / format (pull_request) Successful in 1m40s
CI / flake8 (pull_request) Successful in 1m37s
CI / python3.11 (pull_request) Successful in 1m41s
CI / python3.12 (pull_request) Successful in 1m48s
Signed-off-by: Lenka Segura <lsegura@redhat.com>
2026-03-02 10:13:01 +01:00
2397858f29 Add CI definition for forgejo
All checks were successful
CI / mypy (pull_request) Successful in 1m41s
CI / format (pull_request) Successful in 1m40s
CI / flake8 (pull_request) Successful in 1m41s
CI / python3.11 (pull_request) Successful in 1m44s
CI / python3.12 (pull_request) Successful in 2m7s
With migration to forgejo we need to use forgejo workflows now. Let's
define one in this commit.

Signed-off-by: Michal Konecny <mkonecny@redhat.com>
2026-02-25 12:11:11 +01:00
676994bd87 fix(anitya): fix when project created with custom backend
Signed-off-by: Anton Medvedev <amedvede@redhat.com>
2026-01-22 16:20:31 +01:00
Lenka Segura
5f5386c126 Fix branch adjustment and koji tags
Signed-off-by: Lenka Segura <lsegura@redhat.com>
2026-01-20 16:20:08 +01:00
adbb0ce1b9
Always respect the value of initial_commit when creating new repo
The creation of new repo behaves differently if triggered by the 'retry'
and 'valid' commands. This commit unifies the behavior.
2025-11-20 12:35:07 +01:00
acb844f730
unretire_packages: plugin reintagration
Signed-off-by: Anton Medvedev <amedvede@redhat.com>
2025-11-20 12:35:07 +01:00
708c9ca48a
ref: format changes 2025-11-20 12:35:07 +01:00
d503a54b8b
simplify removing trailed slashes 2025-11-20 12:35:07 +01:00
2ca942c8ff
ref: format changes 2025-11-20 12:35:07 +01:00
3f14bf1b28
added method that tests endpoints on trailing slashes and removes them 2025-11-20 12:35:07 +01:00
0227b75e9f
changing test method describtion so it is crear what it's doing 2025-11-20 12:35:07 +01:00
786f243259
fixing scm_request_processor tests 2025-11-20 12:35:07 +01:00
b99da5bce1
fix mistakes in scm_request_processor 2025-11-20 12:35:07 +01:00