Usage demo • Installation • Usage • CI Status • License
rep
is a DNF/YUM repository management utility.
Usage demo
Installation
sudo yum install -y https://pkgs.kaos.st/kaos-repo-latest.el$(grep 'CPE_NAME' /etc/os-release | tr -d '"' | cut -d':' -f5).noarch.rpm
sudo yum install rep
Containers
Official rep
images available on GitHub Container Registry and Docker Hub. Install the latest version of Podman or Docker, then:
curl -fL# -o rep-container https://kaos.sh/rep/rep-container
chmod +x rep-container
sudo mv rep-container /usr/bin/rep
mkdir /opt/rep
export REP_DIR=/opt/rep
# Create repository configuration in /opt/rep/conf (use common/repository.knf.example as an example)
rep init src x86_64
rep add my-package.el7.x86_64.rpm
Official Docker images with rep
:
Usage
Usage: rep {options} {command}
Notice that if you have more than one repository you should define its name as
the first argument. You can read detailed info about every command with usage
examples using help command.
Commands
init arch… Initialize new repository
gen-key Generate keys for signing packages
list filter List latest versions of packages within repository
find query… Search packages
which-source query… Show source package name
info package Show info about package
payload package type Show package payload
cleanup num filter Remove old versions of packages
check errors-num Check repositories consistency
sign file… Sign one or more packages
resign Resign all packages in repository
add file… Add one or more packages to testing repository
remove query… Remove package or packages from repository
release query… Copy package or packages from testing to release repository
unrelease query… Remove package or packages from release repository
reindex Create or update repository index
purge-cache Clean all cached data
stats Show some statistics information about repositories
help command Show detailed information about command
Options
--release, -r Run command only on release (stable) repository
--testing, -t Run command only on testing (unstable) repository
--all, -a Run command on all repositories
--arch, -aa arch Package architecture (helpful with "info" and "payload" commands)
--move, -m Move (remove after successful action) packages (helpful with "add" command)
--no-source, -ns Ignore source packages (helpful with "add" command)
--ignore-filter, -if Ignore repository file filter (helpful with "add" and "sign" commands)
--postpone-index, -pi Postpone repository reindex (helpful with "add", "remove", "release", and "unrelase" commands)
--force, -f Answer "yes" for all questions
--full, -F Full reindex (helpful with "reindex" command)
--show-all, -A Show all versions of packages (helpful with "list" command)
--status, -S Show package status (released or not)
--epoch, -E Show epoch info (helpful with "list" and "which-source" commands)
--pager, -P Use pager for long output
--no-color, -nc Disable colors in output
--help, -h Show this help message
--version, -v Show version
CI Status
Branch |
Status |
master |
|
develop |
|
License
Apache License, Version 2.0