Commit graph

2073 commits

Author SHA1 Message Date
Bernhard Reiter
439e63f8ea
Make /storage/filesystem ignore .tmp files
Hardcode to ignore files with `.tmp` suffix as this is mentioned
in the vdir specification.
2021-05-19 17:51:57 +02:00
Bernhard Reiter
804b9f0429
Add tests to filesystem storage for file ignorance
that ignore .tmp files even when fileext is empty.
Prepares to make the filesystem storage more universal as part of #881 .
2021-05-19 17:40:04 +02:00
Hugo Barrera
44e4beb06f
Merge pull request #886 from pimutils/black
Black
2021-05-11 21:11:09 +02:00
Hugo Barrera
94f8d608ec
Merge pull request #885 from pimutils/deb
Update build script for Debian/Ubuntu
2021-05-11 20:31:42 +02:00
Hugo Osvaldo Barrera
d2d41e5df1 Use black to auto-format the codebase 2021-05-06 19:28:54 +02:00
Hugo Osvaldo Barrera
abf199f21e Fix using mutable object as default arg 2021-05-06 19:28:08 +02:00
Hugo Osvaldo Barrera
75719ecc66 Update pre-commit hooks 2021-05-06 19:26:30 +02:00
Hugo Osvaldo Barrera
9513ee7f61 Update build script for Debian/Ubuntu 2021-05-06 19:11:43 +02:00
Hugo Osvaldo Barrera
a68121e439 Update pre-commit hooks 2021-04-18 16:00:39 +02:00
Hugo Osvaldo Barrera
e355b3336b Fix style checks on CI 2021-04-18 15:59:40 +02:00
Hugo Osvaldo Barrera
b435465bc7 Merge style checks into tests
They're both run in pretty much the same environment, and it's
unnecessary to spin up a separate VM for that.
2021-04-09 20:56:21 +02:00
Hugo Osvaldo Barrera
56688a6c50 Avoid installing any dependencies from PyPI
This is to fully ensure that we're using just distribution packages and
not actually fetching newer stuff from PyPI.
2021-04-09 20:01:27 +02:00
Hugo Barrera
bc002a700e
Merge pull request #879 from pimutils/archlinux
Run tests and CI on ArchLinux image
2021-04-07 21:38:07 +00:00
Hugo Osvaldo Barrera
12c860978b Run CI on ArchLinux with repository dependencies 2021-04-07 21:45:43 +02:00
Hugo Osvaldo Barrera
fdc12d561c Update tests to work with hypothesis 6 2021-04-07 21:45:41 +02:00
Hugo Osvaldo Barrera
f549b1d706 Merge branch 'dav_default_ns' 2021-04-07 09:10:53 +02:00
Hugo Osvaldo Barrera
90e8b7b0bc Merge branch 'cleanup' 2021-04-07 09:10:40 +02:00
Hugo Osvaldo Barrera
c5a59ab10b Delete some obsolete leftovers 2021-04-07 08:43:29 +02:00
Hugo Osvaldo Barrera
2685f8db68 Merge master into dav_default_ns 2021-04-07 08:42:29 +02:00
Hugo Barrera
98d28ea2c0
Merge pull request #876 from dilyanpalauzov/typo_a_an
Typo a→an
2021-04-07 06:41:17 +00:00
Дилян Палаузов
ed0b4bef10 Typo a→an 2021-04-07 09:11:15 +03:00
Hugo Barrera
b9c01f8756
Merge pull request #873 from dilyanpalauzov/typo_google
Typo google→Google
2021-04-06 18:33:34 +00:00
Hugo Barrera
de867fcda2
Merge pull request #851 from pimutils/py39
Add support for Python 3.9
2021-04-06 18:33:08 +00:00
Hugo Osvaldo Barrera
1f066ca6ca Remove unused Makefile target 2021-04-06 19:53:00 +02:00
Hugo Osvaldo Barrera
55af4eaf80 Send coverage reports to Codecov 2021-04-06 19:53:00 +02:00
Hugo Osvaldo Barrera
2161de30d0 Avoid docker-compose
The way it handles docker networks breaks builds.
2021-04-06 19:53:00 +02:00
Hugo Osvaldo Barrera
ef34d77ab1 Use Sourcehut for CI 2021-04-06 19:52:57 +02:00
Hugo Osvaldo Barrera
255ea8f9bf This comparison actually does something 2021-04-05 23:28:39 +02:00
Hugo Osvaldo Barrera
8608f37fbb Pin hypothesis 2021-04-05 23:28:39 +02:00
Hugo Osvaldo Barrera
5ed9c821b8 This should work, right?
It's embarrassing that I didn't come up with something so simple before.
2021-04-05 23:28:39 +02:00
Hugo Osvaldo Barrera
53878f001a Horrible, nasty hack 2021-04-05 23:28:39 +02:00
Hugo Osvaldo Barrera
9df587df26 Update CI image
The former one does not support Python 3.9.
2021-04-05 23:28:39 +02:00
Hugo Osvaldo Barrera
8ac4a00306 Add support for Python 3.9 2021-04-05 23:28:39 +02:00
Дилян Палаузов
7750dda980 Typo google→Google 2021-03-18 16:49:08 +02:00
Дилян Палаузов
bf67af609e Substitute the d: prefix for the DAV: namespace with no prefix (default namespace) 2021-03-09 22:23:12 +02:00
Hugo Barrera
6897995080
Merge pull request #870 from tlahn/patch-1
Replace pipsi with pipx
2021-03-07 19:40:19 +00:00
tlahn
31c60021fa
Replace pipsi with pipx
pipsi page says, it is discontinued. Replacing with pipx
2021-03-07 20:10:39 +01:00
Hugo Barrera
a42906b0e8
Merge pull request #859 from pimutils/tarball-includes
Tweak files included in tarballs
2020-12-28 14:25:46 +00:00
Hugo Osvaldo Barrera
f9c6602684 Exclude docker-related files from tarballs 2020-12-28 10:34:32 +01:00
Hugo Osvaldo Barrera
74bb2ffb66 Include contrib in tarballs
Fixes #858
2020-12-28 10:34:25 +01:00
Hugo Barrera
b5d4d3f9a9
Merge pull request #846 from pfactum/master
contrib/systemd: implement service timeout
2020-10-05 15:57:52 +02:00
Oleksandr Natalenko
f79647b29c contrib/systemd: extend timeout to 3 mins
Some people may have mixes of many servers and/or slow connections,
and we'd rather not break for them.

