tahoe-lafs / magic-folder

Tahoe-LAFS-based file synchronization
Other
25 stars 7 forks source link

basic read-only support #737

Closed meejah closed 10 months ago

meejah commented 1 year ago

This is a bit of a brute-force attempt at read-only support (on top of the fixes to gracefully degrade invites to read-only).

Likely needs a bit more thought..

codecov[bot] commented 1 year ago

Codecov Report

Merging #737 (7adcb56) into main (ebe0d68) will increase coverage by 0.10%. The diff coverage is 91.66%.

@@            Coverage Diff             @@
##             main     #737      +/-   ##
==========================================
+ Coverage   91.91%   92.02%   +0.10%     
==========================================
  Files          39       39              
  Lines        5270     5291      +21     
  Branches      649      655       +6     
==========================================
+ Hits         4844     4869      +25     
+ Misses        277      273       -4     
  Partials      149      149              
Flag Coverage Δ
integration 72.84% <88.88%> (-0.14%) :arrow_down:

Flags with carried forward coverage won't be shown. Click here to find out more.

Files Coverage Δ
src/magic_folder/api_cli.py 85.86% <100.00%> (+0.05%) :arrow_up:
src/magic_folder/cli.py 77.39% <ø> (ø)
src/magic_folder/client.py 94.11% <100.00%> (ø)
src/magic_folder/config.py 96.63% <100.00%> (+0.01%) :arrow_up:
src/magic_folder/invite.py 92.36% <100.00%> (+0.81%) :arrow_up:
src/magic_folder/magic_file.py 96.25% <100.00%> (+0.01%) :arrow_up:
src/magic_folder/magic_folder.py 94.44% <100.00%> (+0.03%) :arrow_up:
src/magic_folder/participants.py 92.00% <100.00%> (+1.92%) :arrow_up:
src/magic_folder/service.py 98.99% <ø> (ø)
src/magic_folder/web.py 87.32% <50.00%> (+0.34%) :arrow_up:

... and 1 file with indirect coverage changes

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more