[MacPorts] #32589: portlivecheck.tcl: fix regex multiple versions on single line
#32589: portlivecheck.tcl: fix regex multiple versions on single line ----------------------------------+----------------------------------------- Reporter: pixilla@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: base | Version: 2.0.3 Keywords: haspatch maintainer | Port: ----------------------------------+----------------------------------------- See r88031 -- Ticket URL: <https://trac.macports.org/ticket/32589> MacPorts <http://www.macports.org/> Ports system for Mac OS
#32589: portlivecheck.tcl: fix regex multiple versions on single line ----------------------------------+----------------------------------------- Reporter: pixilla@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: base | Version: 2.0.3 Keywords: haspatch maintainer | Port: ----------------------------------+----------------------------------------- Description changed by pixilla@…: Old description:
See r88031
New description: See r88031 and [http://lists.macosforge.org/pipermail/macports- dev/2011-December/017154.html list archive] -- -- Ticket URL: <https://trac.macports.org/ticket/32589#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#32589: portlivecheck.tcl: fix regex multiple versions on single line -----------------------------------+---------------------------------------- Reporter: pixilla@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Normal | Milestone: Component: base | Version: 2.0.3 Resolution: fixed | Keywords: haspatch maintainer Port: | -----------------------------------+---------------------------------------- Changes (by pixilla@…): * status: new => closed * resolution: => fixed Comment: Commit r88177 -- Ticket URL: <https://trac.macports.org/ticket/32589#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#32589: portlivecheck.tcl: fix regex multiple versions on single line -----------------------------------+---------------------------------------- Reporter: pixilla@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Normal | Milestone: Component: base | Version: 2.0.3 Resolution: fixed | Keywords: haspatch maintainer Port: | -----------------------------------+---------------------------------------- Comment(by jmr@…): The livecheck for sdlconsole still doesn't work correctly after this change, JFYI. -- Ticket URL: <https://trac.macports.org/ticket/32589#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#32589: portlivecheck.tcl: fix regex multiple versions on single line -----------------------------------+---------------------------------------- Reporter: pixilla@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Normal | Milestone: Component: base | Version: 2.0.3 Resolution: fixed | Keywords: haspatch maintainer Port: | -----------------------------------+---------------------------------------- Comment(by raimue@…): {{{ livecheck.regex ${name}-(\[0-9.\]+) }}} I would say this sdlconsole regex is wrong, as this also matches the dot of `.tar.gz` in the string `sdlconsole-2.1.tar.gz` and thus, the result of the match is `2.1.` There are multiple options to fix the regex which are compatible to previous releases of MacPorts: {{{ livecheck.regex ${name}-(\[0-9.\]+)\.tar livecheck.regex ${name}-(\\d+(?:\\.\\d+)+) }}} -- Ticket URL: <https://trac.macports.org/ticket/32589#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#32589: portlivecheck.tcl: fix regex multiple versions on single line -----------------------------------+---------------------------------------- Reporter: pixilla@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Normal | Milestone: Component: base | Version: 2.0.3 Resolution: fixed | Keywords: haspatch maintainer Port: | -----------------------------------+---------------------------------------- Comment(by pixilla@…): {{{ livecheck.regex "${name}-((?!.*${name}.*|\\${extract.suffix}).*)\\${extract.suffix}" }}} -- Ticket URL: <https://trac.macports.org/ticket/32589#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts