-
Notifications
You must be signed in to change notification settings - Fork 314
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(bazel):
MODULE.bazel
files from a local registry should be ignored
`MODULE.bazel` files present in the local registry should not be considered as definition files. Fixes #9076. Signed-off-by: Nicolas Nobelis <nicolas.nobelis@bosch.com>
- Loading branch information
1 parent
8cbbb57
commit 2ac103a
Showing
4 changed files
with
141 additions
and
15 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
110 changes: 110 additions & 0 deletions
110
...ers/bazel/src/funTest/assets/projects/synthetic/bazel-expected-output-local-registry2.yml
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 |
---|---|---|
@@ -0,0 +1,110 @@ | ||
--- | ||
repository: | ||
vcs: | ||
type: "Git" | ||
url: "<REPLACE_URL>" | ||
revision: "<REPLACE_REVISION>" | ||
path: "plugins/package-managers/bazel/src/funTest/assets/projects/synthetic/bazel-local-registry2" | ||
vcs_processed: | ||
type: "Git" | ||
url: "<REPLACE_URL_PROCESSED>" | ||
revision: "<REPLACE_REVISION>" | ||
path: "plugins/package-managers/bazel/src/funTest/assets/projects/synthetic/bazel-local-registry2" | ||
config: {} | ||
analyzer: | ||
start_time: "1970-01-01T00:00:00Z" | ||
end_time: "1970-01-01T00:00:00Z" | ||
environment: | ||
ort_version: "HEAD" | ||
build_jdk: "<REPLACE_JDK>" | ||
java_version: "<REPLACE_JAVA>" | ||
os: "<REPLACE_OS>" | ||
processors: "<REPLACE_PROCESSORS>" | ||
max_memory: "<REPLACE_MAX_MEMORY>" | ||
variables: {} | ||
tool_versions: {} | ||
config: | ||
allow_dynamic_versions: false | ||
skip_excluded: false | ||
result: | ||
projects: | ||
- id: "Bazel::plugins/package-managers/bazel/src/funTest/assets/projects/synthetic/bazel-local-registry2/MODULE.bazel:" | ||
definition_file_path: "<REPLACE_DEFINITION_FILE_PATH>" | ||
declared_licenses: [] | ||
declared_licenses_processed: {} | ||
vcs: | ||
type: "Git" | ||
url: "<REPLACE_URL_PROCESSED>" | ||
revision: "<REPLACE_REVISION>" | ||
path: "<REPLACE_PATH>" | ||
vcs_processed: | ||
type: "Git" | ||
url: "<REPLACE_URL_PROCESSED>" | ||
revision: "<REPLACE_REVISION>" | ||
path: "<REPLACE_PATH>" | ||
homepage_url: "" | ||
scopes: | ||
- name: "main" | ||
dependencies: | ||
- id: "Bazel::module_a:0.0.1" | ||
linkage: "STATIC" | ||
dependencies: | ||
- id: "Bazel::module_b:0.0.1" | ||
linkage: "STATIC" | ||
packages: | ||
- id: "Bazel::module_a:0.0.1" | ||
purl: "pkg:generic/module_a@0.0.1" | ||
declared_licenses: [] | ||
declared_licenses_processed: {} | ||
description: "" | ||
homepage_url: "" | ||
binary_artifact: | ||
url: "" | ||
hash: | ||
value: "" | ||
algorithm: "" | ||
source_artifact: | ||
url: "https://example.com/module_a-0.0.1.zip" | ||
hash: | ||
value: "562c4be7507dc6fb4997ecd648bf935d84efe17b54715fa5cfbddac05279f668" | ||
algorithm: "SHA-256" | ||
vcs: | ||
type: "Git" | ||
url: "" | ||
revision: "" | ||
path: "" | ||
vcs_processed: | ||
type: "Git" | ||
url: "" | ||
revision: "" | ||
path: "" | ||
- id: "Bazel::module_b:0.0.1" | ||
purl: "pkg:generic/module_b@0.0.1" | ||
declared_licenses: [] | ||
declared_licenses_processed: {} | ||
description: "" | ||
homepage_url: "" | ||
binary_artifact: | ||
url: "" | ||
hash: | ||
value: "" | ||
algorithm: "" | ||
source_artifact: | ||
url: "https://example.com/module_b-0.0.1.zip" | ||
hash: | ||
value: "562c4be7507dc6fb4997ecd648bf935d84efe17b54715fa5cfbddac05279f668" | ||
algorithm: "SHA-256" | ||
vcs: | ||
type: "Git" | ||
url: "" | ||
revision: "" | ||
path: "" | ||
vcs_processed: | ||
type: "Git" | ||
url: "" | ||
revision: "" | ||
path: "" | ||
scanner: null | ||
advisor: null | ||
evaluator: null | ||
resolved_configuration: {} |
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