[GRASS-git] [OSGeo/grass] 53ce4f: utils/mkhtml.py: generate local JSON file with cor...

Tomas Zigo noreply at github.com
Wed Apr 13 20:49:18 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/OSGeo/grass
  Commit: 53ce4fd2255569697c8301fb8798662d7302a983
      https://github.com/OSGeo/grass/commit/53ce4fd2255569697c8301fb8798662d7302a983
  Author: Tomas Zigo <50632337+tmszi at users.noreply.github.com>
  Date:   2022-04-14 (Thu, 14 Apr 2022)

  Changed paths:
    M .github/workflows/additional_checks.yml
    M utils/Makefile
    A utils/__init__.py
    A utils/generate_last_commit_file.py
    M utils/mkhtml.py
    A utils/test_generate_last_commit_file.py

  Log Message:
  -----------
  utils/mkhtml.py: generate local JSON file with core modules and their last commit (#2140)

For every new pushed repository branch Git tag e.g. 
`git tag -a 8.2.0 -m "Release 8.2.0"` and `git push origin 8.2.0` 
is automatically with GitHub "Create new release draft" action workflow
created new release draft which include downloadable
core_modules_with_last_commit.json and core_modules_with_last_commit.patch file.

During compilation source code without .git dir, this local file is used
instead of getting Git commit from remote GitHub API REST server.

JSON file data structure:

"r.pack": {
    "commit": "547ff44e6aecfb4c9cbf6a4717fc14e521bec0be",
    "date": "2022-02-03T11:10:06+01:00"
},

commit key value is commit hash
date key value is author date (strict ISO 8601 date time format)




More information about the grass-commit mailing list