Page MenuHomeSoftware Heritage

cli: add --config-file option to 'swh web' group
ClosedPublic

Authored by haltode on Dec 15 2020, 11:48 AM.

Diff Detail

Repository
rDWCLI Web client
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

Build is green

Patch application report for D4740 (id=16787)

Rebasing onto 4b1e763279...

Current branch diff-target is up to date.
Changes applied before test
commit b2df1673fbf848bbe318f70a07c1921aa1c47751
Author: Thibault Allançon <haltode@gmail.com>
Date:   Tue Dec 15 11:04:31 2020 +0100

    cli: add --config-file option to 'swh web' group
    
    Closes T2872.

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

zack added a subscriber: zack.

LGTM (but please fix the minor docstring point I've mentioned before landing)

swh/web/client/client.py
145–146

minor point here: instead of dropping the mention of the hard-coded default value here, you should point to the dictionary in the code that contains it (e.g., via a sphinx ref)

This revision is now accepted and ready to land.Dec 15 2020, 11:57 AM
haltode added inline comments.
swh/web/client/client.py
145–146

As discussed on IRC, I removed the default from the docstring because it is already given in the sphinx doc.

This revision was automatically updated to reflect the committed changes.
haltode marked an inline comment as done.