Skip to content

Proposal: Allow some paths to be relative and clarify semantics #244

Closed as not planned
@reidpr

Description

@reidpr

Presently, the specification:

  1. Disallows relative paths in some places; for example, containerEdits.hooks.path (“that path MUST be absolute”).

  2. Doesn’t say anything about relative/absolute in some (most?) places; for example, containerEdits.mounts.hostPath.

I’d like to have the specification, for every place a path is mentioned, state explicitly whether relative paths are allowed, and if so, what they are relative to. This could be rolled up also, e.g. “unless otherwise specified, all paths MUST be absolute”.

My specific use case is that I want to include some CDI specs in Charliecloud’s test suite, and it would be very helpful if those specs could include paths relative to the JSON file. This would allow us to package the JSON spec file alongside all the stuff it refers to.

I am happy to provide a PR if folks are open to this idea.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions