/rmt

RPM repository mirroring tool and registration proxy for SUSE Customer Center.

Primary LanguageRubyOtherNOASSERTION

Repository Mirroring Tool

Integration tests Code Climate Coverage Status

This tool allows you to mirror RPM repositories in your own private network. Organization (mirroring) credentials are required to mirror SUSE repositories.

The SLE RMT Book contains the end-user documentation for RMT. man pages for rmt-cli are located in the file MANUAL.md.

If you would like to contribute to RMT, please see our contribution guide.

If you would like to compare RMT to its predecessor SMT, please see our writeup.

Supported repository types and compressions:

RMT allows mirroring the following types of repositories:

  (rpm) repomd                  - fully supported
  (deb) debian flat structure   - experimental
  (deb) debian nested structure - experimental

Check Debian Repository Format for more information regarding Debian repository structure and createrepo repository for information about the repomd format.

Due to a huge possible variety of compression formats used in repositories. RMT does support the following compression formats:

  (.gz)  GNU Gzip compression algorithm
  (.bz2) Burrows–Wheeler algorithm
  (.zst) Zstandard algorithm

If you encounter a repository with different compression and want support in RMT, please open an issue and let the RMT development team know!

Mirroring none SUSE repositories using RMT

RMT provides a mechanism to mirror custom repositories, named custom repositories.

$ rmt-cli repos custom add <URL> <identifier>

For repomd based repositories, the URL must lead to the top level directory of the repository (in which the repodata directory can be found) Example:

$ rmt-cli repos custom add https://download.opensuse.org/tumbleweed/repo/oss/ tumbleweed

For debian based repositories, the URL must specify the release directory Example:

$ rmt-cli repos custom add http://ftp.debian.org/debian/dists/sid/ debian-unstable

Installation of RMT

Please view our guide to assist you in the RMT installation process.

Development setup of RMT

Check out development readme for more information.

Feedback

Do you have suggestions for improvement? Let us know!

Go to Issues, create a new issue and describe what you think could be improved.

Feedback is always welcome!

Security Policy

Please see our security policy for more information.