generated from oracle/template-repo
-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Ben Selwyn-Smith <[email protected]>
- Loading branch information
Showing
2 changed files
with
7 additions
and
6 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -71,12 +71,13 @@ def test_repo_finder() -> int: | |
if not parsed_url or not repo_validator.resolve_redirects(parsed_url): | ||
return os.EX_UNAVAILABLE | ||
|
||
# Test Java package whose SCM metadata only points to the repo in the later versions than is provided here. | ||
# Test Java package whose SCM metadata only points to the repo in later versions than is provided here. | ||
purl = PackageURL.from_string("pkg:maven/io.vertx/[email protected]") | ||
repo = find_repo(purl) | ||
if repo == "https://github.com/eclipse-vertx/vertx-auth": | ||
return os.EX_UNAVAILABLE | ||
latest_purl = DepsDevRepoFinder().get_latest_version(purl) | ||
assert latest_purl | ||
repo = find_repo(latest_purl) | ||
if repo != "https://github.com/eclipse-vertx/vertx-auth": | ||
return os.EX_UNAVAILABLE | ||
|