Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(53)

Issue 54570043: code review 54570043: archive/tar: support extended attributes

Can't Edit
Can't Publish+Mail
Start Review
Created:
11 years, 5 months ago by alexl
Modified:
11 years, 4 months ago
Reviewers:
gobot, dsymonds, rsc, dave
CC:
golang-codereviews, dsymonds
Visibility:
Public.

Description

archive/tar: support extended attributes This adds support for archives with the SCHILY.xattr field in the pax header. This is what gnu tar and star generate. Fixes issue 7154.

Patch Set 1 #

Patch Set 2 : diff -r 2df447356d7f https://code.google.com/p/go/ #

Patch Set 3 : diff -r 2df447356d7f https://code.google.com/p/go/ #

Total comments: 3

Patch Set 4 : diff -r 028678d23c22 https://code.google.com/p/go/ #

Patch Set 5 : diff -r e2dd08f26402 https://code.google.com/p/go/ #

Patch Set 6 : diff -r e2dd08f26402 https://code.google.com/p/go/ #

Patch Set 7 : diff -r 1a32fe60e079 https://code.google.com/p/go/ #

Unified diffs Side-by-side diffs Delta from patch set Stats (+97 lines, -3 lines) Patch
M src/pkg/archive/tar/common.go View 1 2 3 4 2 chunks +2 lines, -0 lines 0 comments Download
M src/pkg/archive/tar/reader.go View 1 2 3 1 chunk +7 lines, -1 line 0 comments Download
M src/pkg/archive/tar/reader_test.go View 1 3 chunks +42 lines, -2 lines 0 comments Download
M src/pkg/archive/tar/writer.go View 1 2 3 1 chunk +6 lines, -0 lines 0 comments Download
M src/pkg/archive/tar/writer_test.go View 1 2 3 2 chunks +40 lines, -0 lines 0 comments Download

Messages

Total messages: 20
alexl
Hello golang-codereviews@googlegroups.com, I'd like you to review this change to https://code.google.com/p/go/
11 years, 5 months ago (2014-01-20 12:32:11 UTC) #1
gobot
R=dsymonds@golang.org (assigned by bradfitz@golang.org)
11 years, 5 months ago (2014-01-22 06:16:05 UTC) #2
dsymonds
Looks pretty straightforward. https://codereview.appspot.com/54570043/diff/40001/src/pkg/archive/tar/common.go File src/pkg/archive/tar/common.go (right): https://codereview.appspot.com/54570043/diff/40001/src/pkg/archive/tar/common.go#newcode193 src/pkg/archive/tar/common.go:193: paxSchilyXattr = "SCHILY.xattr." unless you're planning ...
11 years, 4 months ago (2014-02-05 23:44:48 UTC) #3
dsymonds
Also, please fill out the CLA: http://golang.org/doc/contribute.html#copyright
11 years, 4 months ago (2014-02-05 23:48:23 UTC) #4
alexl
Hello golang-codereviews@googlegroups.com, gobot@golang.org, dsymonds@golang.org (cc: golang-codereviews@googlegroups.com), Please take another look.
11 years, 4 months ago (2014-02-10 09:27:51 UTC) #5
alexl
On 2014/02/05 23:48:23, dsymonds wrote: > Also, please fill out the CLA: > > http://golang.org/doc/contribute.html#copyright ...
11 years, 4 months ago (2014-02-10 09:45:18 UTC) #6
dsymonds
LGTM
11 years, 4 months ago (2014-02-12 01:34:14 UTC) #7
dsymonds
Can you please 'hg sync' and 'hg upload 54570043'. The current patchset does not apply ...
11 years, 4 months ago (2014-02-12 01:35:26 UTC) #8
alexl
On 2014/02/12 01:35:26, dsymonds wrote: > Can you please 'hg sync' and 'hg upload 54570043'. ...
11 years, 4 months ago (2014-02-12 11:36:56 UTC) #9
dsymonds
I've received and taken care of the CLA. But this patch still doesn't apply cleanly. ...
11 years, 4 months ago (2014-02-12 11:46:34 UTC) #10
alexl
On 2014/02/12 11:46:34, dsymonds wrote: > I've received and taken care of the CLA. But ...
11 years, 4 months ago (2014-02-12 13:10:52 UTC) #11
dsymonds
I see the problem. The new test file, xattrs.tar, is choking Rietveld. I can't patch ...
11 years, 4 months ago (2014-02-12 22:41:09 UTC) #12
alexl
On 2014/02/12 22:41:09, dsymonds wrote: > I see the problem. The new test file, xattrs.tar, ...
11 years, 4 months ago (2014-02-13 08:16:01 UTC) #13
dsymonds
*** Submitted as https://code.google.com/p/go/source/detail?r=a15f344a9efa *** archive/tar: support extended attributes This adds support for archives with ...
11 years, 4 months ago (2014-02-13 09:08:50 UTC) #14
gobot
This CL appears to have broken the darwin-amd64-cheney builder.
11 years, 4 months ago (2014-02-13 09:29:30 UTC) #15
alexl
On 2014/02/13 09:29:30, gobot wrote: > This CL appears to have broken the darwin-amd64-cheney builder. ...
11 years, 4 months ago (2014-02-13 09:45:58 UTC) #16
dave_cheney.net
Yeah, issue 7205, it's unrelated to your change, you can stand down. On Thu, Feb ...
11 years, 4 months ago (2014-02-13 10:15:48 UTC) #17
rsc
The X in Xattrs looks more like a C name than a Go name. "ExtAttrs" ...
11 years, 4 months ago (2014-02-15 15:24:23 UTC) #18
dsymonds
These things are called "extended attributes" because the rest of the header fields are called ...
11 years, 4 months ago (2014-02-16 02:23:36 UTC) #19
rsc
11 years, 4 months ago (2014-02-16 15:21:47 UTC) #20
ok
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b