livecheck not finding latest version

Rainer Müller raimue at macports.org
Wed Feb 27 12:19:41 PST 2008


Anders F Björklund wrote:
> That's probably because livecheck doesn't check to see if the
> new version is actually *newer*, it only checks if it changed...
> 
> 	if {$updated_version != ${livecheck.version}} {
> 		set updated 1
> 	} else {
> 		set updated 0
> 	}
> 
> Most likely, that's a bug and it should use the regular compare.
> (much like the display functions that weren't sorting correctly)

That was a bug I already fixed in trunk in r34331.

It checked for the first match on the site only, now it extracts all 
matches and takes the highest version (using rpm-vercomp).

Rainer


More information about the macports-dev mailing list