The getBaseRepo defined in the PatchFinder just crops links without any filtering. This leads to erroneous mappings for the repo2purl strategy, where we are creating mappings from references that are not concerned with repository information.
The proposed solution is to restrict the links that are handed to the repoCutter to the following:
The
getBaseRepo
defined in thePatchFinder
just crops links without any filtering. This leads to erroneous mappings for therepo2purl
strategy, where we are creating mappings from references that are not concerned with repository information.The proposed solution is to restrict the links that are handed to the
repoCutter
to the following: