Giter Site home page Giter Site logo

copr-rebuild-tools's Introduction

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

copr-rebuild-tools's People

Contributors

frostyx avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

Forkers

dturecek frostyx

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.