Update add3prf for MetadataURLValid
url field has been deprecated in favor of the identifier field. Test: check output Change-Id: I1d642d74f51244d59de4d5c44c4b9878873dd0d6
This commit is contained in:
@@ -62,12 +62,12 @@ DEFAULT_OWNERS = "include platform/prebuilts/rust:master:/OWNERS\n"
|
||||
METADATA_CONTENT = """name: "{name}"
|
||||
description: {description}
|
||||
third_party {{
|
||||
url {{
|
||||
type: HOMEPAGE
|
||||
identifier {{
|
||||
type: "crates.io"
|
||||
value: "https://crates.io/crates/{name}"
|
||||
}}
|
||||
url {{
|
||||
type: ARCHIVE
|
||||
identifier {{
|
||||
type: "Archive"
|
||||
value: "https://static.crates.io/crates/{name}/{name}-{version}.crate"
|
||||
}}
|
||||
version: "{version}"
|
||||
|
||||
Reference in New Issue
Block a user