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

Percent-encode reserved characters in file names #2047

Merged
merged 1 commit into from
Jan 27, 2021

Conversation

joe-maley
Copy link
Contributor

This bumps the format version from 7 to 8. For version 8, dimension and
attribute names are percent-encoded to RFC 3986 + a few extra to handle
reserved characters on Windows.

This is intended to be a temporary measure. In the future, we will include
a mapping between names and their ordered index in the array schema.

@joe-maley joe-maley force-pushed the jpm/encode-attr-dim-names branch 2 times, most recently from 7fa2199 to 5defb05 Compare January 27, 2021 15:56
This bumps the format version from 7 to 8. For version 8, dimension and
attribute names are percent-encoded to RFC 3986 + a few extra to handle
reserved characters on Windows.

This is intended to be a temporary measure. In the future, we will include
a mapping between names and their ordered index in the array schema.
@joe-maley joe-maley force-pushed the jpm/encode-attr-dim-names branch from 5defb05 to 412a9e9 Compare January 27, 2021 18:02
@joe-maley joe-maley merged commit 97c5c4b into dev Jan 27, 2021
@github-actions
Copy link
Contributor

The backport to release-2.2 failed:

The process '/usr/bin/git' failed with exit code 1

To backport manually, run these commands in your terminal:

# Fetch latest updates from GitHub
git fetch
# Create a new working tree
git worktree add .worktrees/backport-release-2.2 release-2.2
# Navigate to the new working tree
cd .worktrees/backport-release-2.2
# Create a new branch
git switch --create backport-2047-to-release-2.2
# Cherry-pick the merged commit of this pull request and resolve the conflicts
git cherry-pick ---mainline 1 97c5c4b0aa35cfd96197558ffc1189860b4adc6f
# Push it to GitHub
git push --set-upstream origin backport-2047-to-release-2.2
# Go back to the original working tree
cd ../..
# Delete the working tree
git worktree remove .worktrees/backport-release-2.2

Then, create a pull request where the base branch is release-2.2 and the compare/head branch is backport-2047-to-release-2.2.

joe-maley pushed a commit that referenced this pull request Jan 27, 2021
This bumps the format version from 7 to 8. For version 8, dimension and
attribute names are percent-encoded to RFC 3986 + a few extra to handle
reserved characters on Windows.

This is intended to be a temporary measure. In the future, we will include
a mapping between names and their ordered index in the array schema.

Co-authored-by: Joe Maley <[email protected]>
Shelnutt2 pushed a commit that referenced this pull request Jan 27, 2021
This bumps the format version from 7 to 8. For version 8, dimension and
attribute names are percent-encoded to RFC 3986 + a few extra to handle
reserved characters on Windows.

This is intended to be a temporary measure. In the future, we will include
a mapping between names and their ordered index in the array schema.

Co-authored-by: Joe Maley <[email protected]>
@Shelnutt2 Shelnutt2 deleted the jpm/encode-attr-dim-names branch June 8, 2021 10:48
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.

3 participants