-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Labels
metadataspecImprove Frictionless Data specification supportImprove Frictionless Data specification support
Description
The datapackage spec requires all paths in the package metadata to be POSIX paths, however the implementation doesn't enforce this in a platform independent manner, so some functions when run on Window can generate path strings like "path_to\\data.csv". This poses two problems:
- corrupt/non-conformant package metadata maybe written
- path comparisons may fail on some OS combinationss (when package creation and the path comparison are not happening on the same OS).
Two separate resolutions are required:
- ensure paths in the metadata are POSIX paths (implemented in
sark.dpkg._ensure_posix) - a uniform interface to do path comparisons
- if the files are same, aka,
Path(..).samefile(..) - if two relative paths are same (may not point to the same file, as depends on base path)
- if the files are same, aka,
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
metadataspecImprove Frictionless Data specification supportImprove Frictionless Data specification support