[GRASS-git] [OSGeo/grass] a399ea: grass.script: Use description parameter in create_...

Vaclav Petras noreply at github.com
Fri Oct 3 13:05:47 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/OSGeo/grass
  Commit: a399ea3487eb9753cb27ca043e3ae7254693b985
      https://github.com/OSGeo/grass/commit/a399ea3487eb9753cb27ca043e3ae7254693b985
  Author: Vaclav Petras <wenzeslaus at gmail.com>
  Date:   2025-10-03 (Fri, 03 Oct 2025)

  Changed paths:
    M python/grass/grassdb/create.py
    M python/grass/script/core.py
    M python/grass/script/tests/grass_script_core_location_test.py

  Log Message:
  -----------
  grass.script: Use description parameter in create_project (#6440)

This adds description parameter to create_project as a full word replacing (but keeping) the desc parameter.

The behavior slightly changes so that MYNAME (project description file) is only created when description is provided. This is what the current documentation suggests ('desc...creates MYNAME file'), but it was implemented that MYNAME was always created even if empty.

The description file is now created for empty text (description is empty), but not for None (no description).

This is a project description specific part of #6437.



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