BUG: 'port list <restriction criterion>' outputs all ports if no matches found
In trying to write some scripts to help me manage old ports that I've upgraded past, I noticed this problem with 'port list'.
If I try to restrict the list somehow, for example say I'm looking for a certain maintainer:
'port list maintainer:portmgr' will only return DarwinPorts, the single port with that maintainer. However, if I search with a restriction that isn't present at all, for example I am not presently listed as a maintainer on any port,
'port list maintainer:frank.mcp' doesn't match any ports, it will return the entire list of nearly 3500 ports.
Change History (5)
Milestone: |
→ MacPorts 1.4
|
Milestone: |
MacPorts 1.4 →
MacPorts 1.5
|
Owner: |
changed from darwinports-bugs@… to jberry@…
|
severity: |
Serious →
Normal
|
Cc: |
frank.mcpherson@… jberry@… jmpp@… added
|
Resolution: |
→ fixed
|
Status: |
new →
closed
|
Priority: |
Nice to have →
Low
|
Assigning this to James too, since he wrote the pseudo-portname searching feature. Tentatively setting it to the 1.5 milestone. What's your take on it, James?
-jmpp