Re: livecheck not finding latest version

2008-03-11 Thread Simon Ruderich
On Mon, Mar 10, 2008 at 01:07:07AM +0100, Rainer Müller wrote: Simon Ruderich wrote: I looked into this and the problem is that [rpm-vercomp $upver $updated_version] returns -1 if $updated_version is 0 and $upver is something like fdm-1.5 which is true before any version is found. It works

Re: livecheck not finding latest version

2008-03-09 Thread Rainer Müller
Simon Ruderich wrote: I found another small problem with the livecheck. I have a port in my local repository which uses ${name}-${version} as livecheck.version. With the current version it gives me the following. First it says it matched and then it doesn't. I can also reproduce the issue

Re: livecheck not finding latest version

2008-03-09 Thread Simon Ruderich
On Thu, Feb 28, 2008 at 04:31:56AM +0100, Rainer Müller wrote: 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

livecheck not finding latest version

2008-02-27 Thread Adam Mercer
Hi I'm trying to get livecheck working for all my ports and am running into a strange problem for bzr-rebase. I have the following in the Portfile: livecheck.check regex livecheck.url ${master_sites} livecheck.regex ${name}-(\[0-9\]+\.\[0-9\]+).tar.gz the specified ${master_sites} points to the

Re: livecheck not finding latest version

2008-02-27 Thread Anders F Björklund
Adam Mercer wrote: Any ideas why livecheck is saying that 0.2 is newer than the ports 0.3, and how I can fix this? Is there a problem with my regular expression? That's probably because livecheck doesn't check to see if the new version is actually *newer*, it only checks if it changed...

Re: livecheck not finding latest version

2008-02-27 Thread Rainer Müller
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 }

Re: livecheck not finding latest version

2008-02-27 Thread Adam Mercer
On Wed, Feb 27, 2008 at 3:19 PM, Rainer Müller [EMAIL PROTECTED] wrote: 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). Thanks, it works as expected using

Re: livecheck not finding latest version

2008-02-27 Thread Rainer Müller
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 } We