A collection of miscellaneous packaging-related utilities
- Python 74.7%
- Shell 25.3%
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> |
||
|---|---|---|
| check-packit-pull-from-upstream | ||
| check-release-monitoring | ||
| create-packit-pull-from-upstream | ||
| fedora-getspecs | ||
| find-buildroot | ||
| find-do-not-touch-my-package | ||
| find-installinfo-calls | ||
| find-ldconfig-calls | ||
| find-needless-defattr | ||
| find-orphaned-packages | ||
| find-package-maintainers | ||
| find-scriptlets-matching | ||
| README.rst | ||
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.