dnf plugin (or some other means) to simplify repository enablement #2577
Labels
area/copr
Related to the integration with copr.fedorainfracloud.org/
complexity/single-task
Regular task, should be done within days.
gain/low
This doesn't bring that much value to users.
good-first-issue
Good for newcomers.
impact/low
This issue impacts only a few users.
kind/feature
New feature or a request for enhancement.
workaround-exists
There is an existing workaround that can be used in the meantime of implementing the issue.
Description
Ohai!
When packit builds a PR, it does so in a copr (
packit/{org}-{repo}-{pull_id}
by default) and users have to usednf copr enable packit/theforeman-foreman_maintain-936
(or similar) to get the repo enabled on their system.It would be cool if instead users could do something like
dnf packit enable https://github.com/theforeman/foreman_maintain/pull/936
, as that allows to just copy paste the PR URL instead of having to mangle it manually.Additionally, this would help for PRs that build into a special copr and don't follow the
packit/{org}-{repo}-{pull_id}
schema.Over in @theforeman we use Ansible a lot and have a role that can setup packit coprs (if they use the default naming) from PR links for us: https://github.com/theforeman/forklift/blob/master/roles/packit/tasks/main.yml
Benefit
Easier for the users! :)
Importance
I was jokingly mentioning this idea in
#packit:fedora.im
and people liked it. But certainly not very important :)What is the impacted category (job)?
Copr builds
Workaround
Participation
The text was updated successfully, but these errors were encountered: