Commit Graph

34 Commits

Author SHA1 Message Date
Andrey Bienkowski adb1c36215 black integration 2022-07-06 14:55:40 +02:00
Thomas Waldmann a1acc00a90 codeql: empty env section is invalid 2022-07-06 14:20:36 +02:00
Thomas Waldmann 5c8a5f111f stop using libdeflate
borg2's new repo format does not need computing crc32 over big amounts of
(content) data any more (we now use xxh64 for that).

thus, having a quick crc32 implementation via libdeflate is not important
enough any more to rectify having libdeflate as a requirement.
2022-07-04 20:33:59 +02:00
Thomas Waldmann e0c64629d1 Merge branch 'master' into borg2
strange conflicts, automated patches seemed to not have applied correctly.
also had to fix some stuff manually, tests were failing.
2022-06-23 11:25:01 +02:00
Thomas Waldmann 72994a4432 also test pull requests against borg2 branch 2022-06-14 15:40:09 +02:00
Thomas Waldmann 18a7debf75 CI: also test on python 3.11-dev 2022-06-03 10:05:04 +02:00
Thomas Waldmann 98a675f62a use crc32 from libdeflate, remove bundled crc32 code
we use zlib.crc32 (macOS) or libdeflate_crc32 (Linux and all others) now.
2022-03-13 21:39:34 +01:00
Thomas Waldmann 2cad8c925d fix codeql complaining about missing headers needed by borg
thus:
- install requirements first
- codeql init
- build borg
- codeql analyzse
2022-03-05 22:17:44 +01:00
Andrey Bienkowski aba16ba0d4 CodeQL: Use venv
A bug in pip or possibly setuptools broke editable
installs into the per-user directory
for packages that have pyproject.toml

See https://github.com/pypa/setuptools/issues/3019
2022-03-01 08:44:40 +03:00
Thomas Waldmann 64e7ccd3fc require python >= 3.9, fixes #6315 2022-02-27 18:46:30 +01:00
Thomas Waldmann 606ba08587 fix ci: we need xxhash system lib on macOS
also: we do not need libb2 (directly) any more, this is provided indirectly via python3 now
2022-02-26 22:40:16 +01:00
Thomas Waldmann 64e02887c0 fix codeql: borg needs required libs/headers now
nothing bundled any more.
2022-02-26 22:35:47 +01:00
Andrey Bienkowski 55d5223338
s/apt/apt-get/
> WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
2022-02-25 05:24:00 +00:00
TW 757f757cc1
codeql analysis (#6148)
codeql analysis: fixes and cosmetics
2022-01-22 15:00:45 +01:00
TW 69337fca61
add codeql analysis 2022-01-22 13:50:27 +01:00
Thomas Waldmann e0af9d8ee7 CI: macOS: re-enable fuse2 testing, work around #6099
Downgrade to macOS 10.15 as macOS 11.x breaks fuse2 testing.

On macOS 10.15, osxfuse and also macfuse works with borg's fuse2 tests.

Upgrading to macOS 11.x based github CI breaks the tests, see #6099,
even when using the more recent macfuse to provide fuse2 capability.
2022-01-16 18:36:29 +01:00
TW aec98e48ec
Merge pull request #6116 from ThomasWaldmann/upgrade-py-master
upgrade pythons (master)
2022-01-07 14:21:32 +01:00
Thomas Waldmann 530acb68be github ci: use 3.10 (without -dev) 2022-01-06 23:33:45 +01:00
Thomas Waldmann a21c65b868 macos ci: no fuse tests for now, fixes #6099
test_fuse hangs (tried with osxfuse as well as with macfuse) for yet unknown reasons.
2022-01-06 22:25:03 +01:00
Thomas Waldmann 59b6dc5442 require python 3.8+, fixes #5975
if you do not have py38+ yet, just use borg 1.1.x.
2021-09-16 02:21:29 +02:00
Thomas Waldmann b15469c3c8 drop support for py36, require py37+, fixes #5790
if you do not have python >= 3.7, you can still use borg 1.1.x or 1.0.x.

another option is to use the fat binary from github releases, which
includes python and all other stuff needed.
2021-06-16 15:31:34 +02:00
Thomas Waldmann 14722acebc github CI: test on py310 (again) 2021-05-01 20:40:48 +02: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
Thomas Waldmann 9f4a6e5574 add support and testing for python 3.10 2021-02-28 22:49:03 +01:00
Thomas Waldmann b2b2a2622d add a timeout for the github CI jobs, fixes #5548
sometimes they hung for 6h... (not our fault, seems like a infrastructure problem).
2020-12-05 18:35:00 +01:00
Samuel 9fa28dfee7 Upload coverage reports to codecov 2020-12-03 23:38:17 -06:00
Thomas Waldmann 0950d23e4d test fuse2/fuse3 2020-11-04 01:20:57 +01:00
Thomas Waldmann cd9e173967 checkout: fetch all to make setuptools_scm work 2020-11-03 22:57:15 +01:00
Thomas Waldmann 14d0e566b6 run tests via tox/pytest 2020-11-03 15:40:47 +01:00
Thomas Waldmann ea3954072b github action: flake8 linter 2020-11-03 01:18:27 +01:00
TW 2ea3878234
Update FUNDING.yml 2020-06-29 01:28:23 +02:00
TW 57843f3f52
Create FUNDING.yml 2020-06-29 01:14:20 +02:00
borkd 53f9ed0160
Create ISSUE_TEMPLATE.md
First stab at new issue template
2018-04-20 16:15:15 -04:00
Thomas Waldmann dfd37d09d5 add a PR template pointing to guidelines 2016-12-03 18:34:34 +01:00