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

tar.gz not expanding #347

Closed
mgutz opened this issue Mar 26, 2013 · 7 comments
Closed

tar.gz not expanding #347

mgutz opened this issue Mar 26, 2013 · 7 comments

Comments

@mgutz
Copy link

mgutz commented Mar 26, 2013

On Debian, I tried

bower install http://marionettejs.com/downloads/backbone.marionette.tar.gz

which resulted in

  ▾ backbone.marionette.tar/
      component.json
      index.gz
@satazor
Copy link
Member

satazor commented Mar 27, 2013

At the moment only tar and zip file extensions are expanded.

gzcould be supported with tar.gz package.

@satazor
Copy link
Member

satazor commented May 29, 2013

The rewrite already supports .gz extraction. It should land in a few weeks.

@satazor satazor closed this as completed May 29, 2013
@blainsmith
Copy link
Contributor

I am running into this same issue and I just installed Bower today. Its version 0.10.0.

@vjpr
Copy link

vjpr commented Jul 20, 2013

+1

@satazor
Copy link
Member

satazor commented Jul 20, 2013

Install bower-canary to get this feature. More info about the rewrite/canary: https://github.com/bower/bower/wiki/Rewrite-state

npm install -g -f bower-canary

@blainsmith
Copy link
Contributor

I have Bower 1.0.0 and .tar.gz files work fine locally and with URLs, but not with my internal build server URLs. My build server is saying the content type is application/octet-stream. Would that cause the files to only be unpacked once? This is the result of my installed package.

http://cl.ly/image/0r042f2O3j2S

Thanks!

@satazor
Copy link
Member

satazor commented Jul 23, 2013

@blainsmith If the url ends with .tar.gz or the content type header is set correctly then it will uncompress the archive.. If none of this conditions are met, then it won't work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

4 participants