[MacPorts] #63578: port livecheck active regression (version not available)

MacPorts noreply at macports.org
Tue Oct 5 13:03:28 UTC 2021


#63578: port livecheck active regression (version not available)
---------------------+--------------------
 Reporter:  dgilman  |      Owner:  (none)
     Type:  defect   |     Status:  new
 Priority:  Normal   |  Milestone:
Component:  base     |    Version:  2.7.1
 Keywords:           |       Port:
---------------------+--------------------
 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.

-- 
Ticket URL: <https://trac.macports.org/ticket/63578>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list