Skip to content

Implement UnTar via archive/tar - #3295

Merged
creack merged 2 commits into
moby:masterfrom
alexlarsson:implement-untar
Jan 20, 2014
Merged

Implement UnTar via archive/tar#3295
creack merged 2 commits into
moby:masterfrom
alexlarsson:implement-untar

Conversation

@alexlarsson

Copy link
Copy Markdown
Contributor

This replaces the shelling out to tar with a reimplementation of untar
based on the archive/tar code and the pre-existing code from ApplyLayer
to create real files from tar headers.

@creack

creack commented Dec 20, 2013

Copy link
Copy Markdown
Contributor

+1

@creack

creack commented Dec 20, 2013

Copy link
Copy Markdown
Contributor

@alexlarsson can you rebase?

@alexlarsson

Copy link
Copy Markdown
Contributor Author

@creack I'm off for christmas, back jan 8th

@crosbymichael

Copy link
Copy Markdown
Contributor

We just began requiring contributors to sign the commits following these rules: https://github.com/dotcloud/docker/blob/master/CONTRIBUTING.md#sign-your-work

Each commit in your PR must be signed in the following format:
Docker-DCO-1.0-Signed-off-by: Joe Smith <joe.smith@email.com> (github: github_handle)

Please rebase and sign each commit.

@alexlarsson

Copy link
Copy Markdown
Contributor Author

Rebased with signoff

@tianon

tianon commented Jan 13, 2014

Copy link
Copy Markdown
Member

+1! can you rebase with the new 1.1 signoff? (sorry about that)

@alexlarsson

Copy link
Copy Markdown
Contributor Author

@tianon Not sure what you mean. The latest rebase has a 1.1 version signoff.

@tianon

tianon commented Jan 14, 2014

Copy link
Copy Markdown
Member

Well shoot, so it does. Sorry about that! It does look like you've got some gofmt issues though. Not sure how I misread that Travis output. How embarrassing!

@alexlarsson

Copy link
Copy Markdown
Contributor Author

@tianon What gofmt issues? I just ran "go fmt ." in archive/ and it made no changes.

@tianon

tianon commented Jan 14, 2014

Copy link
Copy Markdown
Member

Try gofmt -s -w, and it will probably make some minor adjustments (and if not, just let me know and I'll poke Travis to test it again, but it's been pretty rare that Travis is wrong on the gofmt).

This way we can reuse it for Untar()

Docker-DCO-1.1-Signed-off-by: Alexander Larsson <alexl@redhat.com> (github: alexlarsson)
This replaces the shelling out to tar with a reimplementation of untar
based on the archive/tar code and the pre-existing code from ApplyLayer
to create real files from tar headers.

Docker-DCO-1.1-Signed-off-by: Alexander Larsson <alexl@redhat.com> (github: alexlarsson)
@alexlarsson

Copy link
Copy Markdown
Contributor Author

Ugh, sorry, was looking at the wrong tar branch...

@tianon

tianon commented Jan 14, 2014

Copy link
Copy Markdown
Member

No worries, it happens. :)

Travis is happy now! /cc @creack @crosbymichael @vieux

@crosbymichael

Copy link
Copy Markdown
Contributor

LGTM

2 similar comments
@unclejack

Copy link
Copy Markdown
Contributor

LGTM

@creack

creack commented Jan 20, 2014

Copy link
Copy Markdown
Contributor

LGTM

creack added a commit that referenced this pull request Jan 20, 2014
@creack
creack merged commit 3aa27eb into moby:master Jan 20, 2014
@alexlarsson
alexlarsson deleted the implement-untar branch March 28, 2014 09:09
robmry pushed a commit to robmry/moby that referenced this pull request Jul 15, 2025
…-pools

Use private network address for default-address-pools setting in daem…
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants