Thomas Waldmann
f088682bc9
ignore testsuite test for slow msgpack on cygwin
...
we don't want to have a failing test just because a
not compiled msgpack was used to run the tests.
2022-11-22 18:16:12 +01:00
Thomas Waldmann
f71f26ddfd
mypy: fix platform package
...
clean up imports, remove unused stuff
2022-07-15 13:15:11 +02:00
Thomas Waldmann
7957af562d
blacken all the code
...
https://black.readthedocs.io/
2022-07-06 16:34:38 +02:00
Jürg Rast
6b426d08d7
Initial work to build and run borg under windows
...
- Created a batch file to build borg on windows
- Adjusted setup.py to be runnable on windows and build the windows
extension
- Extracted the free space check to a function in the platform module
- Created the minimal needed (dummy) functions for the windows platform
module
2019-08-24 10:17:18 +02:00
Emmo Emminghaus
733a2bfa30
Introduce borg.platformflags.is_<os>
2018-11-10 23:34:43 +01:00
Emmo Emminghaus
558ca61d20
remove posix issues and fixup for unsupported methodes
2018-11-10 21:48:46 +01:00
Emmo Emminghaus
b997d5ba5b
move code from borg.helpers.usergroup to borg.platform.posix
2018-11-10 21:43:45 +01:00
Thomas Waldmann
99149684bf
xattr: move to platform package, use cython, fixes #2495
...
this code used to live in borg.xattr and used ctypes
(and was the only ctypes-using code in borg).
the low level code now was converted to cython and
the platform code moved to platform package.
got rid of the code that tried to find the libc.
2018-07-07 15:47:56 +02:00
Thomas Waldmann
b419098fa4
make swidth available on all posix platforms, fixes #2667
...
it is assumed that posix == everything else than win32.
2018-06-12 21:25:17 +02:00
Thomas Waldmann
5e4df7782b
refactor/move hostname/fqdn related funcs, see #3471
...
- move stuff to platform.base (should be platform independent according
to the docs).
- bump platform API version
- parseformat: import fqdn from platform instead of recomputing it
This is not yet fixing #3471 , just a preparation for it.
2017-12-24 04:12:02 +01:00
Marian Beermann
2fe37dba7f
umount: try fusermount, then try umount
2017-07-24 13:55:32 +02:00
Thomas Waldmann
c0dc644ef6
Merge branch '1.0-maint' into merge-1.0-maint
...
# Conflicts:
# MANIFEST.in
# Vagrantfile
# docs/changes.rst
# docs/usage/mount.rst.inc
# src/borg/archiver.py
# src/borg/fuse.py
# src/borg/repository.py
2017-01-29 05:49:53 +01:00
Thomas Waldmann
e4c5db4efc
posix platform module: only build / import on non-win32 platforms, fixes #2041
...
rather use a inverted check like "not windows".
also: add a base implementation for this stuff, just raising NotImplementedError
2017-01-14 14:48:49 +01:00
Thomas Waldmann
afab1cc9b0
Merge branch '1.0-maint'
...
# Conflicts:
# borg/platform.py
# src/borg/archiver.py
# src/borg/helpers.py
# src/borg/platform/darwin.pyx
# src/borg/platform/freebsd.pyx
# src/borg/platform/linux.pyx
# src/borg/testsuite/__init__.py
2016-11-17 23:56:34 +01:00
Marian Beermann
2bd8ac7762
platform: bump API version (and check consistency)
2016-11-07 21:54:16 +01:00
Marian Beermann
c562f7750c
Move platform-dependent code to platform package
2016-11-07 21:54:16 +01:00
Marian Beermann
36ebc82748
Add platform.SaveFile
2016-07-09 21:10:26 +02:00
Marian Beermann
0ca1a18b33
Make borg.platform a package
2016-05-31 15:38:56 +02:00