From owner-freebsd-current@freebsd.org Sun Mar 13 14:08:01 2016 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id EC142ACE617; Sun, 13 Mar 2016 14:08:01 +0000 (UTC) (envelope-from deischen@freebsd.org) Received: from mail.netplex.net (mail.netplex.net [204.213.176.9]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "*.netplex.net", Issuer "RapidSSL SHA256 CA - G3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id B1B7F1ACB; Sun, 13 Mar 2016 14:08:01 +0000 (UTC) (envelope-from deischen@freebsd.org) Received: from sea.ntplx.net (sea.ntplx.net [204.213.176.11]) by mail.netplex.net (8.15.1/8.15.1/NETPLEX) with ESMTP id u2DE7rYj047370; Sun, 13 Mar 2016 10:07:53 -0400 X-Virus-Scanned: by AMaViS and Clam AntiVirus (mail.netplex.net) X-Greylist: Message whitelisted by DRAC access database, not delayed by milter-greylist-4.4.3 (mail.netplex.net [204.213.176.9]); Sun, 13 Mar 2016 10:07:54 -0400 (EDT) Date: Sun, 13 Mar 2016 10:07:53 -0400 (EDT) From: Daniel Eischen X-X-Sender: eischen@sea.ntplx.net Reply-To: Daniel Eischen To: Bryan Drewery cc: Slawa Olhovchenkov , Baptiste Daroussin , David Chisnall , Glen Barber , freebsd-current@freebsd.org, freebsd-pkgbase@freebsd.org Subject: Re: [CFT] packaging the base system with pkg(8) In-Reply-To: <56E4F3E9.1070307@FreeBSD.org> Message-ID: References: <20160302235429.GD75641@FreeBSD.org> <20160308124016.GA70809@zxy.spb.ru> <20160308131847.GP1531@FreeBSD.org> <20160308151459.GB70809@zxy.spb.ru> <05A039B7-AA9A-47BB-B68E-89D9D5627D20@FreeBSD.org> <20160311120511.GN31877@ivaldir.etoilebsd.net> <20160311131055.GO70809@zxy.spb.ru> <56E4F3E9.1070307@FreeBSD.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=utf-8; format=flowed Content-Transfer-Encoding: QUOTED-PRINTABLE X-Content-Filtered-By: Mailman/MimeDel 2.1.21 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 13 Mar 2016 14:08:02 -0000 On Sat, 12 Mar 2016, Bryan Drewery wrote: > On 3/11/16 9:01 AM, Daniel Eischen wrote: >> On Fri, 11 Mar 2016, Slawa Olhovchenkov wrote: >> >>> On Fri, Mar 11, 2016 at 01:05:11PM +0100, Baptiste Daroussin wrote: >>> >>>> On Tue, Mar 08, 2016 at 05:35:59PM +0000, David Chisnall wrote: >>>>> On 8 Mar 2016, at 15:14, Slawa Olhovchenkov wrote: >>>>>> >>>>> >>>>> In terms of comparing packages, if you=E2=80=99re doing that visually= then >>>>> you are likely to have problems anyway, unless your eyes and brain >>>>> work far better than most humans. We can make that much easier by >>>>> providing libxo output in pkg and allowing you to have a simple jq >>>>> script that tells you what the differences are. >>>>> >>>> pkg can already expose the entire content of a package in json or ucl >>>> via: >>>> $ pkg info --raw --raw-format [json|json-conpact|yaml|ucl] name >>> >>> Exposing the entire content of a package is not a root of cause. >>> Question in comapring of two different setup with different behaviour >>> and search cause of difference. >>> >>> Case of only a few monolitic packages is essentiality simple then case >>> of 1000 combined packages. >> >> It would be nice to have pkg(8) show packages in tree form, with option >> to show just top-level meta packages or packages that have no meta. >> >> Perhaps this is possible, but it's not obvious to me. >> > > https://github.com/freebsd/pkg/blob/master/scripts/pkg_tree.sh Cool, thanks. BTW, is there a typo on line 52? s/Pring/Print/? --=20 DE From owner-freebsd-current@freebsd.org Sun Mar 13 14:17:16 2016 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 83C43ACE9D3; Sun, 13 Mar 2016 14:17:16 +0000 (UTC) (envelope-from 000.fbsd@quip.cz) Received: from elsa.codelab.cz (elsa.codelab.cz [94.124.105.4]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id BE5121F6D; Sun, 13 Mar 2016 14:17:15 +0000 (UTC) (envelope-from 000.fbsd@quip.cz) Received: from elsa.codelab.cz (localhost [127.0.0.1]) by elsa.codelab.cz (Postfix) with ESMTP id 2B76928436; Sun, 13 Mar 2016 15:17:07 +0100 (CET) Received: from illbsd.quip.test (ip-86-49-16-209.net.upcbroadband.cz [86.49.16.209]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by elsa.codelab.cz (Postfix) with ESMTPSA id DA41528412; Sun, 13 Mar 2016 15:17:05 +0100 (CET) Message-ID: <56E57661.2060601@quip.cz> Date: Sun, 13 Mar 2016 15:17:05 +0100 From: Miroslav Lachman <000.fbsd@quip.cz> User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:35.0) Gecko/20100101 Firefox/35.0 SeaMonkey/2.32 MIME-Version: 1.0 To: Bryan Drewery , Daniel Eischen CC: Baptiste Daroussin , David Chisnall , Glen Barber , freebsd-current@freebsd.org, freebsd-pkgbase@freebsd.org Subject: Re: [CFT] packaging the base system with pkg(8) References: <20160302235429.GD75641@FreeBSD.org> <20160308124016.GA70809@zxy.spb.ru> <20160308131847.GP1531@FreeBSD.org> <20160308151459.GB70809@zxy.spb.ru> <05A039B7-AA9A-47BB-B68E-89D9D5627D20@FreeBSD.org> <20160311120511.GN31877@ivaldir.etoilebsd.net> <20160311131055.GO70809@zxy.spb.ru> <56E4F3E9.1070307@FreeBSD.org> In-Reply-To: <56E4F3E9.1070307@FreeBSD.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 13 Mar 2016 14:17:16 -0000 Bryan Drewery wrote on 03/13/2016 06:00: > On 3/11/16 9:01 AM, Daniel Eischen wrote: >> On Fri, 11 Mar 2016, Slawa Olhovchenkov wrote: >> >>> On Fri, Mar 11, 2016 at 01:05:11PM +0100, Baptiste Daroussin wrote: >>> >>>> On Tue, Mar 08, 2016 at 05:35:59PM +0000, David Chisnall wrote: >>>>> On 8 Mar 2016, at 15:14, Slawa Olhovchenkov wrote: >>>>>> >>>>> >>>>> In terms of comparing packages, if you’re doing that visually then >>>>> you are likely to have problems anyway, unless your eyes and brain >>>>> work far better than most humans. We can make that much easier by >>>>> providing libxo output in pkg and allowing you to have a simple jq >>>>> script that tells you what the differences are. >>>>> >>>> pkg can already expose the entire content of a package in json or ucl >>>> via: >>>> $ pkg info --raw --raw-format [json|json-conpact|yaml|ucl] name >>> >>> Exposing the entire content of a package is not a root of cause. >>> Question in comapring of two different setup with different behaviour >>> and search cause of difference. >>> >>> Case of only a few monolitic packages is essentiality simple then case >>> of 1000 combined packages. >> >> It would be nice to have pkg(8) show packages in tree form, with option >> to show just top-level meta packages or packages that have no meta. >> >> Perhaps this is possible, but it's not obvious to me. >> > > https://github.com/freebsd/pkg/blob/master/scripts/pkg_tree.sh Thank you. Can you publish it as a port? I know there is one written in Perl but I like your sh without dependencies. Miroslav Lachman