[MacPorts] #27245: base: option to list file sizes in `contents` action
#27245: base: option to list file sizes in `contents` action --------------------------------+------------------------------------------- Reporter: ww.galen@… | Owner: macports-tickets@… Type: enhancement | Status: new Priority: Normal | Milestone: Component: base | Version: 1.9.2 Keywords: haspatch | Port: --------------------------------+------------------------------------------- Here's a simple but (hopefully) useful feature for the `contents` action: optionally include file sizes in the list of files in a port. The patch adds support for this action, as well as options that specify the default units for sizes: -K for KiB, -M for MiB, -B for bytes. These options are applicable to other (such as another proposed feature, ticket #27244, to include an action to list the disk space used by an active port), which is why they are global options rather than action flags. -- Ticket URL: <https://trac.macports.org/ticket/27245> MacPorts <http://www.macports.org/> Ports system for Mac OS
#27245: base: option to list file sizes in `contents` action --------------------------------+------------------------------------------- Reporter: ww.galen@… | Owner: macports-tickets@… Type: enhancement | Status: new Priority: Normal | Milestone: Component: base | Version: 1.9.2 Keywords: haspatch | Port: --------------------------------+------------------------------------------- Comment(by ww.galen@…): Example usage: {{{ $ port contents --size zip Port zip contains: 225.172 KiB /opt/local/bin/zip 102.430 KiB /opt/local/bin/zipcloak 97.492 KiB /opt/local/bin/zipnote 101.703 KiB /opt/local/bin/zipsplit 356 B /opt/local/share/doc/zip-3.00/BUGS 205.424 KiB /opt/local/share/doc/zip-3.00/CHANGES 3.332 KiB /opt/local/share/doc/zip-3.00/LICENSE 12.449 KiB /opt/local/share/doc/zip-3.00/README 6.519 KiB /opt/local/share/doc/zip-3.00/TODO 15.362 KiB /opt/local/share/doc/zip-3.00/WHATSNEW 27.834 KiB /opt/local/share/man/man1/zip.1.gz 962 B /opt/local/share/man/man1/zipcloak.1.gz 803 B /opt/local/share/man/man1/zipnote.1.gz 607 B /opt/local/share/man/man1/zipsplit.1.gz }}} -- Ticket URL: <https://trac.macports.org/ticket/27245#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#27245: base: option to list file sizes in `contents` action --------------------------------+------------------------------------------- Reporter: ww.galen@… | Owner: macports-tickets@… Type: enhancement | Status: new Priority: Normal | Milestone: MacPorts 2.0.0 Component: base | Version: 1.9.2 Keywords: haspatch | Port: --------------------------------+------------------------------------------- Changes (by jmr@…): * milestone: => MacPorts 2.0.0 -- Ticket URL: <https://trac.macports.org/ticket/27245#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#27245: base: option to list file sizes in `contents` action ---------------------------------+------------------------------------------ Reporter: ww.galen@… | Owner: macports-tickets@… Type: enhancement | Status: closed Priority: Normal | Milestone: MacPorts 2.0.0 Component: base | Version: 1.9.2 Resolution: fixed | Keywords: haspatch Port: | ---------------------------------+------------------------------------------ Changes (by jmr@…): * status: new => closed * resolution: => fixed Comment: r79365 -- Ticket URL: <https://trac.macports.org/ticket/27245#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts