OSGeo / grass

GRASS GIS - free and open-source geospatial processing engine
https://grass.osgeo.org
Other
855 stars 310 forks source link

[Feat] g.extension: enable installation of (python) addons locally on Windows #4745

Open ecodiv opened 2 days ago

ecodiv commented 2 days ago

Is your feature request related to a problem? Please describe. The g.extension module does offer the option to provide an alternative ULR to an addon repository. However, this does not work for GRASS GIS on Windows. This makes sharing quick updates (e.g., bug fixes) or addons outside the official repository with Window users difficult.

Describe the solution you'd like Make it possible to install addons locally, or make it possible to point to another server than the default http://wingrass.fsv.cvut.cz/. I.a.w., make the URL parameter also work for Window users.

I tested this by replacing in the g.extension code the http://wingrass.fsv.cvut.cz/ with a URL to a site where I shared some addons, and using a path to a local folder with (Python) addons properly packaged in a zip file. In both cases, I could install the addon from that URL or folder without problem.

Describe alternatives you've considered

Additional context

As use cases: