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}"
|
METADATA_CONTENT = """name: "{name}"
|
||||||
description: {description}
|
description: {description}
|
||||||
third_party {{
|
third_party {{
|
||||||
url {{
|
identifier {{
|
||||||
type: HOMEPAGE
|
type: "crates.io"
|
||||||
value: "https://crates.io/crates/{name}"
|
value: "https://crates.io/crates/{name}"
|
||||||
}}
|
}}
|
||||||
url {{
|
identifier {{
|
||||||
type: ARCHIVE
|
type: "Archive"
|
||||||
value: "https://static.crates.io/crates/{name}/{name}-{version}.crate"
|
value: "https://static.crates.io/crates/{name}/{name}-{version}.crate"
|
||||||
}}
|
}}
|
||||||
version: "{version}"
|
version: "{version}"
|
||||||
|
|||||||
Reference in New Issue
Block a user