Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add a URL rewriter for Savannah repo URLs (#1713)
Manually tested with data from [CVE-2023-40303](https://oss-vdb-test.wl.r.appspot.com/vulnerability/CVE-2023-40303) ``` In [1]: import osv In [2]: import source_mapper In [3]: vcs = source_mapper.get_vcs_viewer_for_url("https://git.savannah.gnu.org/git/inetutils.git") In [4]: vcs.get_source_url_for_revision("e4e65c03f4c11292a3e40ef72ca3f194c8bffdd6") Out[4]: 'https://git.savannah.gnu.org/cgit/inetutils.git/commit?id=e4e65c03f4c11292a3e40ef72ca3f194c8bffdd6' ```
- Loading branch information