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

when converting sha1 hash to filename, use first 2 charactors as fold… #87

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

qigtang
Copy link

@qigtang qigtang commented Jan 23, 2019

…er name for better performance

I am using git-pat to manage train data set (millions of files). Need to change file name to folder/filename to avoid stressing the OS file system out.

@jedbrown
Copy link
Owner

I think this is a good change and would be happy to merge if you can make it maintain backward compatibility. We'd either need to notice if the store uses the old schema and have a way to upgrade it or be able to work with a mixed-format store. Also, we can't just rip out "v1" parts without an upgrade path.

@qigtang
Copy link
Author

qigtang commented Jan 23, 2019

Just uploaded the python script I used to update storage name.
Sorry I have no way to test v1/v2 compatibility, so I wiped out v1.

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