Skip to content
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

Package.extract_file: determine basename using lsar #15

Merged
merged 2 commits into from Jun 10, 2014

Conversation

mistydemeo
Copy link
Contributor

The current code assumes there will only be one file extension. This switches to using lsar to determine the actual directory name. Ideally we'll switch to using lsar's JSON output, but it's currently broken for nested archives.

@Hwesta
Copy link
Contributor

Hwesta commented May 29, 2014

Looks good.

Maybe add a snippet of sample output from lsar, so I can understand what the string manipulation is doing?

@mistydemeo
Copy link
Contributor Author

This has broken on recent versions of lsar, so I'm going to put effort into getting JSON support working instead.

@mistydemeo mistydemeo closed this Jun 3, 2014
@mistydemeo mistydemeo reopened this Jun 4, 2014
@Hwesta
Copy link
Contributor

Hwesta commented Jun 10, 2014

👍

@qubot qubot merged commit 89d8a79 into qa/0.x Jun 10, 2014
@qubot qubot deleted the dev/issue-6764-compressed_file_name branch June 10, 2014 18:46
@Hwesta Hwesta modified the milestone: 0.5.0 and earlier Apr 26, 2016
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.

None yet

3 participants