Learn more about these different git repos.
Other Git URLs
In packit service, we would love to print instructions to people how they can try the builds copr built for them.
We plan on doing this in a way, that people would just copy-paste commands packit posts in a pull request.
It would be awesome if copr v3 API would include URLs to the .repo files for each chroot. Something like this:
In [12]: client.project_proxy.get("ttomecek", "conu") Out[13]: ... 'chroot_repos': {'fedora-rawhide-x86_64': 'https://copr-be.cloud.fedoraproject.org/results/ttomecek/conu/fedora-rawhide-x86_64/'}, 'yum_repos': {'fedora-rawhide-x86_64': 'https://copr.fedorainfracloud.org/coprs/ttomecek/conu/repo/fedora-rawhide/ttomecek-conu-fedora-rawhide.repo'}, ...
Instead of manually downloading repo file, it is better to use dnf plugin: dnf copr enable ttomecek/conu. This plugin is in plugins-core and thus should be available on every instance.
dnf copr enable ttomecek/conu
I agree with Mirek, it would be nice if packit could instruct users to use dnf copr. @ttomecek is that viable option?
dnf copr
Metadata Update from @praiskup: - Issue tagged with: API, RFE
Sounds good for Fedora, how about EL7 and EL8, what would the instructions be there?
el8 is fine I believe, and you need to use yum copr enable ... (yum-copr-plugin) on el7
yum copr enable ...
Just tried it out, the instructions are the same even on el8 (ubi-dev-preview).
But, it did not work :/
bash-4.4# dnf copr enable packit/packit-service-hello-world Updating Subscription Management repositories. Unable to read consumer identity This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register. You are about to enable a Copr repository. Please note that this repository is not part of the main distribution, and quality may vary. The Fedora Project does not exercise any power over the contents of this repository beyond the rules outlined in the Copr FAQ at <https://docs.pagure.org/copr.copr/user_documentation.html#what-i-can-build-in-copr>, and packages are not held to any quality or security level. Please do not file bug reports about these packages in Fedora Bugzilla. In case of problems, contact the owner of this repository. Do you really want to enable copr.fedorainfracloud.org/packit/packit-service-hello-world? [y/N]: y Error: This repository does not have any builds yet so you cannot enable it now.
The repo has builds, when I added the repo file manually, it worked just fine. I'll open a bugzilla for this.
Thank you!
Metadata Update from @ttomecek: - Issue close_status updated to: Invalid - Issue status updated to: Closed (was: Open)
Good catch, that deserves fixes.
Login to comment on this ticket.