[GRASS-dev] [GRASS GIS] #3315: wingrass: provide grass.bat

#3315: wingrass: provide grass.bat
--------------------------+-------------------------
Reporter: martinl | Owner: grass-dev@…
     Type: enhancement | Status: new
Priority: normal | Milestone: 7.2.2
Component: Installation | Version: svn-trunk
Keywords: wingrass | CPU: Unspecified
Platform: Unspecified |
--------------------------+-------------------------
Currently winGRASS provides only `grassXY.bat` files. The package could
also provide generic `grass.bat` file (similarly to linux packages).

Advantage: Software like QGIS processing will not depend on version-based
GRASS bat file (which avoids problem when GRASS is upgraded in OSGeo4W,
eg. grass70 -> grass72)

Disadvantage: When more version of GRASS installed (grass, grass-dev) in
OSGeo4W, last installation will override grass.bat.

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/3315&gt;
GRASS GIS <https://grass.osgeo.org>

#3315: wingrass: provide grass.bat
---------------------------+-------------------------
  Reporter: martinl | Owner: grass-dev@…
      Type: enhancement | Status: new
  Priority: normal | Milestone: 7.2.2
Component: Installation | Version: svn-trunk
Resolution: | Keywords: wingrass
       CPU: Unspecified | Platform: Unspecified
---------------------------+-------------------------

Comment (by jef):

I'd consider conflicting files a packaging bug - so this should probably
be a separate package
Perhaps with a env variable that allows to control, which version to load.
Could be done using a {{{etc/ini/packagename.bat}}} - which wouldn't
produce a conflict. Although that might produce the above behaviour (last
ini wins). Not sure if there is a defined order in which the ini
batchfiles are executed.

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/3315#comment:1&gt;
GRASS GIS <https://grass.osgeo.org>

#3315: wingrass: provide grass.bat
---------------------------+-------------------------
  Reporter: martinl | Owner: grass-dev@…
      Type: enhancement | Status: new
  Priority: normal | Milestone: 7.2.2
Component: Installation | Version: svn-trunk
Resolution: | Keywords: wingrass
       CPU: Unspecified | Platform: Unspecified
---------------------------+-------------------------

Comment (by jef):

It's a bug - uninstalling one would remove "both".

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/3315#comment:2&gt;
GRASS GIS <https://grass.osgeo.org>

#3315: wingrass: provide grass.bat
---------------------------+-------------------------
  Reporter: martinl | Owner: grass-dev@…
      Type: enhancement | Status: closed
  Priority: normal | Milestone: 7.6.2
Component: Installation | Version: svn-trunk
Resolution: wontfix | Keywords: wingrass
       CPU: Unspecified | Platform: Unspecified
---------------------------+-------------------------
Changes (by martinl):

* status: new => closed
* resolution: => wontfix

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/3315#comment:9&gt;
GRASS GIS <https://grass.osgeo.org>