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

Provide full support for unicode in filenames #340

Merged
merged 10 commits into from
Jul 18, 2024

Conversation

RayPlante
Copy link
Collaborator

This PR fixes support for unicode characters in submitted dataset filenames under the python2.7. This includes pulling in a fix to oar-metadata's jq/urldecode.jq script which establishes the names of dataset files. Supporting unicode on Python 2.7 is tricky since unicode is not the default string type. A key part for the fix is updating the pdrtest docker image to set python's default encoding to 'UTF-8'; this will also have to be applied at the oar-docker level. A number of tests (but not all) were updated to ensure support for unicode is working.

Also fixed in this PR:

  • updating jq to version 1.7 (instead of building from source)
  • fixing a typo in the python-source GitHub Action config file that prevented proper building

@RayPlante
Copy link
Collaborator Author

Tested via hot fix on oardata to support mds2-2775.

@RayPlante RayPlante merged commit daf23c6 into integration Jul 18, 2024
2 checks passed
@RayPlante RayPlante deleted the fix/unicode-support branch July 18, 2024 20:52
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

Successfully merging this pull request may close these issues.

1 participant