1
0
Fork 0
mirror of https://github.com/borgbackup/borg.git synced 2024-12-25 01:06:50 +00:00
Commit graph

6432 commits

Author SHA1 Message Date
TW
bafc4e8455
Merge pull request #5795 from ThomasWaldmann/vagrant-updates5
vagrant updates
2021-05-06 15:35:57 +02:00
Thomas Waldmann
0e9befb539 require setuptools>=45.0
the focal64 vagrant box otherwise runs into an issue,
because setuptools 44.x is installed and conflicts with
setuptools_scm wanting >=45.
2021-05-06 03:40:44 +02:00
Thomas Waldmann
3960ff3292 vagrant: use pyinstaller v4.3 2021-05-06 03:07:28 +02:00
Thomas Waldmann
6cc3653d3e vagrant: use Python 3.9.5 2021-05-06 02:58:03 +02:00
TW
91946fb594
Merge pull request #5789 from ThomasWaldmann/fix-iec-global
fix --iec option when given after "borg"
2021-05-03 20:15:25 +02:00
Thomas Waldmann
b04b7a77fd fix --iec option when given after "borg"
now both behave the same:
borg --iec info REPO
borg info --iec REPO
2021-05-03 18:28:58 +02:00
TW
c114e060ec
Merge pull request #5788 from RonnyPfannschmidt/move-chunks-equals
move chunk_equals to module level and modernize tox.ini
2021-05-02 21:14:59 +02:00
Ronny Pfannschmidt
b726b66fd1 tox.ini: modernize and enable execution without preinstalling deps 2021-05-02 17:51:12 +02:00
TW
880e007c41
Merge pull request #5787 from ThomasWaldmann/upd-chg-master
update CHANGES
2021-05-02 17:33:27 +02:00
Ronny Pfannschmidt
603023bbd5 transform _chunk_content_equal into a global function to ease later benchmarking 2021-05-02 17:29:37 +02:00
Thomas Waldmann
852bc7b0d9 update CHANGES 2021-05-01 23:06:48 +02:00
TW
76063ab219
Merge pull request #5786 from ThomasWaldmann/no-distutils-but-packaging-master
get rid of distutils, using packaging
2021-05-01 21:27:25 +02:00
Thomas Waldmann
14722acebc github CI: test on py310 (again) 2021-05-01 20:40:48 +02:00
Thomas Waldmann
65ea375968 get rid of distutils, use packaging 2021-05-01 20:40:48 +02:00
Thomas Waldmann
9d8d64c5e3 setup.py: get rid of distutils, use setuptools
distutils is deprecated and gives warnings on py 3.10.

rename "clean" to "clean2" to avoid shadowing the "clean" command.
2021-05-01 20:40:48 +02:00
TW
99065a4034
Merge pull request #5780 from ThomasWaldmann/show-early
print preliminary file status early, fixes #5417
2021-04-30 21:03:10 +02:00
Thomas Waldmann
76dfd64aba create/recreate: print preliminary file status early, fixes #5417
if we back up stdin / pipes / regular files (or devices with --read-special),
that may take longer, depending on the amount of content data (could be many GiBs).

usually borg announces file status AFTER backing up the file,
when the final status of the file is known.

