-
-
Notifications
You must be signed in to change notification settings - Fork 171
fix: truncate generated filenames to the filesystem byte limit #1569
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
Merged
+163
−25
Merged
Changes from all commits
Commits
Show all changes
25 commits
Select commit
Hold shift + click to select a range
050bce8
Truncate generated filenames to the filesystem byte limit
Agi-Asi b88d245
chore: move the import
tcely d9f28d4
review: parse names with pathlib, raise TypeError, add encoding-edge …
Agi-Asi af0230f
chore: move some imports
tcely f8d8da4
fix(lint): address RUF012
tcely ab269c3
fix(lint): address FURB188
tcely 137e65a
fix(lint): address UP032
tcely 45237a2
chore(lint): ignore RUF059
tcely 2be3b9f
fix(lint): address TRY004
tcely ee54163
fix(test): specify max_bytes for truncate_filename_bytes
tcely e520f9c
fix(lint): address B006
tcely 964025f
fix(lint): address PIE790
tcely 7e62a08
fix(lint): address DTZ007
tcely e76b05e
chore(lint): ignore TRY002 & TRY004
tcely 7c14c3a
Merge branch 'main' into fix/filename-max-bytes
tcely c931730
Merge branch 'main' into fix/filename-max-bytes
tcely c77a82f
chore(lint): ignore BLE001
tcely 661f928
chore(lint): ignore B010,RUF059,SIM118
tcely a7e2e19
chore: rename truncate_filename_bytes to truncate_filename
tcely e13df54
fix: clamp max_bytes to realistic values
tcely 1ad1a94
fix: clean before trucate
tcely 1d588b6
chore: use Path instead of PurePosixPath
tcely b703703
chore(lint): ignore SIM117
tcely c058ece
Merge branch 'main' into fix/filename-max-bytes
tcely f0975bb
Merge branch 'main' into fix/filename-max-bytes
tcely File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.