[GRASS-dev] How to get "Last changed" string for a module's manual?

Nikos Alexandris nik at nikosalexandris.net
Mon May 4 03:59:25 PDT 2015


* Nikos Alexandris <nik at nikosalexandris.net> [2015-05-04 13:52:22 +0300]:

> Nikos Alexandris wrote:
> > > Dear devs,
> > > how do we get a string like
> > > "Last changed: $Date: 2014-12-01 17:21:35 +0200 (Mon, 01 Dec 2014) $"
> > > for a module's manual?  Is this dynamically created or is it hardcoded?
> 
> Markus Neteler:
> > 
> > Both :) You can copy it from another manual page. Then, to get it
> > updated by SVN, you need to define svn propset. this you can do with a
> > helper script:
> > 
> > sh ~/software/grass-addons/tools/module_svn_propset.sh yourfile
> > 
> > or
> > 
> > cd yourdir/
> > sh ~/software/grass-addons/tools/module_svn_propset.sh *
> > 
> > hope this helps,
> 
> A lot, thanks.  How can I verify it actually updates the string?  I did
> as per the instruction above, then `svn up` (necessary?), then
> re-compiled. Don't see an updated string though.

Oh man, maybe I meed to commit first... :-).  Will re-check.

Thanks, Nikos


More information about the grass-dev mailing list