Implementation regarding the import option.
Related T2760
Differential D4508
scanner: 'db import' option to create local database with known swhids DanSeraf on Nov 18 2020, 2:24 PM. Authored by
Details
Implementation regarding the import option. Related T2760
Diff Detail
Event TimelineComment Actions Build is green Patch application report for D4508 (id=15990)Rebasing onto 729334a238... Current branch diff-target is up to date. Changes applied before testcommit 80c92b80817b84171870eef37fa05a272cbabf6a Author: Daniele Serafini <me@danieleserafini.eu> Date: Wed Nov 18 14:19:17 2020 +0100 'db import' option to create local database with known swhids See https://jenkins.softwareheritage.org/job/DTSCN/job/tests-on-diff/75/ for more details. Comment Actions Hi Could you add test for the CLI itself? (grep CliRunner on the swh codebase to find examples of ci tests)
Comment Actions Build is green Patch application report for D4508 (id=16008)Rebasing onto 729334a238... Current branch diff-target is up to date. Changes applied before testcommit db06a1058caf9d69df2bb54a5f4150530193e6f0 Author: Daniele Serafini <me@danieleserafini.eu> Date: Wed Nov 18 14:19:17 2020 +0100 'db import' option to create local database with known swhids See https://jenkins.softwareheritage.org/job/DTSCN/job/tests-on-diff/76/ for more details. Comment Actions Thanks, this looks great, and almost there. I've pointed out in the code some issues about index/constraint in the DB, some minor naming issues, and a misunderstanding about the archive lookup logic (which is handled already elsewhere).
Comment Actions requested changes:
Comment Actions Build is green Patch application report for D4508 (id=16064)Rebasing onto 729334a238... Current branch diff-target is up to date. Changes applied before testcommit d5815b1aa15edb08d2591b74d0ba6c73554a9079 Author: Daniele Serafini <me@danieleserafini.eu> Date: Wed Nov 18 14:19:17 2020 +0100 'db import' option to create local database with known swhids See https://jenkins.softwareheritage.org/job/DTSCN/job/tests-on-diff/77/ for more details. Comment Actions Build is green Patch application report for D4508 (id=16069)Rebasing onto 729334a238... Current branch diff-target is up to date. Changes applied before testcommit 05d3bb5f17e9f79455783a90b7b94bee7228f3d1 Author: Daniele Serafini <me@danieleserafini.eu> Date: Wed Nov 18 14:19:17 2020 +0100 'db import' option to create local database with known swhids See https://jenkins.softwareheritage.org/job/DTSCN/job/tests-on-diff/78/ for more details. Comment Actions LGTM, I've only reported a minor typing issue.
Comment Actions Build is green Patch application report for D4508 (id=16083)Rebasing onto 729334a238... Current branch diff-target is up to date. Changes applied before testcommit e8949840a9da756044f5ed6e2f4f1c471dd9fa06 Author: Daniele Serafini <me@danieleserafini.eu> Date: Wed Nov 18 14:19:17 2020 +0100 'db import' option to create local database with known swhids See https://jenkins.softwareheritage.org/job/DTSCN/job/tests-on-diff/79/ for more details. |