#41 It's not clear how to use `rpm2module` command
Opened by ttomecek. Modified

$ ./modtools rpm2module
usage: modtools rpm2module [-h] PKGS [PKGS ...]
modtools rpm2module: error: the following arguments are required: PKGS
$ ./modtools rpm2module python-docker
Can not read configuration: /etc/yum.repos.d/_copr_phracek-PyCharm.repo , ignoring
Failed to synchronize cache for repo 'rust-sig', disabling.
No package found in repo
$ ./modtools rpm2module python3-docker
Can not read configuration: /etc/yum.repos.d/_copr_phracek-PyCharm.repo , ignoring
Failed to synchronize cache for repo 'rust-sig', disabling.
No package found in repo
$ ./modtools rpm2module -h
usage: modtools rpm2module [-h] PKGS [PKGS ...]
Gets package info and dependencies and creates modulemd file.
positional arguments:
  PKGS        Specify list of packages for module.
optional arguments:
  -h, --help  show this help message and exit
$ ./modtools rpm2module python{2,3}-docker

And now it's stuck on this command for quite some time and I have no idea what is going on.

After some time, I got this:

$ ./modtools rpm2module python{2,3}-docker
Getting module information from mbs cache. Please run mbs-build local with dependency modules you are interested in before running this script.
Modulemd file is generated here ./modulemd-output.yaml

Please provide more detailed documentation.


Metadata