-
-
Notifications
You must be signed in to change notification settings - Fork 758
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
Allow --files-cache=size #5831
Allow --files-cache=size #5831
Conversation
OK, change looks good! How did you test it? Update: I looked around in the code. Looks like this is really the only change needed. Didn't do practical tests. |
Codecov Report
@@ Coverage Diff @@
## master #5831 +/- ##
==========================================
- Coverage 83.56% 83.51% -0.06%
==========================================
Files 38 38
Lines 10237 10237
Branches 1695 1695
==========================================
- Hits 8555 8549 -6
- Misses 1187 1190 +3
- Partials 495 498 +3
Continue to review full report at Codecov.
|
@Swanand01 did you see my question / can you do some manual tests? |
Very sorry I missed your previous message. I don't actually know how to perform tests, could you please suggest what is to be done? |
|
I am getting this error while installing from setup.py. I am on a windows based machine |
@Swanand01 borg does not work on native windows, you can try cygwin or WSL or Linux, BSD, macOS. Usually there is some package containing the openssl header files, called libssl-dev or so. |
I merged this now without waiting for the practical test. --files-cache=s is not used by default and also not advisable for most use cases. Somebody brave enough to think that s is enough will test this. :-) |
I have changed the VALID_MODES in the FilesCacheMode function in parseformat.py and added 's' for size only mode.
Fixes #5686.