Projects
New Ticket     Wiki     Browse Source     Timeline     Roadmap     Bug Reports     Search

Ticket #15434 (reopened enhancement)

Opened 5 months ago

Last modified 2 months ago

RFE: port search should search name, description and long_description

Reported by: raimue@… Owned by: raimue@…
Priority: Normal Milestone: MacPorts base enhancements
Component: base Version: 1.6.0
Keywords: Cc: landonf@…
Port:

Description

At the moment, port search only searches in the name of a port. It would be more helpful if it would also look in description and long_description.

The result for 'port search foo' should be the same as for:

port echo name:foo or description:foo or long_description:foo

(Given that we eliminate duplicates, #15433).

Change History

  Changed 5 months ago by raimue@…

  • owner changed from macports-tickets@… to raimue@…
  • status changed from new to assigned

  Changed 5 months ago by raimue@…

  • status changed from assigned to closed
  • resolution set to fixed

Fixed in r37119.

follow-up: ↓ 5   Changed 2 months ago by landonf@…

  • status changed from closed to reopened
  • resolution fixed deleted

This actually makes 'search' pretty useless if you use a common term. Take 'tex' as an example -- port search tex returns 391 ports, but almost none of them are related to TeX.

  Changed 2 months ago by landonf@…

  • cc landonf@… added

Cc Me!

in reply to: ↑ 3   Changed 2 months ago by raimue@…

Replying to landonf@macports.org:

This actually makes 'search' pretty useless if you use a common term. Take 'tex' as an example -- port search tex returns 391 ports, but almost none of them are related to TeX.

Hm, there is port echo name:tex to search in port names only, but that is not so obvious. How should it be changed?

We could add flags to specify the fields to search for:

port search tex
port search --name tex
port search --name --description --long_description tex

Or add an option to port echo to get more output than just the name.

  Changed 2 months ago by raimue@…

  • component changed from ports to base
  • milestone set to MacPorts base enhancements
Note: See TracTickets for help on using tickets.