On Tue, Jun 5, 2018 at 8:49 AM, Moritz Lennert <[email protected]
> wrote:

>
>
> Am 5. Juni 2018 14:38:49 MESZ schrieb Roberta Fagandini <
> [email protected]>:
> >Hi all!
> >I'm trying to install my module i.sentinel.mask from the GitHub
> >repository
> >[0] using g.extension but I get the following error:
> >
> >g.extension extension=i.sentinel.mask operation=add url=
> >https://github.com/RobiFag/GRASS_clouds_and_shadows
>
> I think you have to point it to the directory of your add-on, i.e.
>
> https://github.com/RobiFag/GRASS_clouds_and_shadows/i.sentinel.mask
>
> But am in a train and can't test right now.
>


Unfortunately, g.extension GitHub/GitLab/... repository downloads currently
support only module (Makefile to be exact) at the top level. You need to
download the repo (e.g. a snapshot in the ZIP file) and point g.extension
to the right (sub)directory (with Makefile) or just add couple of functions
to g.extension to find that directory.

Vaclav
_______________________________________________
grass-dev mailing list
[email protected]
https://lists.osgeo.org/mailman/listinfo/grass-dev

Reply via email to