Skip to content

Better support of links #20

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

Merged
merged 16 commits into from
May 28, 2015
Merged

Better support of links #20

merged 16 commits into from
May 28, 2015

Conversation

Changaco
Copy link
Owner

Redo of #9.

pombredanne and others added 16 commits May 18, 2015 13:13
 * Added support for issym for symlinks
 * fixed ArchiveEntry.islnk that was providing symlink
   info instead of hardlink to keep the same API
   as tarfile.TarInfo
 * Added support for linkpath for all link types
 * Added tests to verify that Entries data match
   tarfile.TarInfo data for the same archive
 * path and name aliased to pathname
 * linkpath and linkname aliased
 * test with trick tar from the CPython test suite
 
 * tar and zips with entries of unknown/non unicode encoding
 * use only the non-"_w" libarchive functions for paths
   and links
 * improved tests by base64 encoding paths
 * win FS is UTF-encoded: sometimes only wide paths are returned
 These end up being unicode python strings and we convert then back
 to bytes
- refactors the tests
- uses surrogate encoding instead of base64
- drops the OS-specific logic: we're only reading archives, if the result isn't consistent across platforms then it's a bug
@Changaco
Copy link
Owner Author

@pombredanne Any idea about the remaining test failure?

@Changaco
Copy link
Owner Author

The error doesn't occur on my system with a vanilla libarchive 3.1.2, so the problem is in the Travis environment.

@dcolens
Copy link

dcolens commented May 28, 2015

any plans to merge this ??

@Changaco
Copy link
Owner Author

I was hoping to find a way to fix the Travis build before merging, but…

Changaco added a commit that referenced this pull request May 28, 2015
Better support of links
@Changaco Changaco merged commit a7220dd into master May 28, 2015
@Changaco Changaco deleted the links branch May 28, 2015 09:20
@Changaco
Copy link
Owner Author

Released in version 2.1.

@dcolens
Copy link

dcolens commented May 28, 2015

Thanks a lot !!

Did

On 28 May 2015, at 11:36, Changaco [email protected] wrote:

Released in version 2.1.


Reply to this email directly or view it on GitHub #20 (comment).

Changaco added a commit that referenced this pull request Nov 29, 2016
Better support of links
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.

3 participants