Since the function extract_regex_objs was moved to swh.model.from_disk the scanner should use the one in the model in order to remove the duplicate code between the two.
Tests changed according to the new function.
Fixes T2679
Differential D5359
scanner: use 'extract_regex_objs' from swh.model DanSeraf on Mar 26 2021, 2:39 PM. Authored by
Details
Since the function extract_regex_objs was moved to swh.model.from_disk the scanner should use the one in the model in order to remove the duplicate code between the two. Tests changed according to the new function. Fixes T2679
Diff Detail
Event TimelineComment Actions Build is green Patch application report for D5359 (id=19197)Rebasing onto eb04424434... Current branch diff-target is up to date. Changes applied before testcommit 7b06a22ac5c910b496d5d4c7106f08220ba2dd2e Author: Daniele Serafini <me@danieleserafini.eu> Date: Thu Mar 25 17:20:05 2021 +0100 use 'extract_regex_objs' from swh.model See https://jenkins.softwareheritage.org/job/DTSCN/job/tests-on-diff/113/ for more details.
Comment Actions Build is green Patch application report for D5359 (id=19209)Rebasing onto eb04424434... Current branch diff-target is up to date. Changes applied before testcommit b3256c87728eef4ed44c91c3c8daa59960debbbd Author: Daniele Serafini <me@danieleserafini.eu> Date: Thu Mar 25 17:20:05 2021 +0100 use 'extract_regex_objs' from swh.model See https://jenkins.softwareheritage.org/job/DTSCN/job/tests-on-diff/114/ for more details. |