Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 1 Sep 2012 22:46:34 +0300
From:      Marin Atanasov Nikolov <dnaeon@gmail.com>
To:        Bryan Drewery <bryan@shatow.net>
Cc:        current@freebsd.org, Eitan Adler <lists@eitanadler.com>, Vitaly Magerya <vmagerya@gmail.com>, freebsd-ports@freebsd.org, Glen Barber <gjb@freebsd.org>
Subject:   Re: Plugins support in pkgng
Message-ID:  <CAJ-UWtTkU2KoRZkiOLhK9P6iwNmvu1C49FKHxtPytqjKuyPz6Q@mail.gmail.com>
In-Reply-To: <50417E48.6010704@shatow.net>
References:  <CAJ-UWtTYL3y0pqfpSWHzYMNjuk2UB2DFyU_Fg8-_%2Bp8eMU_=Fw@mail.gmail.com> <CAL409KyNhF%2BP-CB2yCk=0OcVEVYxLHJ473vpK0A5xgz7SFCnkA@mail.gmail.com> <20120831153659.GD1523@glenbarber.us> <CAL409Ky9BNPFKg8h2xpswVrFdUjxWynq0DhAS2TzrQyiDx9swg@mail.gmail.com> <5040E31D.8060301@shatow.net> <CAF6rxgmyv0qbvF7HsdYK8N0c=R0M2he4KvzcELXQL=PbdqH8-g@mail.gmail.com> <50417E48.6010704@shatow.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, Sep 1, 2012 at 6:17 AM, Bryan Drewery <bryan@shatow.net> wrote:
> On 8/31/2012 10:15 PM, Eitan Adler wrote:
>> On 31 August 2012 09:15, Bryan Drewery <bryan@shatow.net> wrote:
>>
>>> No, because it already knows which you installed and which were pulled
>>> in as dependencies. There's a recent thread on ports@ regarding pkg2ng
>>> and marking your imported packages as automatic or not.
>>
>> There is a usecase for looking at all the leaf ports one by one and
>> deciding if you want to keep them, recursively, regardless of the
>> automatic flag.
>>
>> Even if this isn't provided by default, it would be nice for plugins
>> to be able to do this. :)
>>
>>
>
> Apparently pkg_cutleaves supports pkgng now anyhow.

Hi all,

Support for plugins which provide new commands in pkgng has been committed.

Example plugin which provides a new command can be found below and
used as a template when developing a new plugin:

 - https://github.com/pkgng/pkgng/tree/master/plugins/pkg-plugin-mystats-command

Regards,
Marin

>
> Bryan
>



-- 
Marin Atanasov Nikolov

dnaeon AT gmail DOT com
http://www.unix-heaven.org/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAJ-UWtTkU2KoRZkiOLhK9P6iwNmvu1C49FKHxtPytqjKuyPz6Q>