[GRASS-git] [OSGeo/grass] 06a19b: g.message: Do not require full gisinit (#3686)

Vaclav Petras noreply at github.com
Sat May 4 11:44:54 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/OSGeo/grass
  Commit: 06a19bc5f25c36a0cb226763d2f654088ceabedf
      https://github.com/OSGeo/grass/commit/06a19bc5f25c36a0cb226763d2f654088ceabedf
  Author: Vaclav Petras <wenzeslaus at gmail.com>
  Date:   2024-05-04 (Sat, 04 May 2024)

  Changed paths:
    M general/g.message/main.c
    M general/g.proj/main.c

  Log Message:
  -----------
  g.message: Do not require full gisinit (#3686)

The g.message does not need any of the session setup and it can be used during a setup process to report standardized messages to the user. This removes the need to have a full session before running g.message. GISRC is still needed, but the data (file) structures for mapset don't need to exist.

The code is combination of what is in g.proj (the 'no init' call and comment) and g.dirseps (memory mode for GISRC). It is also syncing the corresponding lines in g.proj.



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