From owner-freebsd-pkgbase@freebsd.org Fri Mar 11 17:08:10 2016 Return-Path: Delivered-To: freebsd-pkgbase@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 5B181ACCE4A; Fri, 11 Mar 2016 17:08:10 +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 968D6254; Fri, 11 Mar 2016 17:08:09 +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 u2BH1YVv038311; Fri, 11 Mar 2016 12:01:35 -0500 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]); Fri, 11 Mar 2016 12:01:35 -0500 (EST) Date: Fri, 11 Mar 2016 12:01:34 -0500 (EST) From: Daniel Eischen X-X-Sender: eischen@sea.ntplx.net Reply-To: Daniel Eischen To: Slawa Olhovchenkov 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) In-Reply-To: <20160311131055.GO70809@zxy.spb.ru> 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> 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-pkgbase@freebsd.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Packaging the FreeBSD base system." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 11 Mar 2016 17:08:10 -0000 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 t= hen 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 li= bxo output in pkg and allowing you to have a simple jq script that tells yo= u what the differences are. >>> >> pkg can already expose the entire content of a package in json or ucl vi= a: >> $ 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. --=20 DE From owner-freebsd-pkgbase@freebsd.org Fri Mar 11 17:20:27 2016 Return-Path: Delivered-To: freebsd-pkgbase@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 0159FACB549; Fri, 11 Mar 2016 17:20:27 +0000 (UTC) (envelope-from slw@zxy.spb.ru) Received: from zxy.spb.ru (zxy.spb.ru [195.70.199.98]) (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 AF918E1B; Fri, 11 Mar 2016 17:20:26 +0000 (UTC) (envelope-from slw@zxy.spb.ru) Received: from slw by zxy.spb.ru with local (Exim 4.86 (FreeBSD)) (envelope-from ) id 1aeQjf-000Hqr-1t; Fri, 11 Mar 2016 20:20:23 +0300 Date: Fri, 11 Mar 2016 20:20:23 +0300 From: Slawa Olhovchenkov To: 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) Message-ID: <20160311172022.GS70809@zxy.spb.ru> 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> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: Mutt/1.5.24 (2015-08-30) X-SA-Exim-Connect-IP: X-SA-Exim-Mail-From: slw@zxy.spb.ru X-SA-Exim-Scanned: No (on zxy.spb.ru); SAEximRunCond expanded to false X-BeenThere: freebsd-pkgbase@freebsd.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Packaging the FreeBSD base system." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 11 Mar 2016 17:20:27 -0000 On Fri, Mar 11, 2016 at 12:01:34PM -0500, 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. Meta-package can have variable contens, this is not assist for this case (I am regulary do check/unchek options for apache/nginx/php-modules for not-default configurations).