[GRASS-dev] GRASS extensions/addons mismatch

Martin Landa landa.martin at gmail.com
Wed Dec 14 07:51:30 EST 2011


Hi all,

currently the GRASS AddOns extensions are installed on GNU/Linux to

$HOME/.grass<major_version>/addons

and on Windows to

$AppData\GRASS<major_version>\addons

This layout doesn't allow to install extensions for more installed
versions of GRASS. In other words, addons for GRASS 6.4.2 and GRASS
6.5 are installed on the same place

$HOME/.grass6/addons or $AppData\GRASS<major_version>\addons

I would suggest to change `addons` to `addons<full_version>`,
concretely GRASS 6.4.2 addons would be installed to

$HOME/.grass6/addons642 or $AppData\GRASS<major_version>\addons642

and GRASS 6.5 to

$HOME/.grass6/addons65 or $AppData\GRASS<major_version>\addons65

What do you think?

Other thing is that g.extension (or it's wxGUI front-end) should
automatically ask user to update his/her extensions when you upgrade
GRASS (libgis revision must be same for GRASS and the addons).

Martin

-- 
Martin Landa <landa.martin gmail.com> * http://geo.fsv.cvut.cz/~landa


More information about the grass-dev mailing list