Projects
New Ticket     Wiki     Browse Source     Timeline     Roadmap     Bug Reports     Search

Ticket #14532 (closed defect: fixed)

Opened 9 months ago

Last modified 9 months ago

livecheck gives wrong message if regex doesn't match

Reported by: ryandesign@… Owned by: raimue@…
Priority: Normal Milestone: MacPorts base bugs
Component: base Version: 1.7.0
Keywords: Cc:
Port:

Description

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 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.

Change History

Changed 9 months ago by raimue@…

  • status changed from new to closed
  • resolution set to fixed

Thanks for the report, fixed in r34717.

Note: See TracTickets for help on using tickets.