New issue

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

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

search command ineffective when multiple arguments are passed #44

Closed
vbabiy opened this Issue Mar 15, 2011 · 2 comments

Comments

Projects
None yet
2 participants
@vbabiy
Contributor

vbabiy commented Mar 15, 2011

Try:
pip search json store

Expected: many results, as in pypi

Got: no result


@vbabiy

This comment has been minimized.

Show comment
Hide comment
@vbabiy

vbabiy Mar 15, 2011

Contributor
  • Changed status from new to open.

Original Comment By: Hugo Lopes Tavares
Contributor

vbabiy commented Mar 15, 2011

  • Changed status from new to open.

Original Comment By: Hugo Lopes Tavares
@vbabiy

This comment has been minimized.

Show comment
Hide comment
@vbabiy

vbabiy Mar 15, 2011

Contributor

I have attached a possible solution to this bug including test. This solution
builds on my proposed changes for a new '--exact' flag (see #198 for
details)

Pull from my fork

https://bitbucket.org/khightower/pip/changeset/31a9f5cce41c

CLI run
# /opt/OpenPython-2.7.1/bin/pip search --exact Mako yamlconfig

Mako                      - A super-fast templating language that borrows

the best ideas from the existing templating languages.

yamlconfig                - YAML configuration file reader with basic

variable interpolation.

  INSTALLED: 0.3 (latest)


# /opt/OpenPython-2.7.1/bin/pip search Mako yamlconfig

Mako                      - A super-fast templating language that borrows

the best ideas from the existing templating languages.

BlastOff                  - A Pylons application template providing a

working site skeleton configured with SQLAlchemy, mako, repoze.who,
ToscaWidgets, TurboMail, WebFlash and

                            (optionally) SchemaBot. The generated app is

pre-configured with authentication, login and registration forms, and
(optionally) email confirmation.

tipfy.ext.mako            - Mako extension for tipfy

django-mako               - Django Mako

repoze.bfg.mako           - Mako template bindings for repoze.bfg

yamlconfig                - YAML configuration file reader with basic

variable interpolation.

  INSTALLED: 0.3 (latest)

MakoLang                  - This package adds preprocessor to mako for

convenient syntax of gettext strings, and babel extractor to process such
templates.

djmako                    - mako template support for Django 1.2

pypp                      - pypp: python preprocessor based on the Mako

template engine

hmako                     - a hack version mako(0.24) for html

mako-version-tag          - Displays pkg_resources distribution versions

in Mako templates

qsgen                     - An HTML static site generator for Mako

PyHAML                    - Pythonic implementation of HAML, cross

compiling to Mako template syntax.

Test output
test_search.test_searching_with_multiple_arguments

Verify searching with multiple arguments return results including ... ok

something


Original Comment By: Kelsey Hightower
Contributor

vbabiy commented Mar 15, 2011

I have attached a possible solution to this bug including test. This solution
builds on my proposed changes for a new '--exact' flag (see #198 for
details)

Pull from my fork

https://bitbucket.org/khightower/pip/changeset/31a9f5cce41c

CLI run
# /opt/OpenPython-2.7.1/bin/pip search --exact Mako yamlconfig

Mako                      - A super-fast templating language that borrows

the best ideas from the existing templating languages.

yamlconfig                - YAML configuration file reader with basic

variable interpolation.

  INSTALLED: 0.3 (latest)


# /opt/OpenPython-2.7.1/bin/pip search Mako yamlconfig

Mako                      - A super-fast templating language that borrows

the best ideas from the existing templating languages.

BlastOff                  - A Pylons application template providing a

working site skeleton configured with SQLAlchemy, mako, repoze.who,
ToscaWidgets, TurboMail, WebFlash and

                            (optionally) SchemaBot. The generated app is

pre-configured with authentication, login and registration forms, and
(optionally) email confirmation.

tipfy.ext.mako            - Mako extension for tipfy

django-mako               - Django Mako

repoze.bfg.mako           - Mako template bindings for repoze.bfg

yamlconfig                - YAML configuration file reader with basic

variable interpolation.

  INSTALLED: 0.3 (latest)

MakoLang                  - This package adds preprocessor to mako for

convenient syntax of gettext strings, and babel extractor to process such
templates.

djmako                    - mako template support for Django 1.2

pypp                      - pypp: python preprocessor based on the Mako

template engine

hmako                     - a hack version mako(0.24) for html

mako-version-tag          - Displays pkg_resources distribution versions

in Mako templates

qsgen                     - An HTML static site generator for Mako

PyHAML                    - Pythonic implementation of HAML, cross

compiling to Mako template syntax.

Test output
test_search.test_searching_with_multiple_arguments

Verify searching with multiple arguments return results including ... ok

something


Original Comment By: Kelsey Hightower
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment