-
Notifications
You must be signed in to change notification settings - Fork 52
Avoiding session file names that are too long #468
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
base: main
Are you sure you want to change the base?
Avoiding session file names that are too long #468
Conversation
dc67c07 to
c1b833d
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Either make the helper generic enough to apply to any fpath or move the logic into file_state_repository and have it be specific to session fpaths
|
Thanks for sending this! I'd recommend the latter suggestion from @nfgrep (move it into the file_state_repository). I think general filename safety is important, but there are enough different ways that a file name might be generated that I don't want to settle on one global answer to soon. Until we find ourselves implementing several similar instances of a safe filename utility for a different specific purposes, it's a lot easier to keep things like this purpose-specific |
c1b833d to
bfca361
Compare
|
I moved the logic into |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Appreciate the move into file_state_repository.rb ❤️ Just a few straggler questions to answer, with those addressed we should be good to merge :)
bfca361 to
83239dc
Compare
83239dc to
3824daa
Compare
refs #267
PS: I'm looking for a new adventure in case anybody is looking to hire or work with a Ruby/Rails/Crystal dev
PPS: would you be so kind and add the
hacktoberfest-acceptedlabel to this issue in case you find that PR helpful? 🥺