[MacPorts] #13673: port info --index does not work with 'current' pseudo-port
#13673: port info --index does not work with 'current' pseudo-port -------------------------------------+-------------------------------------- Reporter: ryandesign@macports.org | Owner: macports-tickets@lists.macosforge.org Type: defect | Status: new Priority: Normal | Milestone: MacPorts base bugs Component: base | Version: 1.7.0 Keywords: | -------------------------------------+-------------------------------------- I want to get the list of all port maintainers. That should be doable like this: {{{ port -q info --index --maintainer all | sed s/,//g | xargs -n 1 echo | sort | uniq }}} However, that doesn't work because {{{ port -q info --index --maintainer all }}} prints the error message {{{ Warning: port info --index does not work with 'current' pseudo-port }}} 4400 times. (That's how many ports we have right now.) Why this error message? I didn't ask for the 'current' pseudo-port; I asked for the 'all' pseudo-port. I was able to get the list of all maintainers using {{{ port echo all | xargs port -q info --index --maintainer | sed s/,//g | xargs -n 1 echo | sort | uniq }}} but this is not optimal; it took 9 minutes to run. All the information is in the PortIndex; it should just be able to open the single file, parse the 8800 lines to find all the maintainers, and spit them out, and it shouldn't take that long to do it. -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/13673> MacPorts </projects/macports> Ports system for Mac OS
#13673: port info --index does not work with 'current' pseudo-port --------------------------------------+------------------------------------- Reporter: ryandesign@macports.org | Owner: macports-tickets@lists.macosforge.org Type: defect | Status: new Priority: Normal | Milestone: MacPorts base bugs Component: base | Version: 1.7.0 Resolution: | Keywords: --------------------------------------+------------------------------------- Comment (by ryandesign@macports.org): I wrote a PHP script to list all the maintainers. It runs in under 2 seconds. -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/13673#comment:1> MacPorts </projects/macports> Ports system for Mac OS
participants (1)
-
MacPorts