sample-rpkg

Synopsis

sample-rpkg [ global_options ] command [ command_options ] [ command_arguments ]
sample-rpkg help
sample-rpkg command --help

Description

sample-rpkg is a library to build command line appliaction to build RPM, container and module locally or in remote build system.

Global Options

-h, --help

show this help message and exit

--config CONFIG, -C CONFIG

Specify a config file to use

--release RELEASE

Override the discovered release from current branch, which is used to determine the build target and value of dist macro. Generally, release is the name of a branch created in your package repository. –release is an alias of –dist, hence –release should be used instead.

--dist DIST

Deprecated. Use –release instead. You can use –dist for a while for backward-compatibility. It will be disabled in future version.

--module-name MODULE_NAME

Override the module name. Otherwise it is discovered from: Git push URL or Git URL (last part of path with .git extension removed) or from name macro in spec file. In that order.

--user USER

Override the discovered user name

--password PASSWORD

Password for Koji login

--runas RUNAS

Run Koji commands as a different user

--path PATH

Define the directory to work in (defaults to cwd)

--verbose, -v

Run with verbose debug output

--debug, -d

Run with debug output

-q

Run quietly only displaying errors

Commands

sample-rpkg-help
Show usage
sample-rpkg-build
Request build
sample-rpkg-chain-build
Build current package in order with other packages
sample-rpkg-clean
Remove untracked files
sample-rpkg-clog
Make a clog file containing top changelog entry
sample-rpkg-clone
Clone and checkout a module
sample-rpkg-co
Alias for clone
sample-rpkg-copr-build
Build package in Copr
sample-rpkg-commit
Commit changes
sample-rpkg-ci
Alias for commit
sample-rpkg-compile
Local test rpmbuild compile
sample-rpkg-container-build
Build a container
sample-rpkg-container-build-setup
set options for container-build
sample-rpkg-diff
Show changes between commits, commit and working tree, etc
sample-rpkg-gimmespec
Print the spec file name
sample-rpkg-gitbuildhash
Print the git hash used to build the provided n-v-r
sample-rpkg-giturl
Print the git url for building
sample-rpkg-import
Import srpm content into a module
sample-rpkg-install
Local test rpmbuild install
sample-rpkg-lint
Run rpmlint against local spec and build output if present.
sample-rpkg-local
Local test rpmbuild binary
sample-rpkg-mockbuild
Local test build using mock
sample-rpkg-mock-config
Generate a mock config
sample-rpkg-module-build
Build a module using MBS
sample-rpkg-module-build-cancel
Cancel an MBS module build
sample-rpkg-module-build-info
Show information of an MBS module build
sample-rpkg-module-build-local
Build a module locally using the mbs-manager command
sample-rpkg-module-build-watch
Watch an MBS build
sample-rpkg-module-overview
Shows an overview of MBS builds
sample-rpkg-new
Diff against last tag
sample-rpkg-new-sources
Upload source files
sample-rpkg-patch
Create and add a gendiff patch file
sample-rpkg-prep
Local test rpmbuild prep
sample-rpkg-pull
Pull changes from the remote repository and update the working copy.
sample-rpkg-push
Push changes to remote repository
sample-rpkg-scratch-build
Request scratch build
sample-rpkg-sources
Download source files
sample-rpkg-srpm
Create a source rpm
sample-rpkg-switch-branch
Work with branches
sample-rpkg-tag
Management of git tags
sample-rpkg-unused-patches
Print list of patches not referenced by name in the specfile
sample-rpkg-upload
Upload source files
sample-rpkg-verify-files
Locally verify %%files section
sample-rpkg-verrel
Print the name-version-release

Reporting Bugs

Login and create a issue from https://pagure.io/rpkg/issues/.

Notes