NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

bin/51269: pkg_info enhancements



>Number:         51269
>Category:       bin
>Synopsis:       pkg_info(1) needs some new features
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    bin-bug-people
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Sat Jun 25 10:35:00 +0000 2016
>Originator:     Paul Goyette
>Release:        NetBSD 7.99.30
>Organization:
+------------------+--------------------------+------------------------+
| Paul Goyette     | PGP Key fingerprint:     | E-mail addresses:      |
| (Retired)        | FA29 0E3B 35AF E8AE 6651 | paul at whooppee.com   |
| Kernel Developer | 0786 F758 55DE 53BA 7731 | pgoyette at netbsd.org |
+------------------+--------------------------+------------------------+
>Environment:
	
	
System: NetBSD pokey.whooppee.com 7.99.30 NetBSD 7.99.30 (POKEY 2016-06-14 11:43:31) #0: Tue Jun 14 23:37:31 PHT 2016 paul%pokey.whooppee.com@localhost:/build/netbsd-local/obj/amd64/sys/arch/amd64/compile/POKEY amd64
Architecture: x86_64
Machine: amd64
>Description:
Some useful enhancements to pkg_info(1) would be:

* Allow for querying of more than one variable at a time, by specifying
  multiple -Q options

	pkg_info -Q PKGPATH -Q PKGNAME

* Allow querying for a list of packages that have a variable set, and/or
  packages that have a variable set to a specific value (and maybe even
  a third variant to get a list of packages that do _not_ set the variable).

	pkg_info -V variable_name
	pkg_info -V variable_name=value
	pkg_info -V \!variable

* Allow querying for a list of automatic packages.  Currently we have -a
  for "all" or -u for "user" but nothing for "automatic"

* When querying a variable in multiple packages, (optionally) print each
  package name as well as the variable's value.  Consider

	pkg_info -Q PKGPATH \*

	
>How-To-Repeat:
	
>Fix:
	

>Unformatted:
 	
 	


Home | Main Index | Thread Index | Old Index