Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 26 Mar 2011 10:22:50 +0000
From:      Baptiste Daroussin <baptiste.daroussin@gmail.com>
To:        Marcin Wisnicki <mwisnicki+freebsd@gmail.com>
Cc:        freebsd-ports@freebsd.org
Subject:   Re: [ECFT] pkgng 0.1-alpha1: a replacement for pkg_install
Message-ID:  <AANLkTin9YizZeCUZGjLu78BbQ-FoDdWrvH%2BWT7dLdXKx@mail.gmail.com>
In-Reply-To: <imj6rq$hf$1@dough.gmane.org>
References:  <20110325101111.GA36840@azathoth.lan> <imj6rq$hf$1@dough.gmane.org>

next in thread | previous in thread | raw e-mail | index | archive | help
2011/3/25 Marcin Wisnicki <mwisnicki+freebsd@gmail.com>:
> On Fri, 25 Mar 2011 11:11:11 +0100, Baptiste Daroussin wrote:
>
>> pkgng is a binary package manager written from scratch for FreeBSD.
>>
>
> Fantastic!
>
> I know it is quite too early but I already have one feature request ;)
> Perhaps it could be added to the TODO as a post-1.0 goal.
>
> =3D Generic extraction filters =3D
>
> Allow registration of custom filters that can alter/exclude/add? files
> during package extraction (installation).
>
> Examples of possible filters:
> =A0- strip debug info
> =A0- exclude development files (headers, static libs)
> =A0- exclude unused translations
> =A0- exclude documentation (all or just unknown languages)
> =A0- generic glob/regex path filters
> =A0- optional file groups defined in package (install time OPTIONS) ?
>
> Some sort of configuration mechanism with list of enabled filters and
> their options (like a list of languages to keep).
>
> Most of this can be implemented as a simple glob/regex matching but there
> are edge cases where packages have some non-standard layout or have to
> keep certain file in which case a package metadata should contain a list
> of exclusions/additions from/to above categories.
>
> Package manager should register only actually installed files but list of
> alterations should be also kept somewhere in database.
>
>
> What do you think ?
>
> _______________________________________________
> freebsd-ports@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-ports
> To unsubscribe, send any mail to "freebsd-ports-unsubscribe@freebsd.org"
>

This can still be discussed but I don't really like the idea that
users may alter packages an installation/extraction time, that would
lead to lots of potential buggy installation and report.
If user aren't happy with the packaging, they can poke the maintainer,
send PR, patch etc.

regards,
Bapt



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?AANLkTin9YizZeCUZGjLu78BbQ-FoDdWrvH%2BWT7dLdXKx>