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

Miroslav Lachman 000.fbsd at quip.cz
Sun Mar 13 14:17:16 UTC 2016


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



More information about the freebsd-current mailing list