Changes between Version 27 and Version 28 of Grass8Planning


Ignore:
Timestamp:
Jun 9, 2018, 7:40:11 PM (6 years ago)
Author:
wenzeslaus
Comment:

grass executable prams

Legend:

Unmodified
Added
Removed
Modified
  • Grass8Planning

    v27 v28  
    2929* See wiki:wxGUIDevelopment/New_Startup and [https://lists.osgeo.org/pipermail/grass-dev/2018-June/088531.html grass-dev: a proposal to rename location].''
    3030* Related: #2681 Remove legacy meaning of LOCATION variable
     31
     32==== grass executable ====
     33
     34* Refer to it as `grass` in the documentation to avoid rewriting `grass6` to `grass7` to `grass8` (or even with minor versions). Request/require packagers to create `grass` command (they already often do that).
     35* Use the general "Linux" (POSIX+GNU) standard for options/flags/parameters (of the executable).
     36 * For example, use `-c` and `--create` rather than `-create`, i.e. avoid long flag to have one dash and provide both alternatives.
     37 * Supporting current/legacy syntax like `-text` and `-gui` might be too difficult (definitely remove from manual).
     38 * Same for module-like syntax which could be supported as well, e.g. supporting both `--create=EPSG:3358` and `create=EPSG:3358`.
     39 * Require the order of arguments/operands to be correct (now not enforced).
     40 * Only exception to the rule should be `--help`.
     41 * Possibly use one of Python libraries ([https://docs.python.org/3/howto/argparse.html argparse] >2.7 and >3.2, [https://docs.python.org/3.6/library/optparse.html] in 2.6 and 3.8? but deprecated since 2.7, [https://docs.python.org/3/library/getopt.html getopt] not recommended for general use).
    3142=== Raster library ===
    3243