Skip to content

Add storage_quota for forced_result if set by serve-command.#4095

Merged
ThomasWaldmann merged 1 commit intoborgbackup:1.1-maintfrom
m3nu:1.1-maint
Oct 3, 2018
Merged

Add storage_quota for forced_result if set by serve-command.#4095
ThomasWaldmann merged 1 commit intoborgbackup:1.1-maintfrom
m3nu:1.1-maint

Conversation

@m3nu
Copy link
Copy Markdown
Contributor

@m3nu m3nu commented Oct 3, 2018

See #4093 and #4091

@codecov-io
Copy link
Copy Markdown

codecov-io commented Oct 3, 2018

Codecov Report

Merging #4095 into 1.1-maint will increase coverage by 0.1%.
The diff coverage is 100%.

Impacted file tree graph

@@             Coverage Diff              @@
##           1.1-maint    #4095     +/-   ##
============================================
+ Coverage      84.35%   84.45%   +0.1%     
============================================
  Files             23       23             
  Lines           9381     9382      +1     
  Branches        1603     1603             
============================================
+ Hits            7913     7924     +11     
+ Misses          1019     1012      -7     
+ Partials         449      446      -3
Impacted Files Coverage Δ
src/borg/archiver.py 82.22% <100%> (+0.35%) ⬆️
src/borg/helpers.py 85.66% <0%> (+0.07%) ⬆️
src/borg/archive.py 83.19% <0%> (+0.15%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 3162abb...975cc33. Read the comment docs.

@ThomasWaldmann ThomasWaldmann merged commit 1900e0f into borgbackup:1.1-maint Oct 3, 2018
result.restrict_to_paths = forced_result.restrict_to_paths
result.restrict_to_repositories = forced_result.restrict_to_repositories
result.append_only = forced_result.append_only
result.storage_quota = forced_result.storage_quota
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fail open vs. fail closed -- instead of specifying what options are blacklisted (i.e. not overriden), consider whitelisting instead.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sounds great. I am just not sure yet what is the closed and what the open part in fail close/open with regard to this. As only expected options are explicitly specified, isn't this already whitelisting?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants