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 825034 Details for
Bug 1031345
openlmi-software: detect nevra with ~ (tilde) in version
[?]
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]
add tilde to allowed characters of package version
0001-Allow-tilde-character-in-package-version.patch (text/plain), 1.55 KB, created by
Klaus Kämpf
on 2013-11-17 03:03:28 UTC
(
hide
)
Description:
add tilde to allowed characters of package version
Filename:
MIME Type:
Creator:
Klaus Kämpf
Created:
2013-11-17 03:03:28 UTC
Size:
1.55 KB
patch
obsolete
>From a7d3f9631240623648f5aaf01a539267e72fab3b Mon Sep 17 00:00:00 2001 >From: =?UTF-8?q?Klaus=20K=C3=A4mpf?= <kkaempf@suse.de> >Date: Sat, 16 Nov 2013 22:02:40 -0500 >Subject: [PATCH] Allow tilde character in package version > >--- > src/software/lmi/software/util/__init__.py | 8 ++++---- > 1 file changed, 4 insertions(+), 4 deletions(-) > >diff --git a/src/software/lmi/software/util/__init__.py b/src/software/lmi/software/util/__init__.py >index 5f601b9b3714..7cfc894f0e96 100644 >--- a/src/software/lmi/software/util/__init__.py >+++ b/src/software/lmi/software/util/__init__.py >@@ -36,16 +36,16 @@ RE_INSTANCE_ID = re.compile(r'LMI:(?P<clsname>[a-z][a-z_0-9]+):(?P<id>\d+)', > re.IGNORECASE) > > RE_EVRA = re.compile( >- r'^(?P<epoch>\d+):(?P<version>[\w.+{}]+)-(?P<release>[\w.+{}]+)' >+ r'^(?P<epoch>\d+):(?P<version>[~\w.+{}]+)-(?P<release>[\w.+{}]+)' > r'\.(?P<arch>[^.]+)$') > RE_NEVRA = re.compile( >- r'^(?P<name>.+)-(?P<evra>(?P<epoch>\d+):(?P<version>[\w.+{}]+)' >+ r'^(?P<name>.+)-(?P<evra>(?P<epoch>\d+):(?P<version>[~\w.+{}]+)' > r'-(?P<release>[\w.+{}]+)\.(?P<arch>[^.]+))$') > RE_NEVRA_OPT_EPOCH = re.compile( >- r'^(?P<name>.+)-(?P<evra>(?:(?P<epoch>\d+):)?(?P<version>[\w.+{}]+)' >+ r'^(?P<name>.+)-(?P<evra>(?:(?P<epoch>\d+):)?(?P<version>[~\w.+{}]+)' > r'-(?P<release>[\w.+{}]+)\.(?P<arch>[^.]+))$') > RE_ENVRA = re.compile( >- r'^(?P<epoch>\d+):(?P<name>.+)-(?P<evra>(?P<version>[\w.+{}]+)' >+ r'^(?P<epoch>\d+):(?P<name>.+)-(?P<evra>(?P<version>[~\w.+{}]+)' > r'-(?P<release>[\w.+{}]+)\.(?P<arch>[^.]+))$') > > def _get_distname(): >-- >1.8.4 >
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 1031345
: 825034