[MacPorts] #14532: livecheck gives wrong message if regex doesn't match
MacPorts
trac at macosforge.org
Sat Mar 1 00:52:02 PST 2008
#14532: livecheck gives wrong message if regex doesn't match
-------------------------------------+--------------------------------------
Reporter: ryandesign at macports.org | Owner: raimue at macports.org
Type: defect | Status: new
Priority: Normal | Milestone: MacPorts base bugs
Component: base | Version: 1.7.0
Keywords: |
-------------------------------------+--------------------------------------
If the livecheck regex doesn't match, it says the software seems to have
been updated to version "0". This portfile:
{{{
PortSystem 1.0
name foo
version 1.0
livecheck.check regex
livecheck.url http://www.macports.org
livecheck.regex foobar
}}}
Gives this output in MacPorts built from [browser:trunk/base at 34550 trunk
r34550]:
{{{
$ port livecheck
foo seems to have been updated (port version: 1.0, new version: 0)
$
}}}
Running in MacPorts 1.6.0 I get this better message:
{{{
$ sudo port livecheck
Error: cannot check if foo was updated (regex didn't match)
$
}}}
My guess is this problem was introduced with r34331 so I'm assigning the
ticket to Rainer.
--
Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/14532>
MacPorts </projects/macports>
Ports system for Mac OS
More information about the macports-tickets
mailing list