[GRASS-dev] [GRASS GIS] #3732: wingrass: change instalation target

#3732: wingrass: change instalation target
--------------------------+-------------------------
Reporter: martinl | Owner: grass-dev@…
     Type: task | Status: new
Priority: normal | Milestone: 7.6.0
Component: Installation | Version: unspecified
Keywords: wingrass | CPU: Unspecified
Platform: Unspecified |
--------------------------+-------------------------
Currently GRASS is installed by OSGeo4W into `apps/grass/grass-
major.minor.release`. Executable is called `grass.majorminor.bat`. Eg.

{{{
apps/grass/grass-7.4.4
bin/grass74.bat
}}}

Changing installation directory for each release is not practical from
QGIS POV.

Suggestion from ML (https://lists.osgeo.org/pipermail/grass-
dev/2019-January/090919.html):

1.

{{{
apps/grass/grass-7.4
bin/grass74.bat
}}}

{{{
+ similar to Debian packaging policy
- QGIS needs to be updated on every minor version
}}}

2.

{{{
apps/grass/grass7
bin/grass7.bat
}}}

{{{
+ QGIS updated on GRASS major release only
+ possible to install two major GRASS versions in parallel (like `grass6`
package)
}}}

3.

{{{
apps/grass
bin/grass.bat
}}}

{{{
- not possible to install two GRASS major version in parallel.
+ no need to update QGIS at all
}}}

Related versions for daily package:

{{{
apps/grass/grass-daily-7.4
bin/grass-daily74.bat

apps/grass/grass-daily7
bin/grass-daily7.bat

apps/grass-daily
bin/grass-daily.bat
}}}

Any comments/suggestions?

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

#3732: wingrass: change instalation target
---------------------------+-------------------------
  Reporter: martinl | Owner: grass-dev@…
      Type: task | Status: new
  Priority: normal | Milestone: 7.6.0
Component: Installation | Version: unspecified
Resolution: | Keywords: wingrass
       CPU: Unspecified | Platform: Unspecified
---------------------------+-------------------------

Comment (by hellik):

I'm in favour of option 1:

{{{
apps/grass/grass-7.4
bin/grass74.bat
}}}

it's a good compromise between stability and flexibility.

as we don't have that much minor releases in a year, not much work on QGIS
side. but we have the flexibility to have 2 minor releases side by side if
needed.

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

#3732: wingrass: change instalation target
---------------------------+-------------------------
  Reporter: martinl | Owner: grass-dev@…
      Type: task | Status: new
  Priority: normal | Milestone: 7.6.1
Component: Installation | Version: unspecified
Resolution: | Keywords: wingrass
       CPU: Unspecified | Platform: Unspecified
---------------------------+-------------------------

Comment (by martinl):

In [changeset:"74027" 74027]:
{{{
#!CommitTicketReference repository="" revision="74027"
wingrass: change instalation target, see #3732
}}}

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

#3732: wingrass: change instalation target
---------------------------+-------------------------
  Reporter: martinl | Owner: grass-dev@…
      Type: task | Status: new
  Priority: normal | Milestone: 7.6.1
Component: Installation | Version: unspecified
Resolution: | Keywords: wingrass
       CPU: Unspecified | Platform: Unspecified
---------------------------+-------------------------

Comment (by martinl):

In [changeset:"74028" 74028]:
{{{
#!CommitTicketReference repository="" revision="74028"
wingrass: change instalation target also for standalone installer, see
#3732
}}}

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

#3732: wingrass: change instalation target
---------------------------+-------------------------
  Reporter: martinl | Owner: grass-dev@…
      Type: task | Status: new
  Priority: normal | Milestone: 7.6.1
Component: Installation | Version: unspecified
Resolution: | Keywords: wingrass
       CPU: Unspecified | Platform: Unspecified
---------------------------+-------------------------

Comment (by martinl):

In [changeset:"74029" 74029]:
{{{
#!CommitTicketReference repository="" revision="74029"
configure: change instalation target for osgeo4w, see #3732
}}}

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

#3732: wingrass: change instalation target
---------------------------+-------------------------
  Reporter: martinl | Owner: grass-dev@…
      Type: task | Status: new
  Priority: normal | Milestone: 7.6.1
Component: Installation | Version: unspecified
Resolution: | Keywords: wingrass
       CPU: Unspecified | Platform: Unspecified
---------------------------+-------------------------

Comment (by martinl):

In [changeset:"74038" 74038]:
{{{
#!CommitTicketReference repository="" revision="74038"
wingrass: change instalation target, see #3732 (g76: merge r74027:74029
from trunk)
}}}

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

#3732: wingrass: change instalation target
---------------------------+-------------------------
  Reporter: martinl | Owner: grass-dev@…
      Type: task | Status: closed
  Priority: normal | Milestone: 7.6.1
Component: Installation | Version: unspecified
Resolution: fixed | Keywords: wingrass
       CPU: Unspecified | Platform: Unspecified
---------------------------+-------------------------
Changes (by martinl):

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

Comment:

Changes applied in trunk and releasebranch_7_6:

In OSGeo4W GRASS is installed into `apps\grass\grass<major><minor>`

By standalone installator into `Program Files\GRASS GIS <major>.<minor>`.

Closing as fixed. Feel free to reopen if needed.

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