Some new stuff

Jerry Lundström prox at lunar-linux.org
Mon Aug 15 09:59:50 UTC 2005


Joël Vennin wrote:
> get module that should be updated
> #> get_updated_module_db /tmp/lunar.db

This function isn't good, it checks the version field text wise.

There will always be problems compairing version that are not defined in 
a unified way. Versions in a module can be whatever really.

For example:

3.12 > 3.2

This will return false since only the part "3.1" is tested against "3.2" 
but infact 3.12 is the lastest.

Add and check the date field insteed as we do today.

-- 
Jerry Lundström, System Developer
Section for IT and Media, Stockholms University, Sweden
+46 (0)8 16 19 99 / http://www.it.su.se


More information about the Lunar-dev mailing list