TW
65703df839
Merge pull request #6862 from ThomasWaldmann/mypy-borg2
...
add mypy
2022-07-15 15:23:07 +02:00
Thomas Waldmann
b8e48c5036
mypy: fixes / annotations
2022-07-15 14:54:48 +02:00
Thomas Waldmann
366ef73f88
mypy: rename yes module to yes_no to avoid name collision
2022-07-15 14:46:18 +02:00
Thomas Waldmann
f71f26ddfd
mypy: fix platform package
...
clean up imports, remove unused stuff
2022-07-15 13:15:11 +02:00
Thomas Waldmann
b07aeef498
add mypy checking
...
also added some .pyi files needed to check the cython code (taken from #5703 and updated).
fixed "syntax error" in key.py.
all mypy complaints not fixed yet.
2022-07-15 12:49:38 +02:00
TW
c5fa64a9a4
Merge pull request #6860 from ThomasWaldmann/remove-legacy-cleanup-borg2
...
remove legacy_cleanup
2022-07-13 18:18:04 +02:00
TW
d5c91cd37b
Merge pull request #6859 from ThomasWaldmann/remove-attic-stuff-borg2
...
remove remainders of attic legacy
2022-07-13 18:17:47 +02:00
TW
b37f660d8b
Merge pull request #6858 from ThomasWaldmann/remove-scp-tilde-expansion-borg2
...
we remove scp style, also remove it for tilde expansion, fixes #6856
2022-07-13 18:16:57 +02:00
Thomas Waldmann
2d2f468410
remove legacy_cleanup
...
not needed any more.
2022-07-13 17:06:52 +02:00
Thomas Waldmann
7bc7f01342
remove remainders of attic legacy
...
we expect that everybody has upgraded to borg
using borg 1.2.x or older, thus we do not need
to care about attic repos any more in borg2.
2022-07-13 16:55:29 +02:00
Thomas Waldmann
1de12eacb7
we remove scp style, also remove it for tilde expansion, fixes #6856
2022-07-13 16:42:46 +02:00
TW
ca74118b61
Merge pull request #6849 from ThomasWaldmann/update-changes-borg2
...
update CHANGES
2022-07-09 16:58:27 +02:00
TW
a3035270da
Merge pull request #6848 from ThomasWaldmann/split-archiver
...
split archiver
2022-07-09 16:58:13 +02:00
Thomas Waldmann
55a5c5867a
update CHANGES
2022-07-09 15:34:15 +02:00
Thomas Waldmann
ea6b373f85
move common options definition to archiver.common
2022-07-09 15:13:13 +02:00
Thomas Waldmann
b2fb334af0
sort build_parser calls / mixins
2022-07-09 15:13:13 +02:00
Thomas Waldmann
70b54a696f
move create command to archiver.create
2022-07-09 15:13:13 +02:00
Thomas Waldmann
c871dbd8a5
move recreate command to archiver.recreate
2022-07-09 15:13:13 +02:00
Thomas Waldmann
ae6ef77495
move extract command to archiver.extract
2022-07-09 15:13:13 +02:00
Thomas Waldmann
e05f7971da
move build_filter/build_matcher to archiver.common
2022-07-09 15:13:13 +02:00
Thomas Waldmann
e57f3bb424
move info command to archiver.info
2022-07-09 15:13:13 +02:00
Thomas Waldmann
4d5a89ebc3
move rinfo command to archiver.rinfo
2022-07-09 15:13:13 +02:00
Thomas Waldmann
add73745c6
move rlist command to archiver.rlist
2022-07-09 15:13:13 +02:00
Thomas Waldmann
b959ff913a
move list command to archiver.list_cmd
...
note: can't be named "archiver.list" due to collision with builtin type "list".
2022-07-09 15:13:13 +02:00
Thomas Waldmann
382b37ef60
move list command to archiver.list
2022-07-09 15:13:13 +02:00
Thomas Waldmann
350a8fe252
move delete command to archiver.delete
2022-07-09 15:13:13 +02:00
Thomas Waldmann
06fe8d3e64
move rename command to archiver.rename
2022-07-09 15:13:13 +02:00
Thomas Waldmann
a31332ddb5
move rdelete command to archiver.rdelete
2022-07-09 15:13:13 +02:00
Thomas Waldmann
94aec46a01
move rcreate command to archiver.rcreate
2022-07-09 15:13:12 +02:00
Thomas Waldmann
ff411b5d98
move serve command to archiver.serve
2022-07-09 15:13:12 +02:00
Thomas Waldmann
68772484ce
move mount/umount/borgfs command to archiver.mount
2022-07-09 15:13:12 +02:00
Thomas Waldmann
2ff2927aa3
move check command to archiver.check
2022-07-09 15:13:12 +02:00
Thomas Waldmann
df57d33b5f
move compact command to archiver.compact
2022-07-09 15:13:12 +02:00
Thomas Waldmann
9fb224db6b
move diff command to archiver.diff
2022-07-09 15:13:12 +02:00
Thomas Waldmann
ea03562b11
move prune command to archiver.prune
2022-07-09 15:13:12 +02:00
Thomas Waldmann
94e6477e51
move config command to archiver.config
2022-07-09 15:13:12 +02:00
Thomas Waldmann
8d9e47e374
move transfer command to archiver.transfer
2022-07-09 15:13:12 +02:00
Thomas Waldmann
6d60976c51
move help commands to archiver.help
2022-07-09 15:13:12 +02:00
Thomas Waldmann
f906d9d246
move locking commands to archiver.locks
2022-07-09 15:13:12 +02:00
Thomas Waldmann
af2ee7aeb1
move key commands to archiver.keys
2022-07-09 15:13:12 +02:00
Thomas Waldmann
5ea9fb73db
move benchmark commands to archiver.benchmarks
2022-07-09 15:13:12 +02:00
Thomas Waldmann
27b63e7c48
move tar commands to archiver.tar
2022-07-09 15:13:12 +02:00
Thomas Waldmann
890d5950e7
move debug commands to archiver.debug
2022-07-09 15:13:12 +02:00
Thomas Waldmann
227ecb5b8e
transform archiver module into a package
2022-07-07 22:40:27 +02:00
TW
a45ce6dcfe
Merge pull request #6842 from ThomasWaldmann/black
...
Use Black for automated code formatting
2022-07-07 22:35:13 +02:00
Thomas Waldmann
ee20262fea
add .git-blame-ignore-revs
2022-07-06 16:35:31 +02:00
Thomas Waldmann
2e063a9c44
docs: using black for code formatting
2022-07-06 16:35:31 +02:00
Thomas Waldmann
7957af562d
blacken all the code
...
https://black.readthedocs.io/
2022-07-06 16:34:38 +02:00
Thomas Waldmann
7f8f671102
add requirements.d/codestyle.txt with the preferred black version
2022-07-06 16:34:38 +02:00
Andrey Bienkowski
adb1c36215
black integration
2022-07-06 14:55:40 +02:00