[GRASS-dev] generic address to access the manuals of the current stable version ?

Hi,

ISTR some discussion about this (but maybe I just dreamed it ;-)), but how difficult would it be to create some sort of symlink to be able to point

https://grass.osgeo.org/grass/
or
https://grass.osgeo.org/grass-stable/

to the current stable version, i.e. now

https://grass.osgeo.org/grass78/

?

This would allow to point to the currently stable version of the manual pages from websites without having to worry about updating those links at each new release.

Not sure if this is an issue for the core code or for the website.

Moritz

Hi,

On Tue, Mar 31, 2020 at 11:29 AM Moritz Lennert
<mlennert@club.worldonline.be> wrote:

Hi,

ISTR some discussion about this (but maybe I just dreamed it ;-)), but
how difficult would it be to create some sort of symlink to be able to
point

https://grass.osgeo.org/grass/
or
https://grass.osgeo.org/grass-stable/

to the current stable version, i.e. now

https://grass.osgeo.org/grass78/

That's easy.

We already have it in place for source code, like

https://grass.osgeo.org/grass78/source/grass-7.8-latest.tar.gz

but not yet at "upper" level.

This would allow to point to the currently stable version of the manual
pages from websites without having to worry about updating those links
at each new release.

Not sure if this is an issue for the core code or for the website.

I need to add this as a redirect to the Apache server. Just takes 5 minutes.
Which redirects do we want?

Markus

Hi again,

now selective "wildcard" redirects added to the server:

## STABLE

https://grass.osgeo.org/grass-stable/
redirects to:
  --> https://grass.osgeo.org/grass78/

and
https://grass.osgeo.org/grass-stable/manuals/
redirects to
  --> https://grass.osgeo.org/grass78/manuals/

and
https://grass.osgeo.org/grass-stable/source/
redirects to
  --> https://grass.osgeo.org/grass78/source/

etc.

## DEVELOPMENT

https://grass.osgeo.org/grass-devel/
--> https://grass.osgeo.org/grass79/
and
https://grass.osgeo.org/grass-devel/manuals/
redirects to
  --> https://grass.osgeo.org/grass79/manuals/

and
https://grass.osgeo.org/grass-devel/source/
redirects to
  --> https://grass.osgeo.org/grass79/source/

etc.

I need to add this as a redirect to the Apache server. Just takes 5 minutes.
Which redirects do we want?

Any more?

Markus