[systemd-devel] [PATCH 4/5] import/pull: Tag replaced with reference

Pavel Odvody podvody at redhat.com
Fri May 15 07:32:15 PDT 2015


On Fri, 2015-05-15 at 15:29 +0200, Lennart Poettering wrote:
> On Thu, 07.05.15 17:47, Pavel Odvody (podvody at redhat.com) wrote:
> 
> Hmm, can you quickly explain how tags and refs and digests relate?
> 
> If refs replace tags in v2, then I figure we can also drop the
> dkr_tag_is_valid() definition from the headers, no?
> 
> Lennart
> 

Both are references to an image - tags can be changed at any time, while
the digest is unique to the given manifest (immutable).

I wanted to keep dkr_tag_is_valid for the V1 compatibility as specifying
the digest in V1 workflow is an error.


-- 
Pavel Odvody <podvody at redhat.com>
Software Engineer - EMEA ENG Developer Experience
5EC1 95C1 8E08 5BD9 9BBF 9241 3AFA 3A66 024F F68D
Red Hat Czech s.r.o., Purkyňova 99/71, 612 45, Brno

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: This is a digitally signed message part
URL: <http://lists.freedesktop.org/archives/systemd-devel/attachments/20150515/c1b4d194/attachment-0001.sig>


More information about the systemd-devel mailing list