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 653167 Details for
Bug 880849
mockchain addrepo creates bad repo id
[?]
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]
[PATCH] Fix mockchain repo id calculation
0001-Fix-mockchain-repo-id-calculation.patch (text/plain), 969 bytes, created by
Tim Woods
on 2012-11-27 22:32:38 UTC
(
hide
)
Description:
[PATCH] Fix mockchain repo id calculation
Filename:
MIME Type:
Creator:
Tim Woods
Created:
2012-11-27 22:32:38 UTC
Size:
969 bytes
patch
obsolete
>From 8579983d0491f3667068224aac1299f335e2a5eb Mon Sep 17 00:00:00 2001 >From: Tim Woods <timw.fedora@gmail.com> >Date: Tue, 20 Nov 2012 18:04:59 -0500 >Subject: [PATCH] Fix mockchain repo id calculation > >Fix the repo id calculation to use an underscore instead of a comma as >the replacement separator for slash. The comma is not a valid >character for the yum configuration section name. > >Fixes https://bugzilla.redhat.com/show_bug.cgi?id=880849 >--- > py/mockchain.py | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/py/mockchain.py b/py/mockchain.py >index 4f515e3..0a084e2 100755 >--- a/py/mockchain.py >+++ b/py/mockchain.py >@@ -89,7 +89,7 @@ def add_local_repo(infile, destfile, baseurl, repoid=None): > config_opts = {} > execfile(infile) > if not repoid: >- repoid=baseurl.split('//')[1].replace('/',',') >+ repoid=baseurl.split('//')[1].replace('/','_') > localyumrepo=""" > [%s] > name=%s >-- >1.7.11.1 >
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 880849
: 653167