Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [udig-dev] refractions download pages and listed release versions

I tried applying your patch, but the change has not shown up on the website yet.
-- 
Jody Garnett

On 21 November 2013 at 6:20:08 am, Frank Gasdorf (fgdrf@xxxxxxxxxxxxxxxxxxxxx) wrote:

Hello everybody,

yesterday we uploaded a new Alpha Release with the following version:

2.0.0.Alpha1-v20131119

Because of the current setup for download pages the version qualifier is cropped and it results in listet version 2.0.0 on the following page:

However, I had a look at the php code for the unstable page and the version is extracted by a regular _expression_ that doesn't recognize supported OSGi versions.

I used http://regexpal.com/ to verify the current solution and tried to modify in a way that the new version would match either.

Here is my result:

[0-9]+\.[0-9]+(\.[0-9]+)?([\.-]?[0-9A-Za-z_-]+)

would extract the version correctly for:
  • udig-2.0.0.Alpha1-v20131119.win32.win32.x86_64.zip --> 2.0.0.Alpha1-v20131119
  • udig-1.2-RC3.win32.win32.x86.zip --> 1.2-RC3
  • uDig-1.2M8-x86-carbon.dmg --> 1.2M8-x86-carbon (properly filtered because of uDig instead of udig prefix??)
  • udig-1.3.1.win32.win32.x86_64.zip --> 1.3.1
  • udig-1.0.6.linux.gtk.x86.zip --> 1.0.6
  • udig-1.4.0-sdk.zip --> 1.4.0 
  • udig-1.2-M2.linux.gtk.x86.zip --> 1.2-M2
  • udig-1.4.0-SNAPSHOT.linux.gtk.x86.zip --> 1.4.0-SNAPSHOT
Could you please verify my solution before updating Refractions php sides for uDIG. See patch attachment

Thanks a lot,
Frank
   

- downloads.patch, 894 bytes
_______________________________________________
udig-dev mailing list
udig-dev@xxxxxxxxxxxxxxxx
https://locationtech.org/mailman/listinfo/udig-dev

Back to the top