Skip to content

create: backport implementation --stdin-mode, --stdin-user and --stdin-group, #5462#5466

Merged
ThomasWaldmann merged 1 commit intoborgbackup:1.1-maintfrom
schors:1.1-stdinmode
Nov 2, 2020
Merged

create: backport implementation --stdin-mode, --stdin-user and --stdin-group, #5462#5466
ThomasWaldmann merged 1 commit intoborgbackup:1.1-maintfrom
schors:1.1-stdinmode

Conversation

@schors
Copy link
Contributor

@schors schors commented Nov 2, 2020

--stdin-mode, --stdin-user and --stdin-group options added
File mode forces to regular file with other values from the option --stdin-mode. Default mode is 0o100660.
Error occurs if given user or group do not exists. Default user and group values are taken from system uid/gid 0

@schors schors changed the title create: backport implementation --stdin-mode, --stdin-user and --stdin-group, #5333 create: backport implementation --stdin-mode, --stdin-user and --stdin-group, #5462 Nov 2, 2020
@codecov-io
Copy link

Codecov Report

Merging #5466 into 1.1-maint will increase coverage by 0.02%.
The diff coverage is 68.75%.

Impacted file tree graph

@@              Coverage Diff              @@
##           1.1-maint    #5466      +/-   ##
=============================================
+ Coverage      80.26%   80.29%   +0.02%     
=============================================
  Files             27       27              
  Lines          10358    10371      +13     
  Branches        1827     1830       +3     
=============================================
+ Hits            8314     8327      +13     
+ Misses          1531     1528       -3     
- Partials         513      516       +3     
Impacted Files Coverage Δ
src/borg/archive.py 82.75% <42.85%> (+0.21%) ⬆️
src/borg/archiver.py 82.05% <87.50%> (+0.01%) ⬆️
src/borg/constants.py 100.00% <100.00%> (ø)
src/borg/cache.py 85.90% <0.00%> (-0.14%) ⬇️

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 a90b5d3...29ade6c. Read the comment docs.

@ThomasWaldmann ThomasWaldmann merged commit 01d73e4 into borgbackup:1.1-maint Nov 2, 2020
@ThomasWaldmann
Copy link
Member

Thanks!

@schors schors deleted the 1.1-stdinmode branch November 14, 2020 15:08
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.

3 participants