[GRASS-dev] GRASS extensions/addons mismatch

Martin Landa landa.martin at gmail.com
Wed Dec 14 10:36:15 EST 2011


Hi,

2011/12/14 Hamish <hamish_b at yahoo.com>:
>> $HOME/.grass<major_version>/addons
>>
>> and on Windows to
>>
>> $AppData\GRASS<major_version>\addons
>
> (i.e. if you didn't already have GRASS_ADDON_PATH set to something
> custom and you let the defaults make the choice for you)

right, I am speaking about the normal situation, bearing in mind that
99% percent of GRASS users even don't know about GRASS_ADDON_PATH
variable ;-)

[...]

>> 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?
>
> the path name gets a bit long, but for compiled code it
> seems necessary and I have no better suggestion on how to
> improve that or work around it.

It should be done before 6.4.2, if no objections I will implemented it
like that.

[...]

Martin

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


More information about the grass-dev mailing list