Page MenuHomeSoftware Heritage

Allow configuration through cli or config file
ClosedPublic

Authored by vsellier on Dec 9 2020, 5:56 PM.

Details

Summary

The default values got removed because they were always overriding
the configuration file values.
They are now mandatory to be specified either through cli parameters
or configuration file.
If both are specified, the cli parameters have the highest priority.

Related to T2817
Related to D4699

Test Plan

tox

Diff Detail

Repository
rDSEA Archive search
Branch
master
Lint
No Linters Available
Unit
No Unit Test Coverage
Build Status
Buildable 17840
Build 27570: Phabricator diff pipeline on jenkinsJenkins console · Jenkins
Build 27569: arc lint + arc unit

Event Timeline

Build is green

Patch application report for D4701 (id=16666)

Rebasing onto 27f82bafea...

Current branch diff-target is up to date.
Changes applied before test
commit e72a785757fb40e6f33f2a268bc4fcab3a9ab1c7
Author: Vincent SELLIER <vincent.sellier@softwareheritage.org>
Date:   Wed Dec 9 17:48:02 2020 +0100

    Allow configuration through cli or config file
    
    The default values got removed because they were always overriding
    the configuration file values.
    They are now mandatory to be specified either through cli parameters
    or configuration file.
    If both are specified, the cli parameters have the highest priority.
    
    Related to T2817

See https://jenkins.softwareheritage.org/job/DSEA/job/tests-on-diff/53/ for more details.

This revision is now accepted and ready to land.Dec 9 2020, 6:00 PM