[Lazarus] fppkg and lazarus packages

Graeme Geldenhuys graemeg.lists at gmail.com
Sat Sep 4 10:22:56 CEST 2010


On 3 September 2010 17:27, Michael Van Canneyt wrote:
>
> We thought about that and discarded it, since we need to be able to compare
> version numbers. With free format that is not possible.

Alexander has a point. Even if version numbers are not 100% numeric,
they still follow a sequencing order. If all parts are not numeric,
simply compare them as strings. Thinking about it, even if all parts
are numeric, comparing them as strings should still work (most of the
time - if zero padding is used).

Either way, it's not too a big deal for me, I can simply trim the
commit ID part and use the version number as 0.7.166.0 for example.
Even from that, it is very easy to deduce the actual commit ID in git
using the 166 part.


-- 
Regards,
  - Graeme -


_______________________________________________
fpGUI - a cross-platform Free Pascal GUI toolkit
http://opensoft.homeip.net/fpgui/




More information about the Lazarus mailing list