Re: [GRASS-dev] [GRASS GIS] #3177: Automatically register addons in GUI

2019-04-15 Thread GRASS GIS
#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 
 section.

 This prohibits the addon manual search, see #3583

-- 
Ticket URL: 
GRASS GIS 

___
grass-dev mailing list
grass-dev@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/grass-dev

Re: [GRASS-dev] [GRASS GIS] #3177: Automatically register addons in GUI

2018-06-13 Thread GRASS GIS
#3177: Automatically register addons in GUI
--+--
  Reporter:  sbl  |  Owner:  grass-dev@…
  Type:  enhancement  | Status:  new
  Priority:  minor|  Milestone:  7.4.2
 Component:  Addons   |Version:  unspecified
Resolution:   |   Keywords:  g.extension,Makefile
   CPU:  Unspecified  |   Platform:  All
--+--

Comment (by wenzeslaus):

 Can somebody test this on MS Win? See if you have in ''Modules'' tab there
 some Python module from Addons for example i.superpixels.slic.

-- 
Ticket URL: 
GRASS GIS 

___
grass-dev mailing list
grass-dev@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/grass-dev

Re: [GRASS-dev] [GRASS GIS] #3177: Automatically register addons in GUI

2018-05-01 Thread GRASS GIS
#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)
 }}}

-- 
Ticket URL: 
GRASS GIS 

___
grass-dev mailing list
grass-dev@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/grass-dev

Re: [GRASS-dev] [GRASS GIS] #3177: Automatically register addons in GUI

2018-05-01 Thread GRASS GIS
#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
 }}}

-- 
Ticket URL: 
GRASS GIS 

___
grass-dev mailing list
grass-dev@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/grass-dev

Re: [GRASS-dev] [GRASS GIS] #3177: Automatically register addons in GUI

2018-03-02 Thread GRASS GIS
#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
 }}}

 So the question is why the executable is not there, which is in
 g.extension:
 
https://trac.osgeo.org/grass/browser/grass/trunk/scripts/g.extension/g.extension.py#L413

 I don't understand the condition there to exclude scripts folder on
 windows.

-- 
Ticket URL: 
GRASS GIS 

___
grass-dev mailing list
grass-dev@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/grass-dev

Re: [GRASS-dev] [GRASS GIS] #3177: Automatically register addons in GUI

2018-02-28 Thread GRASS GIS
#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 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.

-- 
Ticket URL: 
GRASS GIS 

___
grass-dev mailing list
grass-dev@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/grass-dev

Re: [GRASS-dev] [GRASS GIS] #3177: Automatically register addons in GUI

2018-02-28 Thread GRASS GIS
#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 martinl):

 Already done, Addons are visible in Modules tab (after restarting the
 GUI). Time to close this issue?

-- 
Ticket URL: 
GRASS GIS 

___
grass-dev mailing list
grass-dev@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/grass-dev