[GRASS-dev] [GRASS GIS] #3972: Every single doc page has raw 'Last changed: $Date$' still stuck in it

#3972: Every single doc page has raw 'Last changed: $Date$' still stuck in it
-------------------------+-------------------------
Reporter: jidanni | Owner: grass-dev@…
     Type: defect | Status: new
Priority: minor | Milestone:
Component: Docs | Version: unspecified
Keywords: | CPU: Unspecified
Platform: Unspecified |
-------------------------+-------------------------
Every single doc page has this raw 'Last changed: $Date$' stuck in it
{{{
$ w3m -dump https://grass.osgeo.org/grass79/manuals/helptext.html | fgrep
$
Last changed: $Date$
}}}
which make zero sense to the reader.

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

#3972: Every single doc page has raw 'Last changed: $Date$' still stuck in it
--------------------------+-------------------------
  Reporter: jidanni | Owner: grass-dev@…
      Type: defect | Status: new
  Priority: minor | Milestone:
Component: Docs | Version: unspecified
Resolution: | Keywords:
       CPU: Unspecified | Platform: Unspecified
--------------------------+-------------------------

Comment (by jidanni):

{{{
< which make zero sense to the reader.
> which makes zero sense to the reader.
}}}

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

#3972: Every single doc page has raw 'Last changed: $Date$' still stuck in it
--------------------------+-------------------------
  Reporter: jidanni | Owner: grass-dev@…
      Type: defect | Status: new
  Priority: minor | Milestone:
Component: Docs | Version: unspecified
Resolution: | Keywords:
       CPU: Unspecified | Platform: Unspecified
--------------------------+-------------------------

Comment (by neteler):

For the related discussion, see https://github.com/OSGeo/grass/pull/11 and
grass-dev archive

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

#3972: Every single doc page has raw 'Last changed: $Date$' still stuck in it
--------------------------+-------------------------
  Reporter: jidanni | Owner: grass-dev@…
      Type: defect | Status: new
  Priority: minor | Milestone:
Component: Docs | Version: unspecified
Resolution: | Keywords:
       CPU: Unspecified | Platform: Unspecified
--------------------------+-------------------------

Comment (by jidanni):

Perhaps just strip it off, until the fix is confirmed.

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

#3972: Every single doc page has raw 'Last changed: $Date$' still stuck in it
--------------------------+---------------------------------
  Reporter: jidanni | Owner: grass-dev@…
      Type: defect | Status: new
  Priority: minor | Milestone: 7.8.2
Component: Docs | Version: git-releasebranch78
Resolution: | Keywords:
       CPU: Unspecified | Platform: Unspecified
--------------------------+---------------------------------
Changes (by neteler):

* version: unspecified => git-releasebranch78
* milestone: => 7.8.2

Comment:

ok agreed: I have commented out the old SVN `$Date$` entries:

https://github.com/OSGeo/grass/pull/200

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

#3972: Every single doc page has raw 'Last changed: $Date$' still stuck in it
--------------------------+---------------------------------
  Reporter: jidanni | Owner: grass-dev@…
      Type: defect | Status: closed
  Priority: minor | Milestone: 7.8.2
Component: Docs | Version: git-releasebranch78
Resolution: fixed | Keywords:
       CPU: Unspecified | Platform: Unspecified
--------------------------+---------------------------------
Changes (by neteler):

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

Comment:

Fixed in

- master:
https://github.com/OSGeo/grass/commit/69be6c5f9a8d794ecffb9b8072c6e932984d07e5
- relbranch78:
https://github.com/OSGeo/grass/commit/1a1d107e4f6e1b846f9841c2c6fabf015c5f720d

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

#3972: Every single doc page has raw 'Last changed: $Date$' still stuck in it
--------------------------+---------------------------------
  Reporter: jidanni | Owner: grass-dev@…
      Type: defect | Status: closed
  Priority: minor | Milestone: 7.8.2
Component: Docs | Version: git-releasebranch78
Resolution: fixed | Keywords:
       CPU: Unspecified | Platform: Unspecified
--------------------------+---------------------------------

Comment (by Bas Couwenberg):

You can use `$Format:%ci$` in the file and mark such files with `export-
subst` in `.gitattributes`.

From `gitattributes(5)`:
> `export-subst`
> If the attribute `export-subst` is set for a file then Git
will expand several placeholders when adding this file to an archive. The
expansion depends on the availability of a commit ID, i.e., if `git-
archive(1)` has been
> given a tree instead of a commit or a tag then no replacement
will be done. The placeholders are the same as those for the option
`--pretty=format`: of `git-log(1)`, except that they need to be wrapped
like this:
> `$Format:PLACEHOLDERS$` in the file. E.g. the string
`$Format:%H$` will be replaced by the commit hash.

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