Closed satazor closed 8 years ago
Perhaps implement this on the server rewrite.
The spec currently only specifies search by name
and keyword
properties.
GET /packages/search/{keyword}/{?q}
Returns a Packages Result with a filtered list of packages with keywords matching {keyword}
Having said this, I don't see why we can't also query for a url
property.
@danheberden Perhaps we can extend the spec?
I think q should be checked in both names and urls of registered packages.
bower search angular-bootstrap
Search results:
angular-bootstrap git://github.com/angular-ui/bootstrap-bower.git
bower search angular-bootstrap
Search results:
angular-bootstrap git://github.com/angular-ui/bootstrap-bower.git
Also URL should be normalized.
Lookup currently works only with names, and outputs an object with name and url. This method needs to look also for URLs. See: https://github.com/bower/bower/issues/513
Perhaps implement this on the server rewrite. //cc @danheberden @svnlto