[GRASS-dev] [GRASS GIS] #2681: Remove legacy meaning of LOCATION variable

GRASS GIS trac at osgeo.org
Sun Sep 16 19:49:28 PDT 2018


#2681: Remove legacy meaning of LOCATION variable
-------------------------+-------------------------------------------------
  Reporter:  wenzeslaus  |      Owner:  grass-dev@…
      Type:  task        |     Status:  new
  Priority:  blocker     |  Milestone:  8.0.0
 Component:  Startup     |    Version:  svn-trunk
Resolution:              |   Keywords:  init, grass.py, interface, CLI,
       CPU:              |  environment variables
  Unspecified            |   Platform:  All
-------------------------+-------------------------------------------------

Comment (by wenzeslaus):

 Here is the status of the files identified in the comment:5:

 Resolved:

 * source:grass/trunk/lib/init/README - Done, text removed (r73355)
 * source:grass/trunk/raster/r.mapcalc/testsuite/const_map_test.sh - Done,
 replaced by MAPSET_PATH, test is running (r73357)
 * source:grass/trunk/testsuite/raster/raster_md5test.sh - Done, replaced
 by MAPSET_PATH, test is running (r73357)

 Resolved, needs change for 8.0:

 * source:grass/trunk/lib/init/grass.py - Done, replaced by MAPSET_PATH
 (LOCATION left for 7.8), LOCATION_NAME in doc replaced by LOCATION
 (r73352, r73353, r73354, r73356)

 Unresolved:

 * source:grass/trunk/lib/gis/location.c - LOCATION used in error message
 in G_location_path(), probably "location path" or "Location path" would be
 more appropriate here
 * source:grass/trunk/lib/gis/make_mapset.c - I would expect LOCATION_NAME
 here, but it says LOCATION. I'm not sure what it does or what it is
 supposed to do. Comes all the way from r21496.

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



More information about the grass-dev mailing list