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
Raw File
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
setup.cfg
[flake8]
# E203: whitespaces before ':' <https://github.com/psf/black/issues/315>
# E231: missing whitespace after ','
# W503: line break before binary operator <https://github.com/psf/black/issues/52>
ignore = E203,E231,W503
max-line-length = 88
back to top