Skip to content

fedora-copr/copr-rebuild-tools

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

97 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

copr-rebuild-tools

This repository contains tools for launching mass rebuilds of packages in Copr build service.

Features

  • Multiple backends for various programming langues package managers
  • Submiting all packages from given backend
    • Limitable
    • Possibility to specify the last submited package and continue from following one
  • Possibility to submit only new packages (or only new versions of packages)
  • Possibility to rebuild only given set of packages
  • Statistics of success rate

Backends

Name Key URL
PyPI pypi pypi.python.org
RubyGems rubygems rubygems.org
Tito tito github.com/dgoodwin/tito

You are welcome to write your own backend. Please see a guide describing how to do it.

Configuration

See config directory for examples.

Usage

See configuration and backends sections. Also see --help for possible actions.

copr-rebuild -c <config> <backend> <action>

Examples

The most basic usage, build all RubyGems packages in Copr

copr-rebuild -c config/production.ini rubygems submit

To submit only such RubyGems packages that are not yet (successfully) built in Copr.

copr-rebuild -c config/production.ini rubygems submit --new-packages

To submit only RubyGems packages with new versions that weren't built in Copr yet. This includes packages that weren't built in Copr at all.

copr-rebuild -c config/production.ini rubygems submit --new-versions

In case the submitting was interrupted (network issue, etc), we don't have to start all over. Let's say the latest submitted package was foo. We can resume the rebuild from there.

copr-rebuild -c config/production.ini rubygems submit --previous foo

For development purposes, it is possible to limit the number of submitted packages.

copr-rebuild -c config/production.ini rubygems submit --limit 100

The --previous and --limit can be combined together to some sort of offset-limit pagination.

copr-rebuild -c config/production.ini rubygems submit --previous foo --limit 100

Rebuild only such packages, that was possible to build or at least import in another chroot.

copr-rebuild -c config/production.ini rubygems submit --based-on fedora-rawhide-x86_64

To print information about how many of the RubyGems packages succeeded, failed to import, failed to build, etc.

copr-rebuild -c ~/config.ini rubygems stats

To list all successfully built RubyGems packages in Copr.

copr-rebuild -c ~/config.ini rubygems successful

About

Tools for launching mass rebuilds in Copr

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages