subpath: serializing uses segments - #458
Conversation
2110570 to
540bb5f
Compare
Signed-off-by: Jan Kowalleck <jan.kowalleck@gmail.com>
540bb5f to
79ff82d
Compare
| - Append ‘\#’ to the `purl` | ||
| - Strip the `subpath` from leading and trailing ‘/’ | ||
| - Split this on ‘/’ as segments | ||
| - Divide the `subpath` into segments using the path delimiter of your environment (operating system, file system, etc) |
There was a problem hiding this comment.
PURLs are not bound to the operating system they are created on, and their interpretation must not change when used on a different operating system.
There was a problem hiding this comment.
please read the ticket's description: #458 (comment)
|
@jkowalleck We need to "move" this PR to update the file:docs/how-to-build.md because the file: purl-specification.md is generated and not suitable for PRs (as documented in the file header). |
please ask @johnmhoran to take this over. |
|
@jkowalleck @mjherzog This PR 458 has been updated and consolidated in #711. |
|
superseded by #711 |
path segments are environment-dependent, and therefore, the splitting is not really in our domain.
Anyway, we can improve our process in the correct direction, by using "path delimiter" instead of
'/'.this is the serialization-part implied as proposed via #448 (comment):
is part of #448