-
Notifications
You must be signed in to change notification settings - Fork 46
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add support for the golang type in purl2url.get_repo_url #107
Signed-off-by: Thomas Druez <[email protected]>
- Loading branch information
Showing
3 changed files
with
31 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -57,6 +57,9 @@ def test_purl2url_get_repo_url(): | |
"pkg:nuget/[email protected]": "https://www.nuget.org/packages/System.Text.Json/6.0.6", | ||
"pkg:hackage/cli-extras": "https://hackage.haskell.org/package/cli-extras", | ||
"pkg:hackage/[email protected]": "https://hackage.haskell.org/package/cli-extras-0.2.0.0", | ||
"pkg:golang/xorm.io/xorm": "https://pkg.go.dev/xorm.io/xorm", | ||
"pkg:golang/xorm.io/[email protected]": "https://pkg.go.dev/xorm.io/[email protected]", | ||
"pkg:golang/gopkg.in/[email protected]": "https://pkg.go.dev/gopkg.in/[email protected]", | ||
} | ||
|
||
for purl, url in purls_url.items(): | ||
|
@@ -86,6 +89,8 @@ def test_purl2url_get_download_url(): | |
"pkg:bitbucket/birkenfeld": None, | ||
"pkg:gitlab/tg1999/firebase@1a122122": None, | ||
"pkg:pypi/[email protected]": None, | ||
"pkg:golang/xorm.io/[email protected]": None, | ||
"pkg:golang/gopkg.in/[email protected]": None, | ||
} | ||
|
||
for purl, url in purls_url.items(): | ||
|