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

From: Nikolai Lifanov <lifanov_at_mail.lifanov.com>
Date: Sun, 13 Mar 2016 11:16:07 -0400
On March 13, 2016 10:17:05 AM EDT, Miroslav Lachman <000.fbsd_at_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 <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
>
>_______________________________________________
>freebsd-current_at_freebsd.org mailing list
>https://lists.freebsd.org/mailman/listinfo/freebsd-current
>To unsubscribe, send any mail to
>"freebsd-current-unsubscribe_at_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
Received on Sun Mar 13 2016 - 14:16:23 UTC

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