Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

tar.gz not expanding #347

Closed
mgutz opened this Issue · 7 comments

4 participants

@mgutz

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
Owner

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

gzcould be supported with tar.gz package.

@satazor
Owner

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

@satazor satazor closed this
@blainsmith

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

@vjpr

+1

@satazor
Owner

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

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
Owner

@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
Something went wrong with that request. Please try again.