Re: [CFT] packaging the base system with pkg(8)

From: Miroslav Lachman <000.fbsd_at_quip.cz>
Date: Sun, 13 Mar 2016 15:17:05 +0100
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 <slw_at_zxy.spb.ru> 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
Received on Sun Mar 13 2016 - 13:17:16 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:41:03 UTC