-
-
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
cache.py: be less verbose during cache sync #7277
cache.py: be less verbose during cache sync #7277
Conversation
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.
Thanks for the PR!
We could improve consistency of wording a bit, while we are at it. When I wrote this, I seemed to be undecided about chunks cache vs. chunks index, but guess the latter describes it better.
A small nitpick about "...": when I used this, it wanted to indicate that there is something ongoing after this (usually either followed by some lines of further infos while it is progressing and/or terminated by some "Done." when it is finished).
Maybe either keep that or terminate the sentence with a ".".
Codecov Report
@@ Coverage Diff @@
## master #7277 +/- ##
=======================================
Coverage 83.42% 83.42%
=======================================
Files 67 67
Lines 11582 11585 +3
Branches 2102 2103 +1
=======================================
+ Hits 9662 9665 +3
Misses 1363 1363
Partials 557 557
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. |
Let me know how the latest commit looks. I left the initial "..." to pair with the final "done". |
Much better consistency. But some places now say "cache index", that should be also "chunks index". That master |
Hopefully I've got it right now! |
Thanks! |
As discussed in #7271, this makes borg2 less verbose when it is syncing the cache. (This only happens if you access a repository from multiple hosts.) Below is how the new output looks with
-v
and with--debug
. (With neither, there is no relevant output.)I'd also be ok with showing less with
-v
if people prefer. Note that I removed a few places with...
in the output to make it look tidier, but I can reverse those.