[GRASS-git] [OSGeo/grass] 95dd6b: build: Avoid network access during doc generation ...

Anna Petrasova noreply at github.com
Wed Jul 1 00:46:44 PDT 2026


  Branch: refs/heads/releasebranch_8_5
  Home:   https://github.com/OSGeo/grass
  Commit: 95dd6b1f6eb017a6997d76d72406c68e0c61234a
      https://github.com/OSGeo/grass/commit/95dd6b1f6eb017a6997d76d72406c68e0c61234a
  Author: Vaclav Petras <wenzeslaus at gmail.com>
  Date:   2026-07-01 (Wed, 01 Jul 2026)

  Changed paths:
    M utils/mkdocs.py

  Log Message:
  -----------
  build: Avoid network access during doc generation for local builds (#7310)

Access to online sources for addon installation versus all-local installation was decided based on presence of gs (grass.script), but the import works in CMake which made the code believe it should use the sources. This was not a problem for Autotools where PYTHONPATH is not set. Setting PYTHONPATH or otherwise functional import makes sense, so a different check is needed. This is using SOURCE_URL to make the decision. SOURCE_URL is set (only) by g.extension, which is clearly the case where online access is allowed. For CMake and Autotools compilation of the main source code, SOURCE_URL is not set, so the remote check will skip the branches which access online content.


  Commit: fd4f0452390e3fa5678860f82edfaefc49ad5282
      https://github.com/OSGeo/grass/commit/fd4f0452390e3fa5678860f82edfaefc49ad5282
  Author: Anna Petrasova <kratochanna at gmail.com>
  Date:   2026-07-01 (Wed, 01 Jul 2026)

  Changed paths:
    M utils/mkdocs.py

  Log Message:
  -----------
  docs: Fix crash and simplify git calls in mkdocs generation (#7604)

* docs: Fix crash and simplify git calls in mkdocs generation

* exit instead of just writing message


Compare: https://github.com/OSGeo/grass/compare/3eff827ba3cc...fd4f0452390e

To unsubscribe from these emails, change your notification settings at https://github.com/OSGeo/grass/settings/notifications


More information about the grass-commit mailing list