[PATCH v2 1/1] import-tars: read overlong names from pax extended header

2018-05-23 Thread Pedro Alvarez
From: Pedro Alvarez Piedehierro <palvare...@gmail.com> Importing gcc tarballs[1] with import-tars script (in contrib) fails when hitting a pax extended header. Make sure we always read the extended attributes from the pax entries, and store the 'path' value if found to be used in the next

[PATCH v2 0/1] import-tars: read overlong names from pax extended header

2018-05-23 Thread Pedro Alvarez
From: Pedro Alvarez Piedehierro <palvare...@gmail.com> Hello! In this version I've trimmed and improved the commit message as suggested. Regarding the error handling, as Jeff mentioned, could be improved in general in the entire script. But I guess I could do it if needed to get this

[PATCH] Add initial support for pax extended attributes

2018-05-22 Thread Pedro Alvarez
From: Pedro Alvarez Piedehierro <palvare...@gmail.com> Sometimes the tar files will contain pax extended attributes to deal with cases where the information needed doesn't fit in a standard ustar entry. One of these cases is when the path is larger than 100 characters. A pax entry will