-
Notifications
You must be signed in to change notification settings - Fork 82
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
independently unpacking layer functions #11
Conversation
On Sun, Sep 18, 2016 at 08:04:04PM -0700, xiekeyang wrote:
This makes sense to me. However, if the in-flight #8 lands pulling in |
PTAL. |
Also #3 is refactoring the unpacking area slightly. One of us may have to rebase :) |
@glestaris Yes. According to previous discussion, the manifest_test.go is inproper because it is just for layer unpacking. So this PR should stand firstly, and it need more refactor following to #4 . |
please rebase |
@vbatts It has been rebased. |
Signed-off-by: xiekeyang <[email protected]>
@opencontainers/image-tools-maintainers |
Signed-off-by: xiekeyang <[email protected]>
On Thu, Nov 17, 2016 at 07:41:48PM -0800, xiekeyang wrote:
I still 1 think this depends on how we intend to handle #8. As |
As evolution on image-spec, this PR should be closed, and waiting for a solid design framework of CAS. |
cc @wking @runcom @stevvooe
At early discussion, @wking and I doubt that
manifest.unpack()
is not very close to manifest structure.Actually,
manifest.unpack()
is only responsible for unpacking layers, which list can be gotten from manifest. It can be done without a real manifest. It is odd to use it as a method of manifest structure.So, I place 2 layer functions to
layer.go
file. and place their unit test tolayer_test.go
.From my side it looks more reasonable and go easily forward to reconstructing. And I'd like to get your proposal.
Signed-off-by: xiekeyang [email protected]