Conversation
|
This is pretty cool. I think lots of people (including myself) will like using this. Thanks. But no way redis can be a dependency for doit. Testing code needs to be improved a bit so we dont need to check for DB type. |
|
redis could be just an optional dependency. I was not aware that it was possible to use the plugin system for backends, so yeah maybe it can be a plugin. Given the limitations of the other backends and the fact that redis a well-know solution for this, I think it deserves to be in core, but no strong feelings. |
I agree it is a limitation for some use-cases. I know setting up a full project for some small plugins is very annoying. I dont want to put much burden on people contributing plugins, but on the other hand I dont have enough bandwidth to maintain even core
ps. sorry for delay, but I will be able to (maybe) really do some work again on doit in february. |
|
Yes having some plugins in core can be a compromise, as you prefer (I understand the maintenance burden, no worries). I looked quickly and it seems that there are packages to mock redis for tests: |
I use this since a few months and it allows me to run multiple doit processes in parallel on different machines (with a shared NFS folder). I guess it should possible to run the test on Travis, I can try if you like the idea.