Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 852722 Details for
Bug 1055499
copr provides incorrectly repo for rawhide
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
Proposed patch against master branch
0001-helpers-render_repo-provide-correctly-rawhide-repo.patch (text/plain), 1.33 KB, created by
Igor Gnatenko
on 2014-01-20 12:16:18 UTC
(
hide
)
Description:
Proposed patch against master branch
Filename:
MIME Type:
Creator:
Igor Gnatenko
Created:
2014-01-20 12:16:18 UTC
Size:
1.33 KB
patch
obsolete
>From 58ae4fa1eaa13f1fab2d98383daa27e84233bba2 Mon Sep 17 00:00:00 2001 >From: Igor Gnatenko <i.gnatenko.brain@gmail.com> >Date: Mon, 20 Jan 2014 16:05:33 +0400 >Subject: [PATCH] helpers/render_repo: provide correctly rawhide repo > >Copr provides fedora-$releasever-$basearch on rawhide repos, which >incorrectly for rawhide. It should be fedora-rawhide-$basearch. > >Reference: https://bugzilla.redhat.com/show_bug.cgi?id=1055499 >Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com> >--- > coprs_frontend/coprs/helpers.py | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > >diff --git a/coprs_frontend/coprs/helpers.py b/coprs_frontend/coprs/helpers.py >index 5597d0e..8075380 100644 >--- a/coprs_frontend/coprs/helpers.py >+++ b/coprs_frontend/coprs/helpers.py >@@ -131,7 +131,8 @@ def parse_package_name(pkg): > def render_repo(copr, mock_chroot, url): > """ Render .repo file. No checks if copr or mock_chroot exists. """ > if mock_chroot.os_release == "fedora": >- mock_chroot.os_version = '$releasever' >+ if mock_chroot.os_version != "rawhide": >+ mock_chroot.os_version = '$releasever' > url = urlparse.urljoin(url, "%s-%s-%s/" % (mock_chroot.os_release, mock_chroot.os_version, '$basearch')) > #url = url.replace("http://", "https://") > return flask.render_template('coprs/copr.repo', copr=copr, url=url) >-- >1.8.5.3 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 1055499
: 852722