https://github.com/SoftwareHeritage/swh-storage
Revision f5811da184683402c8dec0721ce6db40b33325ab authored by Antoine R. Dumont (@ardumont) on 12 July 2020, 13:57:47 UTC, committed by Antoine R. Dumont (@ardumont) on 15 July 2020, 10:09:55 UTC
The current hard-coded value won't work for other distributions not relying on
standard conventions (e.g. nixos...).

This keeps the original behavior and only allow to diverge based on the
environment variable SWH_CASSANDRA_BIN.

This also:
- fixes an issue on log path inexistence which raises.
- renames the other env variable LOG_CASSANDRA to SWH_CASSANDRA_LOG (for
  consistency)
1 parent 1a8924b
History
Tip revision: f5811da184683402c8dec0721ce6db40b33325ab authored by Antoine R. Dumont (@ardumont) on 12 July 2020, 13:57:47 UTC
Allow cassandra binary path to be configured through env variable
Tip revision: f5811da
File Mode Size
bin
docs
sql
swh
.gitignore -rw-r--r-- 136 bytes
.pre-commit-config.yaml -rw-r--r-- 1.1 KB
AUTHORS -rw-r--r-- 112 bytes
CODE_OF_CONDUCT.md -rw-r--r-- 3.3 KB
CONTRIBUTORS -rw-r--r-- 46 bytes
LICENSE -rw-r--r-- 34.3 KB
MANIFEST.in -rw-r--r-- 242 bytes
Makefile -rw-r--r-- 163 bytes
Makefile.local -rw-r--r-- 69 bytes
README.md -rw-r--r-- 4.6 KB
conftest.py -rw-r--r-- 294 bytes
mypy.ini -rw-r--r-- 1.2 KB
pyproject.toml -rw-r--r-- 39 bytes
pytest.ini -rw-r--r-- 392 bytes
requirements-swh-journal.txt -rw-r--r-- 19 bytes
requirements-swh.txt -rw-r--r-- 71 bytes
requirements-test.txt -rw-r--r-- 318 bytes
requirements.txt -rw-r--r-- 99 bytes
setup.cfg -rw-r--r-- 247 bytes
setup.py -rwxr-xr-x 2.5 KB
tox.ini -rw-r--r-- 661 bytes

README.md

back to top