rep

command module
v0.0.0-...-09fc46a Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 22, 2023 License: Apache-2.0 Imports: 2 Imported by: 0

README

GitHub Actions CI Status GoReportCard codebeat badge GitHub Actions CodeQL Status

Usage demoInstallationUsing with DockerUsageCI StatusLicense


rep is a YUM repository management utility.

Usage demo

demo

Installation

From ESSENTIAL KAOS Public Repository

sudo yum install -y https://yum.kaos.st/get/$(uname -r).rpm
sudo yum install rep

Using with Docker

You can use Docker containers for working with your repository. Install latest version of Docker, then:

curl -fL# -o rep-docker https://kaos.sh/rep/rep-docker
chmod +x rep-docker
sudo mv rep-docker /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
  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)
  --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             Run command in "pager" mode (i.e. don't disable colors and don't show raw output)
  --no-color, -nc         Disable colors in output
  --help, -h              Show this help message
  --version, -v           Show version

CI Status

Branch Status
master CI
develop CI

License

Apache License, Version 2.0

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL