[GRASS-dev] [GRASS GIS] #3583: g.search.modules to include addons

GRASS GIS trac at osgeo.org
Sun Aug 19 16:05:34 PDT 2018


#3583: g.search.modules to include addons
-------------------------------+-------------------------
  Reporter:  Nikos Alexandris  |      Owner:  grass-dev@…
      Type:  enhancement       |     Status:  new
  Priority:  minor             |  Milestone:
 Component:  Default           |    Version:  unspecified
Resolution:                    |   Keywords:
       CPU:  Unspecified       |   Platform:  Unspecified
-------------------------------+-------------------------

Comment (by Nikos Alexandris):

 No progress, just an idea:


 {{{
 if os.getenv("GRASS_ADDON_BASE"):
       ADDON_BASE = os.getenv("GRASS_ADDON_BASE")
       addons_xml = os.path.join(ADDON_BASE, 'modules.xml')
       addons_xml_file = open(addons_xml, 'r')
       addons_descriptions = etree.parse(addons_xml_file)
       addons_xml.close()
 }}}

 See: https://stackoverflow.com/a/14879370/11723.
 Would it make sense to merge the two xml trees?

-- 
Ticket URL: <https://trac.osgeo.org/grass/ticket/3583#comment:1>
GRASS GIS <https://grass.osgeo.org>



More information about the grass-dev mailing list