Plugins support in pkgng

Marin Atanasov Nikolov dnaeon at gmail.com
Sat Sep 1 19:46:36 UTC 2012


On Sat, Sep 1, 2012 at 6:17 AM, Bryan Drewery <bryan at shatow.net> wrote:
> On 8/31/2012 10:15 PM, Eitan Adler wrote:
>> On 31 August 2012 09:15, Bryan Drewery <bryan at 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/


More information about the freebsd-ports mailing list