Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

tar.gz not expanding #347

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

Comments

Projects
None yet
4 participants

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
Owner

satazor commented Mar 27, 2013

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

gzcould be supported with tar.gz package.

Owner

satazor commented May 29, 2013

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

@satazor satazor closed this May 29, 2013

Contributor

blainsmith commented Jul 19, 2013

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

vjpr commented Jul 20, 2013

+1

Owner

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

Contributor

blainsmith commented Jul 23, 2013

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!

Owner

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