Bug 1729216
Summary: | failed to build from dist-git using "git" protocol | ||
---|---|---|---|
Product: | [Internal] Red Hat Internal Copr | Reporter: | Martin Pavlásek <mpavlase> |
Component: | backend | Assignee: | Copr Team <copr-team> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | unspecified | CC: | praiskup |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2020-12-11 16:25:08 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
Martin Pavlásek
2019-07-11 15:29:19 UTC
Ok, I though this is trivial to configure - but it's not. Red Hat dist-git isn't clean enough to support only one lookaside cache download pattern. We have the old one for e.g. RHEL 7, using md5: %(name)s/%(filename)s/%(hash)s/%(filename)s and the new one for e.g. RHEL 8, using: %(name)s/%(filename)s/%(hashtype)s/%(hash)s/%(filename)s I can configure only one of those, not both without additional ugly patching. Which one do you think is more valid for your use-case? In Fedora dist-git - when they were migrating to new format - all the old sources were hard-linked to support even the newer pattern. So while staying compatible with old pattern, everyone can use calmly the new pattern. I for some time plan to implement better approach for dist-git builds, but I'm still not there -- https://pagure.io/copr/copr/issue/529 Couldn't you work-around this problem by the approach from the following bug? https://bugzilla.redhat.com/show_bug.cgi?id=1652669 For our purpose I'm currently interested in RHEL7, but I'm fine with workaround, that you pointed me. This is now fixed. But we also have the direct dist-git support which makes things much easier: https://docs.pagure.org/copr.copr/release-notes/2020-11-13.html#simplified-builds-from-distgit |