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

fix for project instructions #677

Merged
merged 4 commits into from
Aug 27, 2024
Merged

fix for project instructions #677

merged 4 commits into from
Aug 27, 2024

Conversation

kwk
Copy link
Collaborator

@kwk kwk commented Aug 27, 2024

This is to avoid this warning with dnf install clang

Updating and loading repositories:
 Copr copr.fedorainfracloud.org/@fedora-llvm-team/llvm-snapshots external runtime dependency #1 - https_download_copr_fedorainfracloud_org_results_40fedora_llvm_team_llvm_compat_packages_distname_releasever_basearch                                                                                                                                                                                                                             100% | 903.0   B/s |   1.3 KiB |  00m02s
>>> Status code: 404 for https://download.copr.fedorainfracloud.org/results/%40fedora-llvm-team/llvm-compat-packages/$distname-41-x86_64/repodata/repomd.xml (IP: 2600:9000:2509:1000:4:bbc1:1840:93a1) - https://download.copr.fedorainfracloud.org/results/%40fedora-llvm-team/llvm-compat-packages/$distname-41-x86_64/repodata/repomd.xml - repomd.xml
>>> Status code: 404 for https://download.copr.fedorainfracloud.org/results/%40fedora-llvm-team/llvm-compat-packages/$distname-41-x86_64/repodata/repomd.xml (IP: 2600:9000:2509:1000:4:bbc1:1840:93a1) - https://download.copr.fedorainfracloud.org/results/%40fedora-llvm-team/llvm-compat-packages/$distname-41-x86_64/repodata/repomd.xml - repomd.xml
>>> Status code: 404 for https://download.copr.fedorainfracloud.org/results/%40fedora-llvm-team/llvm-compat-packages/$distname-41-x86_64/repodata/repomd.xml (IP: 2600:9000:2509:1000:4:bbc1:1840:93a1) - https://download.copr.fedorainfracloud.org/results/%40fedora-llvm-team/llvm-compat-packages/$distname-41-x86_64/repodata/repomd.xml - repomd.xml
>>> Status code: 404 for https://download.copr.fedorainfracloud.org/results/%40fedora-llvm-team/llvm-compat-packages/$distname-41-x86_64/repodata/repomd.xml (IP: 2600:9000:2509:1000:4:bbc1:1840:93a1) - https://download.copr.fedorainfracloud.org/results/%40fedora-llvm-team/llvm-compat-packages/$distname-41-x86_64/repodata/repomd.xml - repomd.xml
>>> Librepo error: Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried

Obviously $distname isn't properly replaced without this patch.

See also fedora-copr/copr#3387
And #670 where the issue was fixed by using dnf-3 instead of dnf.

@kwk kwk requested a review from jchecahi August 27, 2024 09:54
@kwk kwk added the documentation Improvements or additions to documentation label Aug 27, 2024
@kwk kwk marked this pull request as ready for review August 27, 2024 10:03
project-instructions.md Outdated Show resolved Hide resolved
Make dnf copr command compatible for dnf4 and 5. Thank you @jchecahi
@kwk kwk merged commit 97fa0ce into main Aug 27, 2024
7 of 9 checks passed
@kwk kwk deleted the fix-for-project-instructions branch August 27, 2024 12:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants