fedora-lxqt / lxqt-update-scripts

Created a year ago
Maintained by ngompa
Scripts used to mass-update LXQt packages in Fedora
Members 2
Steve Cossette committed 4 months ago

Fedora LXQT Update scripts

These scripts are used by the KDE SIG to mass-update KDE packages in Fedora.

clone_packages.py

(TODO: Download a static list of packages)

See clone_packages.py --help for details.

update.py

(As LXQt packages' version are all over the place, this script is largely useless)

Designed to perform updates on rpms packages in a folder. In a typical situation, this script will be executed after triggering a clone_packages.py (refer to its docs for more information)

See update.py --help for details.

Examples

Typical execution:

~/fedora-scm/kde-update-scripts/update.py -v '5.26.90'
~/fedora-scm/kde-update-scripts/update.py -v '5.26.90' --upload

build.py

Smart script for generating chainbuilds. It analyzes dependencies in the SPEC files (by parsing BuildRequires) and creates the most optimal chainbuild groups for Koji or Copr.

See build.py --help for details.

find_missing_deps.py

Parses koji's logs and tries to find missing optional dependencies.

Examples

Typical execution:

find_missing_deps.py  --dist fc39

Package.py

A module that interacts with fedpkg and parse and write RPM SPEC files. It's used by the scripts above to get current SPEC file, parse it, and then write it again with the changes applied (like new version number, changelog entry etc.). It can also create commits and push to distgit.

DependencyScanner.py

A module that can parse dependencies from CMake files and SPEC files, compare them and make sure that the SPEC file has up-to-date dependencies matching those described in the CMake file.