bower: `bower search d3` doesn’t find D3

Apologies if I’m being dumb, but I was surprised to discover that neither http://bower.io/search/?q=d3 nor bower search d3 returns any information about the d3 package. Instead it returns a lot of D3-related packages:

nvd3 git://github.com/novus/nvd3
angularjs-nvd3-directives git://github.com/cmaurer/angularjs-nvd3-directives.git
d3-tip git://github.com/Caged/d3-tip.git
angular-nvd3 git://github.com/krispo/angular-nvd3.git
d3-plugins git://github.com/d3/d3-plugins.git
d3-cloud git://github.com/jasondavies/d3-cloud.git
d3cloud git://github.com/rajenms/d3-cloud.git
r2d3 git://github.com/mhemesath/r2d3.git
d3.chart git://github.com/misoproject/d3.chart.git
d3js git://github.com/henrytao-me/d3js.git
angularD3 git://github.com/WealthBar/angular-d3.git
dagre-d3 git://github.com/cpettitt/dagre-d3.git
d3.chart.base git://github.com/d3-chart-components/d3.chart.base.git
d3.chart.bubble-matrix git://github.com/benbria/d3.chart.bubble-matrix.shim.git
d3-timeline git://github.com/jiahuang/d3-timeline.git
d3pie git://github.com/benkeen/d3pie.git
d3-angular git://github.com/beefsack/angular-d3.git
d3-geo-projection git://github.com/d3/d3-geo-projection.git
amd-d3-cloud git://github.com/Mirajjj/d3-cloud.git
d3-measure-text git://github.com/jprichardson/d3-measure-text.git
d3-amd git://github.com/Moviri/d3
angular-d3 git://github.com/angular-d3/lazy-panda.git
id3 git://github.com/43081j/id3.git
d3-helpers git://github.com/bahmutov/d3-helpers.git
github-d3 git://github.com/github/d3.git
line-chart git://github.com/angular-d3/line-chart.git
d3-treelayout git://github.com/MfgLabs/d3-treelayout.git
ember-nvd3 git://github.com/Glavin001/ember-nvd3.git
webapps-bower-d3 git://github.com/xl8/webapps-bower-d3.git
d3.chart.legend git://github.com/knownasilya/d3.chart.legend.git

However, bower info d3 does return the expected package information.

Perhaps it’s unlikely that someone would search for a package when they already know its name, but it still seems like registry search should index package names, or at the least, check whether the search query is an existing package.

Is this something I need to fix in my bower.json or is this a bug in Bower’s search?

About this issue

  • Original URL
  • State: closed
  • Created 8 years ago
  • Comments: 16 (5 by maintainers)

Most upvoted comments

If the test-d3 package is a duplicate package definition, why would that effect the behavior of the d3 package or searching for d3?

I don’t recall creating the test-d3 package. I tried to unregister it, but it looks like that’s temporarily disabled.

$ bower unregister test-d3
? You are about to remove component "test-d3" from the bower registry (https://bower.herokuapp.com). It is generally considered bad behavior to remove versions of a library that others are depending on. Are you really sure? Yes
bower unregister    test-d3
bower EFORBIDDEN    Unpublishing bower packages is temporarily disabled