t0m/select2-bootstrap-css

Bower issue

brunowego opened this issue · 8 comments

When downloading using bower, this install creates a subfolder like:

bower_components/select2-bootstrap-css-1.4.6/
fk commented

Hi Bruno, thanks for speaking up!

I just tried to reproduce the issue you described, however running bower install select2-bootstrap-css results in version 1.4.6 (from the bootstrap3 branch) being installed in bower_components/select2-bootstrap-css/ for me (using Bower 1.3.12 and NPM 2.7.4 – the lastest stable releases). A bower install select2-bootstrap-css#1.4.6 does exactly the same.

I've been using Bower a lot during the last years, and I can't remember seeing the version number added to the folder name once – or reading about the latter. Could you describe your process? How did you come up with the fix you issued the pull request for?

Yes @fk. See below the issue:

bug

Bower v1.3.12

fk commented

Wow! 😩

How did you come up with the fix you issued the pull request for?

I'd love to understand this.
Also, I've googled this quite a bit and couldn't find anything similar.

Which ver. of bower?

Here's my output, unable to duplicate as well, i'm on bower 1.4.0

bower not-cached    git://github.com/t0m/select2-bootstrap-css.git#*
bower resolve       git://github.com/t0m/select2-bootstrap-css.git#*
bower download      https://github.com/t0m/select2-bootstrap-css/archive/v1.4.6.tar.gz
bower extract       select2-bootstrap-css#* archive.tar.gz
bower resolved      git://github.com/t0m/select2-bootstrap-css.git#1.4.6
bower cached        git://github.com/ivaynberg/select2.git#3.4.8
bower validate      3.4.8 against git://github.com/ivaynberg/select2.git#^3.3.2
bower new           version for git://github.com/ivaynberg/select2.git#^3.3.2
bower resolve       git://github.com/ivaynberg/select2.git#^3.3.2
bower download      https://github.com/ivaynberg/select2/archive/3.5.2.tar.gz
bower extract       select2#^3.3.2 archive.tar.gz
bower resolved      git://github.com/ivaynberg/select2.git#3.5.2
bower cached        git://github.com/jquery/jquery.git#2.1.1
bower validate      2.1.1 against git://github.com/jquery/jquery.git#>= 1.7.1
bower new           version for git://github.com/jquery/jquery.git#>= 1.7.1
bower resolve       git://github.com/jquery/jquery.git#>= 1.7.1
bower download      https://github.com/jquery/jquery/archive/2.1.3.tar.gz
bower extract       jquery#>= 1.7.1 archive.tar.gz
bower resolved      git://github.com/jquery/jquery.git#2.1.3
bower install       select2-bootstrap-css#1.4.6
bower install       select2#3.5.2
bower install       jquery#2.1.3
fk commented

Thanks for chiming in @ryanbeymer. It's Bower v1.3.12 for me (no problems, output similar to what you pasted) as well as for @brunowego. I also updated to Bower v1.4.0 yesterday, same (positive) result for me with v1.4.1 today.

@brunowego & @fk Doesn't appear to be repo related, looks like func. of bower.

http://stackoverflow.com/a/21777649/1119965

@fk i think you could close this now

fk commented

Thanks guys!

@brunowego – does this work for you now?