Opened 15 years ago
Closed 15 years ago
#20723 closed defect (fixed)
Default googlecode livecheck regex is wrong
Reported by: | 0xced (Cédric Luthi) | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | Normal | Milestone: | MacPorts 1.8.0 |
Component: | base | Version: | 1.7.1 |
Keywords: | Cc: | ||
Port: |
Description
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
<a href="http://musicip\-libofa.googlecode.com/files/libofa\-\(\.\*\)\.tar\.gz"
it should be
<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
Change History (2)
comment:1 Changed 15 years ago by jmroot (Joshua Root)
Milestone: | MacPorts 1.8.0 |
---|---|
Priority: | High → Normal |
comment:2 Changed 15 years ago by jmroot (Joshua Root)
Milestone: | → MacPorts 1.8.0 |
---|---|
Resolution: | → fixed |
Status: | new → closed |
Note: See
TracTickets for help on using
tickets.
This is actually fixed in 1.8. However, it wasn't correctly selecting livecheck.type googlecode, which I fixed in r55767.