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

Lennart Poettering lennart at poettering.net
Fri May 15 07:35:05 PDT 2015


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

-- 
Lennart Poettering, Red Hat


More information about the systemd-devel mailing list