[GRASS-dev] wingrass-addons: manifests

Martin Landa landa.martin at gmail.com
Mon Dec 5 10:49:42 EST 2011


2011/12/5 Hamish <hamish_b at yahoo.com>:

[...]

> * http://grass.osgeo.org/addons/grass6.xml
>   ?? <addons version="7.0.svn"> in the grass6.xml file?

fixed in r49549

>   ?? d.barb: why no <description> loaded?

Compilation just fails (on Windows only), problem with creating BAT
files (probably similar issue as with manifests).

> * wxGUI extension removal:
> I don't think it is very wise to rely on a volatile generated file on
> a remote server to decide which files to delete on my local machine.
> Frankly it seems a bit dangerous to me to have a remote script making
> those decisions on my behalf. The filenames of what to remove are
> entirely predictable (even html/module_*.png), and may well change
> between the time of install and the time of removal, so I would
> suggest to abandon the <binary><file>s.  Was there some win32 reason
> to do that, or..?

The main reason is that some of the modules install some extra
components which can be hardly guessed by `g.extension` module (see
`grass7/r.modis` and others). Well, relay on generated files on the
remote server when deleting the files is not a "wise" idea. Probably
`g.extension` should install also some metadata file locally about
which files to remove when uninstalling. Then `g.extension
ext=<module> ope=remove` would just report which files is going to be
removed and `g.extension ext=<module> ope=remove -f` would remove
them. Seems to be better solution for you?

> * wingrass uninstall now also removes the addon dir? I guess it is in case
> a replacement install has a different GIS_H version, but what if the user
> legitimately put some of their self-authored scripts in there? If that
> must stay for some reason, there should at least be a "Are you really sure
> you want to do this?" dialog, as non-accidentally deleting users' personal
> scripts will not be good for business.

Well, it has been removing the whole GRASS6 directory in the past (so
also `addons`) subdirectory. From this point of view nothing has been
changed. I think that the whole $APPDATA\GRASSX should be untouched
when uninstalling winGRASS. I will changed the installer according
that.

Martin

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


More information about the grass-dev mailing list