Opened 3 years ago

Closed 3 years ago

#63578 closed defect (duplicate)

port livecheck active regression (version not available)

Reported by: dgilman (David Gilman) Owned by:
Priority: Normal Milestone:
Component: base Version: 2.7.1
Keywords: Cc:
Port:

Description

If a port has an update available MacPorts is unable to livecheck it under port livecheck active. If you livecheck the port directly everything works OK.

As an example, there was a recent update to npm7 that I haven't installed yet. If I do port outdated I get it in the output:

...
npm7                           7.24.1_0 < 7.24.2_0
...

but when going to do port livecheck active

...
Error: npm7 version 7.24.1_0 is not available (current version is 7.24.2_0)

port -d livecheck npm works ok:

...
DEBUG: Fetching https://registry.npmjs.org/npm
DEBUG: Using CURL options --append-http-header {Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8} --enable-compression
DEBUG: The regex is ""latest":"(.*?)""
DEBUG: The regex matched ""latest":"7.24.2"", extracted "7.24.2"
npm7 seems to be up to date

port livecheck active worked fine, but recent updates to MacPorts core sometime in the past six months or so have broken it.

Change History (2)

comment:1 Changed 3 years ago by reneeotten (Renee Otten)

see 63438 - likely similar cause

comment:2 Changed 3 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: duplicate
Status: newclosed
Note: See TracTickets for help on using tickets.