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

[ENH] improve the way rdiff-backup handles long filenames under Windows #782

Open
ericzolf opened this issue Nov 8, 2022 · 0 comments
Open
Milestone

Comments

@ericzolf
Copy link
Member

ericzolf commented Nov 8, 2022

Is your feature request related to a problem? Please describe.

Increase the filename length in the tests testing/location_map_filenames_test.py resp. testing/action_backuprestore_test.py so that files can still be created, but fail to be backed-up and then fix the issue, as files should get the shorter name mapped to accommodate for Windows quirks not properly reporting a filename length issue.

Also revisit the testing/longnametest.py test.

Describe the solution you'd like

I don't know yet.

Describe alternatives you've considered

Just ignore Windows quirks...

Additional context

Windows complains about file not existing:

WARNING: UpdateError:
         'C:/Users/vagrant/Develop/rdiff-backup/dist/rdb/testfiles/location_map_filenames/bak/rdiff-backup.tmp.1'
         [Errno 2] No such file or directory:
         b'C:/Users/vagrant/Develop/rdiff-backup/dist/rdb/testfiles/location_map_filenames/bak/rdiff-backup-data/increments/long;070i;076n;065mlong;070i;076n;065mlong;070i;076n;065mlong;070i;076n;065mlong;070i;076n;065mlong;070i;076n;065mlong;070i;076n;065mlong;070i;076n;065m.1970-01-01;08405-33-21;090.diff.gz'        
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant