[GRASS-git] [OSGeo/grass] 223dc8: utils/mkhtml.py: get and set git commit and commit...

Stefan Blumentrath noreply at github.com
Wed Jan 19 10:07:56 PST 2022


  Branch: refs/heads/releasebranch_8_0
  Home:   https://github.com/OSGeo/grass
  Commit: 223dc8824fbc37333ec3c2e1d3afd0223168e3b4
      https://github.com/OSGeo/grass/commit/223dc8824fbc37333ec3c2e1d3afd0223168e3b4
  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