Commit graph

2,533 commits

Author SHA1 Message Date
dccf6fad40 Add script for bulk ACL removal from dist-git packages
Automates the common releng ticket pattern where a packager requests
removal from packages they have commit/collaborator access on but
cannot self-service remove.
2026-09-03 12:33:23 +05:30
739c51cb05 Make the FTI policy link in Bugzilla clickable
Fixes https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/thread/5UDQR67E2PKJFVF2WSQJRLEXCBXERSW5/
2026-08-25 11:13:33 +02:00
cc3be76d36 [feat] Automate creation of openjdk sidetag at the time of branching.
Fixes: releng/tickets#13481

Signed-off-by: Samyak Jain <samyak.jn11@gmail.com>
2026-08-21 08:55:36 +05:30
4dceb5c56b branching / koji_release_tags: set noarch_arches on new rawhide
We set noarch_arches to a subset of arches because we don't want to run
them on s390x (limited resources) or i686 (32bit buildroots mess up some
things).

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2026-08-13 11:19:18 -07:00
eb6dfe5837 Update FTI tooling for rawhide being Fedora 46 2026-08-11 19:45:06 +02:00
Patrik Polakovič
e044185cb0 F45 Mass Branching: Update relevant scripts
Signed-off-by: Patrik Polakovič <patrik@alphamail.org>
2026-08-10 14:23:29 +02:00
261d7e90e6 Add F45 & F46 keys to koji_rpm_signer
Signed-off-by: jnsamyak <jnsamyak@noreply.forge.fedoraproject.org>
2026-08-04 12:23:43 +00:00
3f58f4ab5a ccp: add a component type layer to match critpath
This adds one more layer to the output dict, to match critpath
and allow for the possibility that we'll provide info on compose-
critical things that *aren't* packages in future (which would
make the script name a misnomer, but never mind).

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2026-07-22 16:59:14 -07:00
a30b8249cb critpath.py: fix non-'all' mode
The last commit inadvertently broke the non-'all' mode by not
putting its output filenames into lists as the output code now
expects.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2026-07-22 16:58:21 -07:00
e425280117 [bugfiling] fixing linting and update the rebuild id
Signed-off-by: Samyak Jain <samyak.jn11@gmail.com>
2026-07-21 23:02:16 +05:30
13da699f85 [bugfiling] FTBFS bug filing post F45 Mass Rebuild - Update f46 ftbfs bz tracker
Signed-off-by: Samyak Jain <samyak.jn11@gmail.com>
2026-07-21 22:37:00 +05:30
8296c2111f
mass-rebuild: fix f45 epoch to be actually before the first build 2026-07-21 10:21:59 +02:00
baff347cfc Add wrapper to generate legacy .composeinfo from composeinfo.json
Introduce build_composeinfo_wrapper.py, which uses compose-utils
legacy conversion when Pungi metadata is available and adds a
release_type field under [product]. Falls back to the existing treeinfo
walker when composeinfo.json is not present.

