Bug 1310116
Summary: | [RFE] dnf: make the 'dnf enable USER/COPR' work with internal copr | ||
---|---|---|---|
Product: | [Internal] Red Hat Internal Copr | Reporter: | Pavel Raiskup <praiskup> |
Component: | client | Assignee: | Pavel Raiskup <praiskup> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | unspecified | CC: | jpopelka, msuchy, ttomecek |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2019-05-22 12:55:19 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Pavel Raiskup
2016-02-19 14:01:13 UTC
Well it is probably matter changing code in copr.py in dnf-plugins-core to read hostname from ~/.config/copr. Right now it is hardcoded. There is: https://github.com/rpm-software-management/dnf-plugins-core/blob/master/plugins/copr.py#L91 So that should do it if /root/.config/copr is present. Can you confirm? I think we could remove: if self.copr_url != "https://copr.fedorainfracloud.org": print(_("Warning: we are using non-standard Copr URL '{}'.").format(self.copr_url))" but at the same time, some info about /root/.config/copr being read would be useful. This would be better placed in dnf configuration somewhere, I think. Answered here: https://bugzilla.redhat.com/show_bug.cgi?id=1478208#c4 dnf-plugins-core feature proposal: https://github.com/rpm-software-management/dnf-plugins-core/pull/253 TODO list: - provide 'rhcopr' package with appropriate configuration - provide 'dnf copr fixup-config' command |