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

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


On Fri, 2015-05-15 at 16:35 +0200, Lennart Poettering wrote:
> On Fri, 15.05.15 16:32, Pavel Odvody (podvody at redhat.com) wrote:
> 
> > 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).
> 
> And what is a ref precisely?
> 
> Is "ref" supposed to be a generic term for "digest" or "tag", the way
> git defines this?
> 
> Lennart
> 

Yep, short for "ref"erence.

-- 
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/74f81641/attachment.sig>


More information about the systemd-devel mailing list