Skip to content
This repository was archived by the owner on Jul 18, 2023. It is now read-only.

Commit 8760ac5

Browse files
committed
Converge dependencies & references to manifests
Signed-off-by: Steve Lasker <[email protected]>
1 parent 77cc3be commit 8760ac5

File tree

1 file changed

+15
-14
lines changed

1 file changed

+15
-14
lines changed

artifact-manifest/artifact-manifest.md

Lines changed: 15 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -209,7 +209,7 @@ To support hard references, an additional dependencies collection is added to a
209209
"mediaType": "application/vnd.oci.image.manifest.v1+json",
210210
"digest": "sha256:3c3a4604a545cdc127456d94e421cd355bca5b528f4a9c1905b15da2eb4a4c6b",
211211
"size": 16724,
212-
"annotations: {
212+
"annotations": {
213213
"oci.distribution.relationship": "depends-on"
214214
}
215215
}
@@ -282,21 +282,21 @@ To support the loose references between artifacts, a `references` collection is
282282
"mediaType": "application/vnd.oci.image.manifest.v1+json",
283283
"digest": "sha256:5c3a4604a545cdc127456d94e421cd355bca5b528f4a9c1905b15da2eb4a4c82",
284284
"size": 1510,
285-
"annotations": [
285+
"annotations": {
286286
"oci.distribution.relationship": "references",
287287
"oci.distribution.artifact": "wordpress:5.7",
288-
"oci.distribution.artifactType": "application/vnd.oci.image.v1",
289-
]
288+
"oci.distribution.artifactType": "application/vnd.oci.image.v1"
289+
}
290290
},
291291
{
292292
"mediaType": "application/vnd.oci.image.manifest.v1+json",
293293
"digest": "sha256:8c3a4604a545cdc127456d94e421cd355bca5b528f4a9c1905b15da2eb4a4c31",
294294
"size": 1578,
295-
"annotations": [
295+
"annotations": {
296296
"oci.distribution.relationship": "references",
297297
"oci.distribution.artifact": "mysql:8",
298-
"oci.distribution.artifactType": "application/vnd.oci.image.v1",
299-
]
298+
"oci.distribution.artifactType": "application/vnd.oci.image.v1"
299+
}
300300
}
301301
]
302302
}
@@ -338,22 +338,22 @@ As the `oci-reg copy` command is executed, the graph of references are expanded.
338338
"mediaType": "application/vnd.oci.artifact.manifest.v1+json",
339339
"digest": "sha256:5c3a4604a545cdc127456d94e421cd355bca5b528f4a9c1905b15da2eb4a4c82",
340340
"size": 1510,
341-
"annotations": [
341+
"annotations": {
342342
"oci.distribution.relationship": "references",
343343
"oci.distribution.artifact": "wordpress-chart:v5",
344-
"oci.distribution.artifactType": "application/vnd.cncf.helm.v3",
345-
]
344+
"oci.distribution.artifactType": "application/vnd.cncf.helm.v3"
345+
}
346346
},
347347
{
348348
"artifact": "helm-cli:3",
349349
"mediaType": "application/vnd.oci.image.manifest.v1+json",
350350
"digest": "sha256:8c3a4604a545cdc127456d94e421cd355bca5b528f4a9c1905b15da2eb4a4c31",
351351
"size": 1578,
352-
"annotations": [
352+
"annotations": {
353353
"oci.distribution.relationship": "references",
354354
"oci.distribution.artifact": "helm-cli:3",
355-
"oci.distribution.artifactType": "application/vnd.oci.image.manifest.v1",
356-
]
355+
"oci.distribution.artifactType": "application/vnd.oci.image.manifest.v1"
356+
}
357357
}
358358
]
359359
}
@@ -414,6 +414,7 @@ OCI Artifact Manifests provide the following types of references:
414414
### Blobs Collection
415415

416416
All blobs are considered to be hard dependencies that must be resolvable within a registry. An artifact is considered invalid if the manifest blobs are not resolvable. Registries MAY implement de-duping, using ref-counting to assure at least one copy of the blob is resolvable for any given `oci.artifact.manifest`. OCI Artifact blobs are generalizations of the OCI Image Spec layers definition.
417+
417418
## Manifests Collection
418419

419420
> **NOTE!** Update to consolidate the Dependencies and References collections
@@ -480,4 +481,4 @@ This specification defines the following annotation keys, intended for but not l
480481

481482
## Open Questions
482483

483-
Should the references collection support additional types, like loose urls
484+
Should the references collection support additional types, like loose urls

0 commit comments

Comments
 (0)