Provides the YaST module to configure the Repository Mirroring Tool (RMT) Server.
First read the excellent tutorial 📗 Creating the YaST journalctl module to learn the basics about YaST module development.
yast2-ruby-bindings
RPM package is not available as a gem, YaST runs on the default system-wide Ruby interpreter only (available in the OSS repository).
There different ways to run the module:
rake run
— by default starts Qt interface if it is available;Y2DIR=src/ /usr/sbin/yast2 rmt
— same as above;DISPLAY= rake run
— forces to run in ncurses mode;Y2DIR=src/ /usr/sbin/yast2 --ncurses rmt
— same as above.
It is possible to run the specs in a Docker container:
docker build -t yast-rmt-image .
docker run -it yast-rmt-image rspec