Opened 12 years ago

Last modified 4 years ago

#740 new enhancement/feature request

Add version number to navit.xml

Reported by: zoff99 Owned by: cp15
Priority: minor Milestone: version 0.6.0
Component: port/android Version: git master
Severity: Keywords: xml, version


on android build, when starting up there should be a check for /sdcard/navit.xml if it exists it should be used. that would also be persistent after navit upgrade

to make sure navit.xml fits there should also be a version info in the navit.xml e.g.: <navit_config_version>1.0.0<navit_config_version/>

only if /sdcard/navit.xml exists AND has correct version for installed navit , it will be used (instead of default navit.xml)

Change History (6)

comment:1 Changed 11 years ago by mvglasow (2)

The check for /sdcard/navit.xml has been in the Android build for a few months now – I've successfully overridden some defaults with an xml file placed in /sdcard/navit.xml, so that part works.

The version check is not a bad idea, but that should really be extended to all builds, not just Android...

comment:2 Changed 11 years ago by korrosa

  • Summary changed from local navit.xml to Add version number to navit.xml

What would a version check accomplish? Bear in mind all navit.xml's work with all versions of Navit - that is "work" as in they will use all the features of the navit.xml which that version of Navit knows about, and ignore the rest.

comment:3 Changed 10 years ago by usul

  • Cc added
  • Keywords xml version added; navit.xml removed

I don't know what this distinguishing should be used for? Navit tries to care for backwards compability, so a new build will always deal with the old configs (only new options might be unused or use fallback defaults). Currently there is no way for a soft migration of old to new configs, maybe that should be added?

Please give us some feedback on this request, otherwise I have to close this ticket, as there is no task/goal dscribed here :/

comment:4 Changed 10 years ago by usul

  • Milestone set to version 0.5.1

comment:5 Changed 5 years ago by

  • Milestone changed from version 0.5.1 to version 0.5.2

This ticket was pushed back in order to bring 0.5.1 out soon.

comment:6 Changed 4 years ago by

  • Milestone changed from version 0.5.2 to version 0.6.0

Ticket retargeted after milestone closed

Note: See TracTickets for help on using tickets.