And show nice human-readable errors instead
Resolves T3226
Differential D5466
swh-identify: Hide tracebacks if Click or Dulwich is not installed vlorentz on Apr 8 2021, 6:56 PM. Authored by
Details
And show nice human-readable errors instead Resolves T3226
Diff Detail
Event TimelineComment Actions Build is green Patch application report for D5466 (id=19534)Rebasing onto eeedac7af7... Current branch diff-target is up to date. Changes applied before testcommit fd5a38c040ca824ff43ddc762d45c17ad91ce2e7 Author: Valentin Lorentz <vlorentz@softwareheritage.org> Date: Thu Apr 8 18:55:01 2021 +0200 swh-identify: Hide tracebacks if Click or Dulwich is not installed And show nice human-readable errors instead See https://jenkins.softwareheritage.org/job/DMOD/job/tests-on-diff/297/ for more details. Comment Actions Build is green Patch application report for D5466 (id=19535)Rebasing onto eeedac7af7... Current branch diff-target is up to date. Changes applied before testcommit 8d4eda816e893805e78c24cdc9e5ad979222a7c3 Author: Valentin Lorentz <vlorentz@softwareheritage.org> Date: Thu Apr 8 18:55:01 2021 +0200 swh-identify: Hide tracebacks if Click or Dulwich is not installed And show nice human-readable errors instead See https://jenkins.softwareheritage.org/job/DMOD/job/tests-on-diff/298/ for more details. Comment Actions Build is green Patch application report for D5466 (id=19539)Rebasing onto eeedac7af7... Current branch diff-target is up to date. Changes applied before testcommit 3e4bf9cb108d30fe2a727acdef69c61fa6b1f1d0 Author: Valentin Lorentz <vlorentz@softwareheritage.org> Date: Thu Apr 8 18:55:01 2021 +0200 swh-identify: Hide tracebacks if Click or Dulwich is not installed And show nice human-readable errors instead See https://jenkins.softwareheritage.org/job/DMOD/job/tests-on-diff/301/ for more details. Comment Actions I'd rephrase the suggestions to "Please install 'swh.model[cli]' for full functionality.", rather than try to guess what the user did. They likely got the swh-identify script from installing swh.model as a dependency of something else! Comment Actions Build is green Patch application report for D5466 (id=19575)Rebasing onto eeedac7af7... Current branch diff-target is up to date. Changes applied before testcommit c62f13fd55739b73245cbfa75f0325df4de12957 Author: Valentin Lorentz <vlorentz@softwareheritage.org> Date: Thu Apr 8 18:55:01 2021 +0200 swh-identify: Hide tracebacks if Click or Dulwich is not installed And show nice human-readable errors instead See https://jenkins.softwareheritage.org/job/DMOD/job/tests-on-diff/304/ for more details. |