[MacPorts] #20723: Default googlecode livecheck regex is wrong
MacPorts
noreply at macports.org
Tue Aug 18 08:38:09 PDT 2009
#20723: Default googlecode livecheck regex is wrong
------------------------------------+---------------------------------------
Reporter: cedric.luthi@… | Owner: macports-tickets@…
Type: defect | Status: new
Priority: High | Milestone: MacPorts 1.8.0
Component: base | Version: 1.7.1
Keywords: | Port:
------------------------------------+---------------------------------------
{{{
port -d livecheck libofa
...
DEBUG: Port (livecheck) version is 0.9.3
DEBUG: Fetching http://code.google.com/p/musicip-libofa/downloads/list
DEBUG: The regex is "<a
href="http://musicip\-libofa.googlecode.com/files/libofa\-\(\.\*\)\.tar\.gz""
Error: cannot check if libofa was updated (regex didn't match)
}}}
Problem is: the regex is ''overescaped''. Instead of [[BR]]
`<a
href="http://musicip\-libofa.googlecode.com/files/libofa\-\(\.\*\)\.tar\.gz"`
[[BR]]
it should be [[BR]]
`<a
href="http://musicip\-libofa.googlecode.com/files/libofa\-(.*)\.tar\.gz"`
Relevant code is in
http://trac.macports.org/browser/trunk/dports/_resources/port1.0/livecheck/googlecode.tcl
--
Ticket URL: <http://trac.macports.org/ticket/20723>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list