dkregistry-rs icon indicating copy to clipboard operation
dkregistry-rs copied to clipboard

Support tagged digested references

Open glyn opened this issue 6 years ago • 2 comments

dkregistry::reference::Version does not accommodate tagged digested references. Although these are not particularly common, they are valid.

glyn avatar Feb 17 '20 10:02 glyn

Indeed. Related, it would probably be a good idea to first address this TODO item for parsing references: https://github.com/camallo/dkregistry-rs/blob/cb22b538d788f7a88bf390e34bece4a503cefecb/src/reference.rs#L156

lucab avatar Feb 17 '20 10:02 lucab

Perhaps. One starting point for a reference grammar is in a code comment; I am not aware of a grammar in the OCI specs. The testcases clarify the intention though.

glyn avatar Feb 17 '20 11:02 glyn