#3177: Automatically register addons in GUI
----------------------------------+-------------------------
Reporter: sbl | Owner: grass-dev@…
Type: enhancement | Status: new
Priority: minor | Milestone: 7.4.0
Component: Addons | Version: unspecified
Keywords: g.extension,Makefile | CPU: Unspecified
Platform: All |
----------------------------------+-------------------------
To make Addons more visible it would be nice if they could be registered
in the GUI at install (through g.extension or Makefile)
#3177: Automatically register addons in GUI
--------------------------+----------------------------------
Reporter: sbl | Owner: grass-dev@…
Type: enhancement | Status: new
Priority: minor | Milestone: 7.4.1
Component: Addons | Version: unspecified
Resolution: | Keywords: g.extension,Makefile
CPU: Unspecified | Platform: All
--------------------------+----------------------------------
Comment (by annakrat):
Replying to [comment:3 hellik]:
> Replying to [comment:2 martinl]:
> > Already done, Addons are visible in Modules tab (after restarting the
GUI). Time to close this issue?
>
> AFAIK only C addons are added to the Modules tab, but not python addons;
behaviour seen in winGRASS.
I am not sure if there is a separate ticket for this, but I looked at the
problem and I don't quite understand the logic behind it. Basically when
scanning for available addons, the toolboxes run g.extension -ag and look
if "executable" exists. For Python scripts it's not there:
{{{
grass.read_command('g.extension', quiet=True, flags='ag')
name=r.lake.series
description=Fills lake at given point(s) to given levels.
keywords=raster,hydrology,hazard,flood
executables=
name=r.stream.distance
description=Calculates distance to and elevation above streams and outlet.
The module can work in stream mode where target are streams and outlets
mode where targets are outlets.
keywords=raster,hydrology,stream network,watercourse distance
executables=r.stream.distance
name=i.superpixels.slic
description=Perform image segmentation using the SLIC segmentation method.
keywords=imagery,segmentation,superpixels,SLIC
executables=i.superpixels.slic
}}}
#3177: Automatically register addons in GUI
--------------------------+----------------------------------
Reporter: sbl | Owner: grass-dev@…
Type: enhancement | Status: new
Priority: minor | Milestone: 7.4.1
Component: Addons | Version: unspecified
Resolution: | Keywords: g.extension,Makefile
CPU: Unspecified | Platform: All
--------------------------+----------------------------------
Comment (by annakrat):
In [changeset:"72658" 72658]:
{{{
#!CommitTicketReference repository="" revision="72658"
wxGUI: fix problem with Python addons not showing up on Windows, see #3177
}}}
#3177: Automatically register addons in GUI
--------------------------+----------------------------------
Reporter: sbl | Owner: grass-dev@…
Type: enhancement | Status: new
Priority: minor | Milestone: 7.4.1
Component: Addons | Version: unspecified
Resolution: | Keywords: g.extension,Makefile
CPU: Unspecified | Platform: All
--------------------------+----------------------------------
Comment (by annakrat):
In [changeset:"72659" 72659]:
{{{
#!CommitTicketReference repository="" revision="72659"
wxGUI: fix problem with Python addons not showing up on Windows, see #3177
(merge from trunk, r72658)
}}}
#3177: Automatically register addons in GUI
--------------------------+----------------------------------
Reporter: sbl | Owner: grass-dev@…
Type: enhancement | Status: new
Priority: normal | Milestone: 7.8.0
Component: Addons | Version: svn-trunk
Resolution: | Keywords: g.extension,Makefile
CPU: Unspecified | Platform: All
--------------------------+----------------------------------
Changes (by neteler):
* priority: minor => normal
* version: unspecified => svn-trunk
* milestone: 7.6.2 => 7.8.0
Comment:
A (un?)related bug is that metamodules like r.modis, i.sentinel are not
listed properly in modules.xml cause they do not appear with description
and keywords in the xml file but are simply listed in the <binary>
section.