with this change, borg announces a preliminary file status before
the content data is processed. if the file status changes afterwards,
e.g. due to an error, it will also announce that as final file status.
2021-04-30 20:34:13 +02:00
TW
91e9520946
Merge pull request #5743 from rom1v/iec
add --iec option to express sizes in powers of 1024 (KiB, MiB, …)
2021-04-28 15:57:17 +02:00
Romain Vimont
9ddcfaf4f7 info / create --stats: add --iec option
If --iec is passed, then sizes are expressed in powers of 1024
instead of 1000.
2021-04-28 15:17:40 +02:00
TW
57abf9a3ad
Merge pull request #5778 from ThomasWaldmann/missing-chunk-id-master
missing / healed chunks: always tell chunk ID, fixes #5704
2021-04-20 00:43:02 +02:00
Thomas Waldmann
dec1664a7e missing / healed chunks: always tell chunk ID, fixes #5704 2021-04-19 23:46:21 +02:00
TW
16c6819824
Merge pull request #5777 from ThomasWaldmann/issue-5673
do not load files cache for commands not using it, fixes #5673
2021-04-19 23:09:29 +02:00
Thomas Waldmann
02a9db50d2 do not load files cache for commands not using it, fixes #5673 2021-04-19 22:40:21 +02:00
TW
318b0446b5
Merge pull request #5775 from ThomasWaldmann/cache-readme-create-once-master
fix repeated cache tag file writing bug
2021-04-19 21:35:07 +02:00
Thomas Waldmann
adc89c488c fix repeated cache tag file writing bug
this bug was introduced by PR #5485 and also affects backport PR #5774.
2021-04-19 21:07:29 +02:00
TW
a9b1e1fe56
Merge pull request #5773 from ThomasWaldmann/attack-or-unsafe-docs-master
docs: add unsafe workaround to use an old repo copy, fixes #5722
2021-04-19 20:23:27 +02:00
TW
04915c4175
Merge pull request #5769 from ThomasWaldmann/update-changes-master
update CHANGES (master)
2021-04-19 20:23:09 +02:00
Thomas Waldmann
06c6e7e79c docs: add unsafe workaround to use an old repo copy, fixes #5722 2021-04-19 20:11:37 +02:00
Thomas Waldmann
c5ec6e78d2 update CHANGES (master) 2021-04-19 18:34:56 +02:00
TW
426f5e8335
Merge pull request #5726 from rblenis/fix-line-lengths
cleanup code style checks
2021-04-19 17:34:11 +02:00
Robert Blenis
789908f13f fix pep8 violations in errorlist.py 2021-04-18 10:06:48 -04:00
Robert Blenis
96a138b226 fix pep8 violations in conftest.py 2021-04-18 10:04:43 -04:00
Robert Blenis
d0841eb759 cleanup flake8 checks
- make code style exceptions tailored to specific files, so that it's less likely that new violations creep into the code.
2021-04-18 07:10:10 -04:00
TW
9d7ab7bee2
Merge pull request #5767 from ThomasWaldmann/remote-options
remote-options: help string fixup
2021-04-16 23:28:41 +02:00
Thomas Waldmann
7290333051 help string fixup 2021-04-16 19:09:52 +02:00
TW
56a75ee691
Merge pull request #5766 from ThomasWaldmann/remote-options
--remote-* option names deprecation
2021-04-16 19:07:44 +02:00
Thomas Waldmann
6b838febe8 s/remote_(buffer|ratelimit)/upload_(buffer/ratelimit)/g 2021-04-16 15:48:10 +02:00
Thomas Waldmann
40e4aa085f add --upload-(ratelimit|buffer), deprecate --remote-*, fixes #5611 2021-04-16 15:45:10 +02:00
TW
5543e3b74b
Merge pull request #5765 from ThomasWaldmann/numeric-ids
--numeric-ids
2021-04-16 15:34:19 +02:00
Thomas Waldmann
6f9b9e5a53 s/numeric_owner/numeric_ids/g 2021-04-16 15:02:16 +02:00
Thomas Waldmann
251ce11fd8 add --numeric-ids, deprecate --numeric-owner option, fixes #5724 2021-04-16 14:52:12 +02:00
TW
c88a37eea4
Merge pull request #5737 from adrian5/master
docs: Add commas to pattern help section
2021-03-20 14:22:30 +01:00
adrian5
6f371d5522 docs: Add commas to pattern help section 2021-03-19 09:34:51 +01:00
TW
9776754b89
Merge pull request #5708 from rblenis/diff-json-lines
add --json-lines option to diff command
2021-03-14 21:04:39 +01:00
Robert Blenis
b2dea4422e add --json-lines option to diff command 2021-03-13 11:50:55 -05:00
TW
eeda4650ae
Merge pull request #5730 from ThomasWaldmann/disable-py310-testing-master
don't test on py310 for now
2021-03-12 20:32:00 +01:00
Thomas Waldmann
9884104219 don't test on py310 for now
it breaks everything due to issue #5729 - reenable after fixing that.
2021-03-12 20:10:11 +01:00
TW
18b58cc701
Merge pull request #5725 from ThomasWaldmann/mount-name-mapping
mount: implement --numeric-owner (default: False!)
2021-03-11 14:14:25 +01:00
Thomas Waldmann
bbccdbd81c mount: implement --numeric-owner (default: False!), fixes #2377
this is different default behaviour than in borg < 1.2:

default (numeric_owner=False) is to use the user/group name from the archive,
look up the local uid / gid and then use that for the FUSE fs.

when --numeric-owner is given (numeric_owner=True), then the uid/gid
from the archive is directly used (as it was the default behaviour in
borg < 1.2).

this was implemented like this (changing the default behaviour) to make
borg mount and borg extract behave more similar considering usage of
user/group numeric archived ids or archived names mapped to corresponding
numeric local system ids.

also, both now use the same function to get the uid/gid from the item.

fuse:
- add user and group name entries to default_dir
- also: set internal_dict(!) of new Item with data from Item.as_dict()
2021-03-07 18:16:23 +01:00
TW
1ef7519823
Merge pull request #5714 from ThomasWaldmann/drop-old-buffer-protocol-support-parts-master
add support and testing for python 3.10
2021-02-28 23:15:00 +01:00