From owner-freebsd-pkgbase@freebsd.org Sun Mar 13 15:16:23 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 A5602ACE37F; Sun, 13 Mar 2016 15:16:23 +0000 (UTC) (envelope-from lifanov@mail.lifanov.com) Received: from mail.lifanov.com (mail.lifanov.com [206.125.175.12]) (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 91D5B663; Sun, 13 Mar 2016 15:16:23 +0000 (UTC) (envelope-from lifanov@mail.lifanov.com) Received: by mail.lifanov.com (Postfix, from userid 58) id B171E239740; Sun, 13 Mar 2016 11:16:17 -0400 (EDT) X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on mail.lifanov.com X-Spam-Level: X-Spam-Status: No, score=-1.0 required=5.0 tests=ALL_TRUSTED,SHORTCIRCUIT, URIBL_BLOCKED shortcircuit=ham autolearn=disabled version=3.4.1 Received: from [10.100.100.58] (unknown [107.15.95.58]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.lifanov.com (Postfix) with ESMTPSA id 3151A239424; Sun, 13 Mar 2016 11:16:11 -0400 (EDT) User-Agent: K-9 Mail for Android In-Reply-To: <56E57661.2060601@quip.cz> 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> <56E57661.2060601@quip.cz> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset=UTF-8 Subject: Re: [CFT] packaging the base system with pkg(8) From: Nikolai Lifanov Date: Sun, 13 Mar 2016 11:16:07 -0400 To: freebsd-pkgbase@freebsd.org CC: freebsd-current@freebsd.org Message-ID: <5773D1BC-1992-4A0B-8656-47A63707FE81@mail.lifanov.com> 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: Sun, 13 Mar 2016 15:16:23 -0000 On March 13, 2016 10:17:05 AM EDT, Miroslav Lachman <000.fbsd@quip.cz> wrote: >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 > >_______________________________________________ >freebsd-current@freebsd.org mailing list >https://lists.freebsd.org/mailman/listinfo/freebsd-current >To unsubscribe, send any mail to >"freebsd-current-unsubscribe@freebsd.org" In my opinion, if this script is to land in ports, it should go under share/doc or share/examples for ports-mgmt/pkg. - Nikolai Lifanov