Signed-off-by: Oleksandr Natalenko <oleksandr@natalenko.name>
2020-10-04 22:08:41 +02:00
Oleksandr Natalenko
1de3632620 contrib/systemd: implement service timeout
Sometimes while doing a suspend/resume cycle vdirsyncer can hang in the
middle of sync, and it never bails out afterwards.

Implement a systemd service change that works around this:

* use `simple` (a default) type for `RuntimeMaxSec` to be effective
* actually set `RuntimeMaxSec` to 30 seconds
* trigger service restart on failure

Signed-off-by: Oleksandr Natalenko <oleksandr@natalenko.name>
2020-10-04 20:14:59 +02:00
Hugo Barrera
aeb46ab5a9
Merge pull request #845 from AlecPapierniak/master
Update installation.rst - add closing quote to virtualenv alias
2020-09-09 08:22:17 +00:00
Alec Papierniak
27ebb0902b
Update installation.rst
adding closing quote to virtualenv alias
2020-09-08 22:29:31 -05:00
Hugo Osvaldo Barrera
f281f956f1 Dedupe import 2020-08-06 12:42:00 +02:00
Hugo Osvaldo Barrera
83e5361643 Fix instructions on how to configure timers
Fixes #792
2020-08-06 12:41:05 +02:00
Hugo Osvaldo Barrera
2650a7ed0b Rework packaging guidelines a bit 2020-08-06 12:39:31 +02:00
Hugo Barrera
68ff37e677
Merge pull request #830 from pimutils/next
Keep moving forward
2020-06-10 19:48:15 +00:00
Hugo Osvaldo Barrera
14deb20ce5 Merge remote-tracking branch 'origin/master' into next 2020-06-10 21:10:02 +02:00