Closes T2872.
Details
Details
- Reviewers
zack - Group Reviewers
Reviewers - Maniphest Tasks
- T2872: Allow passing configuration file to swh web CLI
- Commits
- rDWCLIb2df1673fbf8: cli: add --config-file option to 'swh web' group
Diff Detail
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
Comment Actions
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.
Comment Actions
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) |
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. |