Learn more about these different git repos.
Other Git URLs
With the use of packit, upstream users have a way of specifying build chroot without accessing copr build settings. But for them to be sure what can and what cannot be used, we need a way to show them what are the available chroots.
It might be a subcommand: copr-cli list-chroot
copr-cli list-chroot
or even better a section in a doc.
Hello @dhodovsk, thank you for the feedback.
Maintaining an up-to-date list of chroots in docs sounds to me a little bit tedious and always just a step away from slipping out end becoming outdated.
The suggested copr-cli list-chroot command (or mock-chroots, list-mock-chroots, etc) sound much better to me.
mock-chroots
list-mock-chroots
Metadata Update from @praiskup: - Issue tagged with: API, RFE
Cli command sounds good to me as well, s/list-chroot/list-chroots/.
s/list-chroot/list-chroots/
Metadata Update from @dturecek: - Issue assigned to dturecek
Commit 1a2fe80 fixes this issue
When running this there was an error
[dhodovsk@shiny convert2rhel]$ copr-cli list-chroots Traceback (most recent call last): File "/usr/bin/copr-cli", line 11, in <module> load_entry_point('copr-cli==1.84', 'console_scripts', 'copr-cli')() File "/usr/lib/python3.7/site-packages/copr_cli/main.py", line 1339, in main getattr(commands, arg.func)(arg) File "/usr/lib/python3.7/site-packages/copr_cli/main.py", line 543, in action_list_chroots chroots = self.client.mock_chroot_proxy.get_list() AttributeError: 'Client' object has no attribute 'mock_chroot_proxy' [dhodovsk@shiny convert2rhel]$ copr-cli --version copr version 1.84
Please update python3-copr to 1.100.
Login to comment on this ticket.