Re: Output change of 'pkg info' after 1.2.
From: Baptiste Daroussin b...@freebsd.org Subject: Re: Output change of 'pkg info' after 1.2. Date: Fri, 6 Dec 2013 09:29:30 +0100 Then I have one question. Is there any way to get same output as 'pkg info pkg-name' of 1.1.x? I tried some combination of options but could not find proper one. only pkg query now. pkg query %n-%v and to simply your life you could probably have in your pkg.conf (since pkg 1.2) alias: { whatis : query '%n-%v' } $ pkg whatis pkgconf pkgconf-0.9.3 etc. Thank you for answering my quetion. I added alias definition above in my pkg.conf. BTW, I noticed there is no explanation about 'alias' option in pkg.conf(5) but two examples in EXAMPLES section. It is far from fatal but anyway I sent PR and also opened new issue on GitHub. http://www.freebsd.org/cgi/query-pr.cgi?pr=184594 https://github.com/freebsd/pkg/issues/676 --- Yasuhiro KIMURA ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org
Re: Output change of 'pkg info' after 1.2.
From: Yasuhiro KIMURA y...@utahime.org Subject: Re: Output change of 'pkg info' after 1.2. Date: Mon, 09 Dec 2013 00:11:14 +0900 (JST) BTW, I noticed there is no explanation about 'alias' option in pkg.conf(5) but two examples in EXAMPLES section. It is far from fatal but anyway I sent PR and also opened new issue on GitHub. This issue is fixed on GitHub. https://github.com/freebsd/pkg/commit/e2350ea560aae668df58e9d0fa3f8a1f31dcbcba Just FYI. --- Yasuhiro KIMURA ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org
Re: Output change of 'pkg info' after 1.2.
On Fri, Dec 06, 2013 at 01:54:22AM +0900, Yasuhiro KIMURA wrote: From: Baptiste Daroussin b...@freebsd.org Subject: Re: Output change of 'pkg info' after 1.2. Date: Thu, 5 Dec 2013 17:24:09 +0100 On Thu, Dec 05, 2013 at 04:36:00PM +0100, Michael Gmelin wrote: On Fri, 06 Dec 2013 00:13:38 +0900 (JST) Yasuhiro KIMURA y...@utahime.org wrote: I noticed that output of 'pkg info' changed after version 1.2. If I remember correctly, 1.1.x behaved as following: - 'pkg info -q pkg-name' outputs package name with version. - 'pkg info pkg-name' outputs package name with version, and comment. - 'pkg info -f pkg-name' outputs full information. But 1.2.1 works as following: - 'pkg info -q pkg-name' outputs nothing. - Both 'pkg info pkg-name' and 'pkg info -f pkg-name' outputs full information. Just tested, pkg 1.1.4 vs. 1.2.1 pkg info -q pkg-name is identical on both, but -f vs no parameter definitely changed and this seems like a bug to me. It is not a bug, but intended as requested by a lot of users. To mimic the pkg_info behaviour. pkg info -q shows nothing on purpose as well as pkg info -q is used by the scripts like portmaster or by the ports tree and only the return value is checked 0 means something was found 1 means nothing was found. Thank you for explanation. Then I have one question. Is there any way to get same output as 'pkg info pkg-name' of 1.1.x? I tried some combination of options but could not find proper one. only pkg query now. pkg query %n-%v and to simply your life you could probably have in your pkg.conf (since pkg 1.2) alias: { whatis : query '%n-%v' } $ pkg whatis pkgconf pkgconf-0.9.3 etc. I should create some kind of polling to see what do people expect before fixing a feature request, because sometime onces request defeats what others expects. regards, Bapt pgpAkbl1UW0rY.pgp Description: PGP signature
Output change of 'pkg info' after 1.2.
I noticed that output of 'pkg info' changed after version 1.2. If I remember correctly, 1.1.x behaved as following: - 'pkg info -q pkg-name' outputs package name with version. - 'pkg info pkg-name' outputs package name with version, and comment. - 'pkg info -f pkg-name' outputs full information. But 1.2.1 works as following: - 'pkg info -q pkg-name' outputs nothing. - Both 'pkg info pkg-name' and 'pkg info -f pkg-name' outputs full information. Is this change intended one? --- Yasuhiro KIMURA ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org
Re: Output change of 'pkg info' after 1.2.
On Fri, 06 Dec 2013 00:13:38 +0900 (JST) Yasuhiro KIMURA y...@utahime.org wrote: I noticed that output of 'pkg info' changed after version 1.2. If I remember correctly, 1.1.x behaved as following: - 'pkg info -q pkg-name' outputs package name with version. - 'pkg info pkg-name' outputs package name with version, and comment. - 'pkg info -f pkg-name' outputs full information. But 1.2.1 works as following: - 'pkg info -q pkg-name' outputs nothing. - Both 'pkg info pkg-name' and 'pkg info -f pkg-name' outputs full information. Just tested, pkg 1.1.4 vs. 1.2.1 pkg info -q pkg-name is identical on both, but -f vs no parameter definitely changed and this seems like a bug to me. Is this change intended one? --- Yasuhiro KIMURA ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org -- Michael Gmelin ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org
Re: Output change of 'pkg info' after 1.2.
On Thu, Dec 05, 2013 at 04:36:00PM +0100, Michael Gmelin wrote: On Fri, 06 Dec 2013 00:13:38 +0900 (JST) Yasuhiro KIMURA y...@utahime.org wrote: I noticed that output of 'pkg info' changed after version 1.2. If I remember correctly, 1.1.x behaved as following: - 'pkg info -q pkg-name' outputs package name with version. - 'pkg info pkg-name' outputs package name with version, and comment. - 'pkg info -f pkg-name' outputs full information. But 1.2.1 works as following: - 'pkg info -q pkg-name' outputs nothing. - Both 'pkg info pkg-name' and 'pkg info -f pkg-name' outputs full information. Just tested, pkg 1.1.4 vs. 1.2.1 pkg info -q pkg-name is identical on both, but -f vs no parameter definitely changed and this seems like a bug to me. It is not a bug, but intended as requested by a lot of users. To mimic the pkg_info behaviour. pkg info -q shows nothing on purpose as well as pkg info -q is used by the scripts like portmaster or by the ports tree and only the return value is checked 0 means something was found 1 means nothing was found. regards, Bapt pgpZi8Bal1e1Q.pgp Description: PGP signature
Re: Output change of 'pkg info' after 1.2.
From: Baptiste Daroussin b...@freebsd.org Subject: Re: Output change of 'pkg info' after 1.2. Date: Thu, 5 Dec 2013 17:24:09 +0100 On Thu, Dec 05, 2013 at 04:36:00PM +0100, Michael Gmelin wrote: On Fri, 06 Dec 2013 00:13:38 +0900 (JST) Yasuhiro KIMURA y...@utahime.org wrote: I noticed that output of 'pkg info' changed after version 1.2. If I remember correctly, 1.1.x behaved as following: - 'pkg info -q pkg-name' outputs package name with version. - 'pkg info pkg-name' outputs package name with version, and comment. - 'pkg info -f pkg-name' outputs full information. But 1.2.1 works as following: - 'pkg info -q pkg-name' outputs nothing. - Both 'pkg info pkg-name' and 'pkg info -f pkg-name' outputs full information. Just tested, pkg 1.1.4 vs. 1.2.1 pkg info -q pkg-name is identical on both, but -f vs no parameter definitely changed and this seems like a bug to me. It is not a bug, but intended as requested by a lot of users. To mimic the pkg_info behaviour. pkg info -q shows nothing on purpose as well as pkg info -q is used by the scripts like portmaster or by the ports tree and only the return value is checked 0 means something was found 1 means nothing was found. Thank you for explanation. Then I have one question. Is there any way to get same output as 'pkg info pkg-name' of 1.1.x? I tried some combination of options but could not find proper one. Regards. --- Yasuhiro KIMURA ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org
Re: Output change of 'pkg info' after 1.2.
Am 2013-12-05 17:54, schrieb Yasuhiro KIMURA: From: Baptiste Daroussin b...@freebsd.org Subject: Re: Output change of 'pkg info' after 1.2. Date: Thu, 5 Dec 2013 17:24:09 +0100 On Thu, Dec 05, 2013 at 04:36:00PM +0100, Michael Gmelin wrote: On Fri, 06 Dec 2013 00:13:38 +0900 (JST) Yasuhiro KIMURA y...@utahime.org wrote: I noticed that output of 'pkg info' changed after version 1.2. If I remember correctly, 1.1.x behaved as following: - 'pkg info -q pkg-name' outputs package name with version. - 'pkg info pkg-name' outputs package name with version, and comment. - 'pkg info -f pkg-name' outputs full information. But 1.2.1 works as following: - 'pkg info -q pkg-name' outputs nothing. - Both 'pkg info pkg-name' and 'pkg info -f pkg-name' outputs full information. Just tested, pkg 1.1.4 vs. 1.2.1 pkg info -q pkg-name is identical on both, but -f vs no parameter definitely changed and this seems like a bug to me. It is not a bug, but intended as requested by a lot of users. To mimic the pkg_info behaviour. pkg info -q shows nothing on purpose as well as pkg info -q is used by the scripts like portmaster or by the ports tree and only the return value is checked 0 means something was found 1 means nothing was found. Thank you for explanation. Then I have one question. Is there any way to get same output as 'pkg info pkg-name' of 1.1.x? I tried some combination of options but could not find proper one. 1.1.4 doesn't behave like you describe, but here's a universal way: root@fbsd01:~ # pkg info pkg pkg-1.1.4_8 root@fbsd01:~ # pkg info icinga icinga-1.9.3_2 root@fbsd01:~ # pkg query '%n-%v' icinga icinga-1.9.3_2 root@fbsd01:~ # pkg query '%n-%v %c' icinga icinga-1.9.3_2 Enterprise grade open source monitoring system based on Nagios ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org