Commit graph

2040 commits

Author SHA1 Message Date
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
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
Hugo Osvaldo Barrera
5eef4b1ba1 Document GH Releases and signing 2020-06-10 16:42:35 +02:00
Hugo Osvaldo Barrera
7577fa2117 Update usage of deprecated method 2020-06-09 17:04:46 +02:00
Hugo Osvaldo Barrera
1031b07349 Fix test failures that ONLY happen on master 2020-06-09 17:04:22 +02:00
Hugo Osvaldo Barrera
47caebe843 Simplify coverage handling
- Always install coverage tools.
- Show coverage if all tests pass.
- Less conditional code.
2020-06-09 14:57:58 +02:00
Hugo Osvaldo Barrera
3eb9ce5ae4 Add compatibility with latest click 2020-06-09 14:45:02 +02:00
Hugo Osvaldo Barrera
b1b4dd92fe Sort imports
I don't want to ever have to sort imports again. It's a poor use of
developer time. Automate this with a pre-commit hook, and check this on
CI.

Developers: I suggest you configure your editor to use
`reorder_python_imports`. It uses the standard sorting, and detects
first/third party libs well.
2020-06-09 14:34:45 +02:00
Hugo Osvaldo Barrera
9cb1f8d704 Drop support for Python 3.5 and 3.6 2020-06-09 14:33:14 +02:00
Hugo Osvaldo Barrera
56b1fc2187 Remove now-unused Makefile target 2020-06-09 14:17:56 +02:00
Hugo Osvaldo Barrera
b5dd0929d0 Add GitHub Action to publish releases 2020-06-09 14:10:52 +02:00
Hugo Barrera
d854bd62eb
Merge pull request #825 from pimutils/next
Support Python 3.7 and 3.8
2020-06-09 11:30:34 +00:00
Hugo Osvaldo Barrera
f6e6b0b6c3 Prepare release 0.16.8 2020-06-09 13:27:35 +02:00
Hugo Osvaldo Barrera
399274286e Add classifiers for Python 3.7 and 3.8 2020-06-09 13:01:22 +02:00
Hugo Osvaldo Barrera
be59ba5ab4 Run tests with newer Python versions
We also need different Ubuntu dists for different pythons on travis.
2020-06-09 12:56:10 +02:00
Hugo Osvaldo Barrera
6e59ee0b5f Add a pre-commit hook to rebuild travis config 2020-06-09 12:37:53 +02:00
Hugo Barrera
82375f20aa
Merge pull request #823 from pimutils/next
Run test servers with Docker
2020-06-09 09:47:54 +00:00
Hugo Osvaldo Barrera
cd86ea7a62 Run storage tests for ETESYNC too 2020-06-09 11:29:54 +02:00
Hugo Osvaldo Barrera
354aaec2e0 Only run CI for branch master
For PRs, CI will run on the PR itself, so no need to run it for the
branch (otherwise we get duplicate jobs, and it's sooooo slow!).
2020-06-09 10:46:17 +02:00
Hugo Osvaldo Barrera
af3659ac1a Update contributing instructions 2020-06-09 10:42:26 +02:00
Hugo Osvaldo Barrera
50eefa1816 Use pre-commit for CI style checks
Have a single, uniform definition everywhere.
2020-06-09 10:42:14 +02:00
Hugo Osvaldo Barrera
53331fedee Skip unsupported radicale test 2020-06-09 10:42:14 +02:00
Hugo Osvaldo Barrera
88f2cd5b53 Skip VTODO items for Fastmail
See #824
2020-06-09 10:42:14 +02:00
Hugo Osvaldo Barrera
4f894e04dd Empty noop script 2020-06-09 10:42:14 +02:00
Hugo Osvaldo Barrera
0319035688 Don't run unit/system tests for each storage
The current storage (DAV_SERVER) has no impact on unit tests and system
tests, so rather than run all these tests for each server, just run them
once per python.
2020-06-09 10:42:11 +02:00
Hugo Osvaldo Barrera
6c6da2f613 Test baikal using docker 2020-06-09 09:49:18 +02:00
Hugo Osvaldo Barrera
b0d8fd34dc Test radicale with docker too 2020-06-09 09:49:16 +02:00
Hugo Osvaldo Barrera
0f3b2e74c0 Test xandikos running it in docker
The main advantage here is that its dependencies are TOTALLY separate
from vdirsyncer's, keeping the runtime environment for vdirsyncer
cleaner.

It also makes testing locally not only possible, but fast and pleasant.
2020-06-09 09:49:03 +02:00
Hugo Osvaldo Barrera
c410fbf331 Enable docker on travis 2020-06-09 09:46:27 +02:00
Hugo Osvaldo Barrera
f1f51ac3cf Don't fix EOF in travis.yml
Since this is auto-generated, it... conflicts in complicated ways. 😞
2020-06-09 09:46:27 +02:00
Hugo Osvaldo Barrera
3037c15a65 Use hypothesis setting load_profile to setup health check
Fixes #779
2020-06-08 19:58:35 +02:00
Romain
e5caf6750d Add double quote in exemple config files (#732)
* nextcloud.rst : add double quote to not forget them

Add double quote to not forget them, and avoid the message :
warning: Soon, all strings have to be in double quotes. Please replace UserName with "UserName"

* fastmail.rst : add double quote to not forget them

Add double quote to not forget them, and avoid the message :
warning: Soon, all strings have to be in double quotes. Please replace UserName with "UserName"

* icloud.rst : add double quote to not forget them

Add double quote to not forget them, and avoid the message :
warning: Soon, all strings have to be in double quotes. Please replace UserName with "UserName"

* todoman.rst : add double quote to not forget them

Add double quote to not forget them, and avoid the message :
warning: Soon, all strings have to be in double quotes. Please replace UserName with "UserName"

* xandikos.rst : add double quote to not forget them

Add double quote to not forget them, and avoid the message :
warning: Soon, all strings have to be in double quotes. Please replace UserName with "UserName"

* davmail.rst : add double quote to not forget them

Add double quote to not forget them, and avoid the message :
warning: Soon, all strings have to be in double quotes. Please replace UserName with "UserName"

* partial-sync.rst : add double quote to not forget them

Add double quote to not forget them, and avoid the message :
warning: Soon, all strings have to be in double quotes. Please replace UserName with "UserName"
2020-06-08 19:58:35 +02:00
Markus Unterwaditzer
f0fe104427 Credit packagecloud
Because we asked packagecloud for more bandwidth, they asked us to
credit them in the README
2020-06-08 19:58:35 +02:00
Hugo Osvaldo Barrera
5c3900500d Update link to official Arch package (#710)
There's now an official Arch package
2020-06-08 19:58:35 +02:00
Markus Unterwaditzer
6befffcc45 Screw git hooks 2020-06-08 19:58:35 +02:00