[MacPorts] #14532: livecheck gives wrong message if regex doesn't match
#14532: livecheck gives wrong message if regex doesn't match -------------------------------------+-------------------------------------- Reporter: ryandesign@macports.org | Owner: raimue@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@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
#14532: livecheck gives wrong message if regex doesn't match --------------------------------------+------------------------------------- Reporter: ryandesign@macports.org | Owner: raimue@macports.org Type: defect | Status: closed Priority: Normal | Milestone: MacPorts base bugs Component: base | Version: 1.7.0 Resolution: fixed | Keywords: --------------------------------------+------------------------------------- Changes (by raimue@macports.org): * status: new => closed * resolution: => fixed Comment: Thanks for the report, fixed in r34717. -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/14532#comment:1> MacPorts </projects/macports> Ports system for Mac OS
participants (1)
-
MacPorts