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
dm
CLI (ParseNamespacedVolume
incmd/dm/pkg/remotes/api.go
), partly in the procure mechanism (cloneName
parsing inreallyProcureFilesystem
incmd/dotmesh-server/controller.go
) andparseNamespacedVolumeWithSubvolumes
ubcmd/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.