Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Avoid OS specific path-formatting #36

Open
igiona opened this issue Jun 10, 2024 · 0 comments
Open

Avoid OS specific path-formatting #36

igiona opened this issue Jun 10, 2024 · 0 comments

Comments

@igiona
Copy link

igiona commented Jun 10, 2024

I recently stumbled across my pipeline failing due to a mismatch in the THIRDPARTY.yml file I could explain.

It turned out that my local machine (windows) and the pipeline (linux) generate a different license format for the ring crate:

-  license: License specified in file ($CARGO_HOME\registry\src\index.crates.io-6f17d22bba15001f\ring-0.17.8\LICENSE)
+  license: License specified in file ($CARGO_HOME/registry/src/index.crates.io-6f17d22bba15001f/ring-0.17.8/LICENSE)

In my opinion, it would be better if this tool would generate OS-agnostic paths in the yaml file (e.g. by always using the unix path-format), or at least to give an option on how to override the OS-sepcific path formatting with something like --path-format unix/win.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant