[GRASS-git] [OSGeo/grass] cba6a7: tools/mkhtml.py: get and set git commit and commit...

Stefan Blumentrath noreply at github.com
Wed Jan 19 10:28:41 PST 2022


  Branch: refs/heads/releasebranch_7_8
  Home:   https://github.com/OSGeo/grass
  Commit: cba6a7aebf339d9c5fa822bf890d7cc759b07e18
      https://github.com/OSGeo/grass/commit/cba6a7aebf339d9c5fa822bf890d7cc759b07e18
  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 tools/mkhtml.py

  Log Message:
  -----------
  tools/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