[GRASS-git] [OSGeo/grass] 432ceb: utils/mkhtml.py: get and set git commit and commit...
Stefan Blumentrath
noreply at github.com
Wed Jan 19 10:03:40 PST 2022
Branch: refs/heads/main
Home: https://github.com/OSGeo/grass
Commit: 432ceb72e02850d69e2f40310f53536c9968745a
https://github.com/OSGeo/grass/commit/432ceb72e02850d69e2f40310f53536c9968745a
Author: Stefan Blumentrath <stefan.blumentrath at gmx.de>
Date: 2022-01-19 (Wed, 19 Jan 2022)
Changed paths:
M lib/init/variables.html
M scripts/g.extension/g.extension.py
M utils/mkhtml.py
Log Message:
-----------
utils/mkhtml.py: get and set git commit and commit date in addon manual page (#2100)
Git commit is getting from local repository if exists (during compilation GRASS GIS core
modules, all addons compilation on our osgeo lxd container server) in others cases getting
commit from remote GitHub API (official addons installed via g.extension module). In case it is not
possible to obtain commit from local git repository or from remote GitHub API server, instead of
commit and commit date, the time when the addon was installed is used (non official addons
installed via g.extension module).
Co-authored-by: Tomas Zigo <tomas.zigo at slovanet.sk>
More information about the grass-commit
mailing list