A collection of miscellaneous packaging-related utilities
  • Python 74.7%
  • Shell 25.3%
Find a file
Miroslav Suchý 6e8078c9f5 check*: add --ignore-groups to skip group-inherited packages
Packages where user is maintainer only through FAS group membership
(not explicitly listed in access_users) can now be filtered out.
Uses Pagure API access_users/access_groups distinction.

Assisted-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-06-25 12:56:02 +02:00
check-packit-pull-from-upstream check*: add --ignore-groups to skip group-inherited packages 2026-06-25 12:56:02 +02:00
check-release-monitoring check*: add --ignore-groups to skip group-inherited packages 2026-06-25 12:56:02 +02:00
create-packit-pull-from-upstream add scripts to check status of release-monitoring and Packit automation 2026-06-25 11:11:27 +02:00
fedora-getspecs Minor cleanups. 2018-07-03 13:35:37 -05:00
find-buildroot Look for conditional definitions of BuildRoot:. 2018-07-10 14:37:07 -05:00
find-do-not-touch-my-package add script which lists packages which should not be touched 2018-07-30 14:47:19 +02:00
find-installinfo-calls One script for both ldconfig and install-info. 2018-06-28 18:10:49 -05:00
find-ldconfig-calls One script for both ldconfig and install-info. 2018-06-28 18:10:49 -05:00
find-needless-defattr Handle missing/unreadable input dir. 2018-07-10 01:25:35 -05:00
find-orphaned-packages Fix branch name in find-orphaned-packages 2021-02-04 13:34:21 +01:00
find-package-maintainers use pregenerated information about maintainers 2018-02-18 17:44:35 +01:00
find-scriptlets-matching Fix missing '$'. 2018-06-28 21:53:01 -05:00
README.rst add scripts to check status of release-monitoring and Packit automation 2026-06-25 11:11:27 +02:00

Miscellaneous Utilities for Fedora Packaging
============================================

This repository contains some random utilities related to Fedora packaging.

check-packit-pull-from-upstream
-------------------------------

Checks if packages you maintain has Packit config with pull-from-upstream job
defined.

check-release-monitoring
------------------------

Checks if packages you maintain has Fedora entry at
https://release-monitoring.org/

create-packit-pull-from-upstream
--------------------------------

Create Packit config with pull-from-upstream job using data retrieved from
https://release-monitoring.org/

find-package-maintainers
------------------------

Accepts a file of source package names, one package name per file.  This should
just be the name, not including any version/release information.

Outputs two lists to stdout:

* One listing each package alongside all of that package's maintainers

* One listing each maintainer alongsize all of the packages in the list which
  they maintain.

fedora-getspecs
---------------

Will download and unpack the nightly specfile tarball or git checkout seed.

find-buildroot
--------------

Finds all specfiles in a given directory which contain the BuildRoot: tag
(regardless of case).

find-needless-defattr
---------------------

Will find all specfiles in a given directory which include %defattr statements
immediately following a %files section which only set the default values.

find-scriptlets-matching
------------------------

Will work through a tree of binary RPMs, find all those which contain
scriptlets matching a given pattern (outside of comments) and produce a list of
the corresponding source packages.

For convenience, will look for ldconfig and install-info calls when called as
find-ldconfig-calls and find-installinfo-calls, respectively.

find-orphaned-packages
----------------------

This lists all orphaned packages that are not retired on master.
Needs Python 3.7 and aiohttp.