Usage

DESCRIPTION

rebase-helper is a tool which helps package maintainers to rebase their packages to latest upstream versions.

It should be executed from a directory containing spec file, sources and patches (usually cloned dist-git repository).

The new version is specified by SOURCES argument, which can be either version number or filename of the new source archive.

OPTIONS

Positional arguments

SOURCES
new upstream sources

Optional arguments

-h, --help
show help message and exit
-v, --verbose
be more verbose (recommended)
-p, --patch-only
only apply patches
-b, --build-only
only build SRPM and RPMs
--buildtool {copr,rpmbuild,mock}
build tool to use, defaults to mock
--pkgcomparetool {rpmdiff,abipkgdiff,pkgdiff,csmock}
set of tools to use for package comparison, defaults to rpmdiff,abipkgdiff,pkgdiff
--outputtool {text,json}
tool to use for formatting rebase output, defaults to text
--versioneer {pypi,anitya}
tool to use for determining latest upstream version, defaults to anitya
-w, --keep-workspace
do not remove workspace directory after finishing
--not-download-sources
do not download sources
-c, --continue
continue previously interrupted rebase
--non-interactive
do not interact with user
--disable-inapplicable-patches
disable inapplicable patches in rebased SPEC file
--comparepkgs-only COMPAREPKGS_DIR
compare already built packages, COMPAREPKGS_DIR must be a directory with the following structure: <dir_name>/{old,new}/RPM
--builds-nowait
do not wait for remote builds to finish
--build-tasks OLD_TASK,NEW_TASK
comma-separated remote build task ids
--results-dir RESULTS_DIR
directory where rebase-helper output will be stored
--build-retries BUILD_RETRIES
number of retries of a failed build, defaults to 2
--builder-options=BUILDER_OPTIONS
enable arbitrary local builder option(s), enclose BUILDER_OPTIONS in quotes and note that = before it is mandatory