User interfaces often let users input strings to identify:
- Dots
- Branches
- Subdots
- Subdot-on-branch
We use a standard syntax for this, the reference implementation of which is partly in the dm CLI (ParseNamespacedVolume in cmd/dm/pkg/remotes/api.go), partly in the procure mechanism (cloneName parsing in reallyProcureFilesystem in cmd/dotmesh-server/controller.go) and parseNamespacedVolumeWithSubvolumes ub cmd/dotmesh-server/utils.go.
Put a parser for it in the Python library, with different functions based on whether we expect just a dot name, or whether branches and/or subdots are also allowed.
User interfaces often let users input strings to identify:
We use a standard syntax for this, the reference implementation of which is partly in the
dmCLI (ParseNamespacedVolumeincmd/dm/pkg/remotes/api.go), partly in the procure mechanism (cloneNameparsing inreallyProcureFilesystemincmd/dotmesh-server/controller.go) andparseNamespacedVolumeWithSubvolumesubcmd/dotmesh-server/utils.go.Put a parser for it in the Python library, with different functions based on whether we expect just a dot name, or whether branches and/or subdots are also allowed.