Skip to content

Node naming #4

@oddstr13

Description

@oddstr13

From Discussion: Node names on the UKHASnet Wiki

In determining the specification of node names there is some discussion on what should be allowed:

The current "beta" parser allows mixed case and this is used by a small number of nodes.

The options are:

  1. Allow mixed case and treat as case sensitive
    • "PiNODE" != "PINODE"
    • Pro: Doesn't break existing nodes
    • Pro: Larger name space
    • Con: mixed case could be confusing
    • Pro: Allows CamelCase names
  2. Allow mixed case and treat as case in-sensitive
    • node names could be stored as provided or in upper case (giving two potential sub options)
    • "PiNODE" == "PINODE"
    • Pro: Doesn't break existing nodes
    • Con: mixed case could be confusing
    • ?? : May allow Camel Case names (depending on how names are stored)
  3. Only allow a single case (Upper case only)
    • "PINODE" ("PiNode" isn't permitted)
    • Con: breaks existing nodes
    • Pro: Removes and confusion over name space

I, myself, vote for case sensitive, allowing both uppercase and lowercase, digits and some symbols, such as "+" | "-" | "_" | "/" | "?" | "&" | "$" | "@" | "%" | "=" | "." | ":" | "*" This list should be further refined, possibly defining special meaning for some.

A note about confusion between "NodeName" | "NODENAME" | "nodename" should be made in the relevant documentation, suggesting to avoid nodes of the same name, but with different casing, however not forbidding it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions