Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dnf plugin (or some other means) to simplify repository enablement #2577

Open
1 of 2 tasks
evgeni opened this issue Oct 10, 2024 · 2 comments
Open
1 of 2 tasks

dnf plugin (or some other means) to simplify repository enablement #2577

evgeni opened this issue Oct 10, 2024 · 2 comments
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.

Comments

@evgeni
Copy link
Contributor

evgeni commented Oct 10, 2024

Description

Ohai!

When packit builds a PR, it does so in a copr (packit/{org}-{repo}-{pull_id} by default) and users have to use dnf 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

  • There is an existing workaround that can be used until this feature is implemented.

Participation

  • I am willing to submit a pull request for this issue. (Packit team is happy to help!)
@evgeni evgeni added the kind/feature New feature or a request for enhancement. label Oct 10, 2024
@majamassarini
Copy link
Member

Or maybe enhance copr plugin? To be aware of Packit behaviour.

@majamassarini majamassarini added area/copr Related to the integration with copr.fedorainfracloud.org/ impact/low This issue impacts only a few users. gain/low This doesn't bring that much value to users. complexity/single-task Regular task, should be done within days. good-first-issue Good for newcomers. labels Oct 14, 2024
@majamassarini majamassarini moved this from new to backlog in Packit Kanban Board Oct 14, 2024
@majamassarini majamassarini added the workaround-exists There is an existing workaround that can be used in the meantime of implementing the issue. label Oct 14, 2024
@xsuchy
Copy link
Contributor

xsuchy commented Oct 15, 2024

cc @praiskup

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
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.
Projects
Status: backlog
Development

No branches or pull requests

3 participants