Opened 4 years ago

Closed 4 years ago

Last modified 4 years ago

#3972 closed defect (fixed)

Every single doc page has raw 'Last changed: $Date$' still stuck in it

Reported by: jidanni Owned by: grass-dev@…
Priority: minor Milestone: 7.8.2
Component: Docs Version: git-releasebranch78
Keywords: Cc:
CPU: Unspecified Platform: Unspecified

Description

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.

Change History (6)

comment:1 by jidanni, 4 years ago

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

comment:2 by neteler, 4 years ago

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

comment:3 by jidanni, 4 years ago

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

comment:4 by neteler, 4 years ago

Milestone: 7.8.2
Version: unspecifiedgit-releasebranch78

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

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

comment:6 by Bas Couwenberg, 4 years ago

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.

Note: See TracTickets for help on using tickets.