Signed-off-by: Samyak Jain <samyak.jn11@gmail.com>
2026-07-21 00:23:07 +00:00
f4f7239ba9 Add release_type field to .composeinfo to differentiate Beta/Final (#9841)
Signed-off-by: Samyak Jain <samyak.jn11@gmail.com>
2026-07-21 00:23:07 +00:00
1c58ecac25 Add more minor string fixes
Signed-off-by: Samyak Jain <samyak.jn11@gmail.com>
2026-07-21 00:23:07 +00:00
fd8b4048fc docs: rewrite scripts README now that migration is complete
Signed-off-by: jnsamyak <samyak.jn11@gmail.com>
2026-07-16 08:58:40 +00:00
26278a8bf3 Restore mass rebuild restart skips and fix live logging.
Skip packages that already have a checkout, so interrupted runs
Resume past cloned trees instead of deleting and recloning.
Line-buffer output for tee, we used to do it in the last script.

Signed-off-by: jnsamyak <samyak.jn11@gmail.com>
2026-07-15 18:35:14 +00:00
64e7c8dad5 Fix mass rebuild retry logic for safer first run - shorten backoff
Signed-off-by: Samyak Jain <samyak.jn11@gmail.com>
2026-07-15 22:48:50 +05:30
Patrik Polakovič
6252b47ca4 Update mass rebuild scripts for F45
Signed-off-by: Patrik Polakovič <patrik@alphamail.org>
2026-07-15 19:14:18 +02:00
f43e5cdfd9 ccp.py: add an 'all' mode that works like critpath.py
This is probably what we want for Bodhi purposes. It only operates
on Branched and Rawhide...we could work on the container and cloud
composes for stable releases and get a 'compose critical' set
that way, but we can't get the source packages, and it's of
questionable value anyway.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2026-07-13 16:43:44 -07:00
37d1adba81 ccp.py: drop useless function, make spacing consistent
Whoops, left an empty function from an earlier design lying around
and the spacing between functions wasn't consistent.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2026-07-08 09:14:32 -07:00
7ee2a67bb1 Drop scripts_new from paths in various places
We got rid of scripts_new months ago.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2026-07-08 08:31:14 -07:00
6f499e16b7 Update pagure.io references to forge.fp.o appropriately
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2026-07-08 08:31:14 -07:00
ec9c972fec Add ccp.py - compose-critical package list generation script
This adds ccp.py - a script for generating the "compose-critical
package list" for a given compose. It's a bit of a WIP but it
does already work and give you a fairly useful list (as a flat
text file for now).

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2026-07-07 16:19:42 -07:00
6ebadaead5 fix indentation and method declaration
Signed-off-by: Samyak Jain <samyak.jn11@gmail.com>
2026-06-11 12:40:05 +05:30
1340c24b06 fix verified method in mass-tag script
Signed-off-by: Samyak Jain <samyak.jn11@gmail.com>
2026-06-11 12:33:24 +05:30
1d2b3fdb50 infrastructure/messaging: correct path to fedora_messaging_logger.py
We got rid of the scripts_new dir months ago, in
releng/tooling#13003 .

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2026-06-09 13:36:37 -07:00
Patrik Polakovič
90cac0cfc9 Fedora 42 is now End Of Life
Signed-off-by: Patrik Polakovič <patrik@alphamail.org>
2026-05-28 11:00:13 +02:00
d6b0c509b4
packages: read $PAGURE_TOKEN instead of fedscm-admin config
fedscm-admin is retired.
2026-05-19 13:20:34 -05:00
4e01068563 releng: point failed compose cleanup at Forgejo
compose-tracker-issues lives on forge.fedoraproject.org now, so this
script lists and closes open tickets there instead of Pagure.

Signed-off-by: Samyak Jain <samyak.jn11@gmail.com>
2026-05-12 20:40:52 +05:30
82898e7343 release-process/atomic: Drop ppc64le
See: https://fedoraproject.org/wiki/Changes/AtomicDesktopsNoPpc64le
2026-05-06 22:54:47 +02:00
adc84f9089 release-process/atomic: Add COSMIC-Atomic
Fixes: releng/tickets#13339
Fixes: cosmic/SIG#9
2026-05-06 22:54:11 +02:00
b601db6191 orphaned: update for F44 branching 2026-04-20 10:57:03 -05:00
6dd2abe395 orphaned: remove golang-* package special note 2026-04-20 10:57:03 -05:00
c212ac6967 orphaned: update unretire package ticket link 2026-04-20 10:57:03 -05:00
ac7f65a870 orphaned: various improvements to retire script
- Clone each package repository into a separate temporary directory and delete
  it before moving on to the next package to avoid filling up TMPDIR
  when retiring many packages at once.
- Ignore comments in package list file
- Flush log file after each package write
- Set Git author to Orphaned Packages Process
- Add naive retry logic for git operations to workaround distgit
  instability — thanks AI scrapers :(
- Clean up package listing code
2026-04-20 10:57:03 -05:00
9bfeab1fb7 distgit: fix Koji param types, handle missing task_id, and pygit2 commit id
Signed-off-by: Samyak Jain <samyak.jn11@gmail.com>
2026-04-08 09:39:07 +05:30
f6ced9b294 Update branching scripts for new fNN-build tag permission policy
Signed-off-by: Samyak Jain <samyak.jn11@gmail.com>
2026-03-25 13:03:35 +05:30
c4de8713f5 fix(mass_tag): fixing keyerror
Signed-off-by: Anton Medvedev <amedvede@redhat.com>
2026-03-24 10:34:58 +00:00
c6f9ec4515 feat(removing_unwanted_tarball): adding scripts that used for removing unwanted tarball from git history
Signed-off-by: Anton Medvedev <amedvede@redhat.com>
2026-03-23 13:43:42 +01:00
Patrik Polakovič
73a6cd86c6 Update GCC snapshot build tag as part of mass branching
Signed-off-by: Patrik Polakovič <patrik@alphamail.org>
2026-03-13 13:06:18 +01:00
f6a2e8e744 stage_release.sh: correct instructions, allow omitting unused arg
The $STAGE argument has been unused since @kevin split the script
up and fixed some problems in it. Just removing it could cause
problems if people use old invocations fron history or something,
though, so let's allow either passing it or not passing it and
print a warning if it's passed.

Also, update the comment on how the script should be run to
account for the changes to the repository layout and the script's
name.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2026-03-09 08:38:06 -07:00
d964027a7b More refine the mass rebuild script with the feedback recieved
Signed-off-by: Samyak Jain <samyak.jn11@gmail.com>
2026-03-08 03:44:23 +00:00
e24d42617d Add codeowners for releng tooling repo
Signed-off-by: Samyak Jain <samyak.jn11@gmail.com>
2026-02-09 12:25:29 +05:30
2ac275f887 create_empty_repositories: drop last Modular mentions
We don't do modularity anymore.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2026-02-08 14:13:17 +00:00
85ae9e2af3 critpath.py: output Rawhide data under both 'rawhide' and 'fXX'
Currently we write the data for Rawhide to rawhide.json and
rawhide.txt. This is how Bodhi expects to find it...so long as
the release in question *still is* Rawhide. But there's a timing
issue at branching: the release that was Rawhide suddenly no
longer is, and its branch name changes to fXX, so now Bodhi will
look for the critpath data as fXX.json or fXX.txt. From the time
the Bodhi branch name is changed until the first time critpath
generation runs after a Branched compose has completed and been
synced, Bodhi will no longer have critpath data for the release
and will consider all updates non-critpath, which is bad.

This should completely avoid the problem by just *always* writing
the Rawhide critpath data under both names, so at branching, until
we get 'correct' fresh critpath data for the newly-branched release
we will at least just apply the latest Rawhide critpath to it.

Having the numbered files when we don't need them shouldn't cause
any problems. And given the way this script is written it also
should never be possible for us to write Rawhide numbered files
over top of Branched numbered files. So I'm pretty sure it should
be safe to always do this.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2026-02-06 20:59:34 +00:00
6659b45723 Update links in the FTI comments 2026-02-06 19:37:31 +00:00
0f3f718d5a Update FTI tooling for rawhide being Fedora 45 2026-02-06 19:31:58 +00:00
4f9b7afd3f critpath.py: tolerate repo failure for alternate arches
...like right now, after branching, we're blowing up because alt
arches aren't synced for some reason. We'd rather have some
critpath than no critpath at all, thanks.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2026-02-05 23:56:19 -08:00
47de7d670b create_empty_repositories: fix for dropped things
We no longer have Modular updates
We no longer ship i686 updates
We no longer ship armhfp (32bit arm) updates.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2026-02-05 11:34:03 -08:00