[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
[udig-dev] refractions download pages and listed release versions
|
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
Attachment:
downloads.patch
Description: Binary data