Open tonistiigi opened 6 years ago
SGTM, although we may want to rename that again in the future :smile:
@tonistiigi Can we also rename s/MutableRef/ActiveSnapshot/g and s/ImmutableRef/CommitedSnapshot/g ? It corresponds to containerd terminology and I think it is more understandable, but just my 2 cents.
@AkihiroSuda I agree it corresponds to the containerd terminology, but don't really think it is more understandable. Unless you read containerd docs it is quite hard to understand what active/committed
means. Btw, mutable was called active in the early commits.
Lets do this after llbsolver-next
merge
This seems no longer on plan now?
I think it still makes sense but low priority and I forgot
cache
package is weirdly named, it contains the manager for snapshot references(that are automatically garbage collected, therefore the name cache). Otohsnapshot
package is almost unused. I think it would make sense to move that code under snapshot:snapshot.ImmutableRef
,snapshot.Manager
etc. and leave thecache
package for instruction/content cache.@AkihiroSuda wdyt?