Page MenuHomeSoftware Heritage

Support yaml config files when run via CLI.
AbandonedPublic

Authored by vlorentz on Dec 20 2018, 6:33 PM.

Details

Reviewers
None
Group Reviewers
Reviewers
Summary

Untuitively, config.read_raw_config is higher level than config.read;
the latter only supports INI.

Diff Detail

Repository
rDCIDX Object indexer
Branch
cli-yaml
Lint
No Linters Available
Unit
No Unit Test Coverage
Build Status
Buildable 3227
Build 4140: tox-on-jenkinsJenkins
Build 4139: arc lint + arc unit

Event Timeline

vlorentz created this revision.Dec 20 2018, 6:33 PM

something is amiss.

config.read calls config.read_raw_config if a config_path is provided (it is here).
both supports the yaml due to that.

So i'm not understanding what you are saying.