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 829310 Details for
Bug 1034805
[PATCH] Do not pass $ to repo id in mockchain
[?]
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 fixing this problem
0001-1034805-remove-non-alphanumeric-character-from-repo-.patch (text/plain), 1.28 KB, created by
Miroslav Suchý
on 2013-11-26 14:48:14 UTC
(
hide
)
Description:
Patch fixing this problem
Filename:
MIME Type:
Creator:
Miroslav Suchý
Created:
2013-11-26 14:48:14 UTC
Size:
1.28 KB
patch
obsolete
>From 65a0596bce1224735208c972628a8aaba1877103 Mon Sep 17 00:00:00 2001 >From: =?UTF-8?q?Miroslav=20Such=C3=BD?= <msuchy@redhat.com> >Date: Tue, 26 Nov 2013 15:43:54 +0100 >Subject: [PATCH] 1034805 - remove non alphanumeric character from repo id > >According to: > http://docs.fedoraproject.org/en-US/Fedora/15/html/Deployment_Guide/sec-Setting_repository_Options.html >repository ID can be only: >The repository ID is a unique, one-word (no spaces; underscores are allowed) string of characters (enclosed by brackets) that serves as a repository identifier. > >So lets strip everything but [a-zA-Z0-9_]. > >Addressing: >$ mockchain -a 'http://download.fedoraproject.org/pub/fedora/linux/updates/testing/$releasever/$basearch/' >Bad id for repo: download.fedoraproject.org_pub_fedora_linux_updates_testing_$releasever_$basearch_, byte = $ 60 >--- > py/mockchain.py | 1 + > 1 file changed, 1 insertion(+) > >diff --git a/py/mockchain.py b/py/mockchain.py >index 27e5bbe..cf1c941 100755 >--- a/py/mockchain.py >+++ b/py/mockchain.py >@@ -104,6 +104,7 @@ def add_local_repo(infile, destfile, baseurl, repoid=None): > execfile(infile) > if not repoid: > repoid=baseurl.split('//')[1].replace('/','_') >+ repoid = re.sub(r'[^a-zA-Z0-9_]', '', repoid) > localyumrepo=""" > [%s] > name=%s >-- >1.8.4.2 >
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 1034805
: 829310 |
873423