poudriere distfiles - explain the process

Matthew Seaman matthew at freebsd.org
Mon Oct 21 11:02:12 UTC 2013


On 10/21/13 11:39, Lars Engels wrote:
> Maybe that can be written to a sqlite database?
> pkgng already uses them, so poudriere could do the same.
> Add the distfiles on the first run of "distclean" and then update the
> database
> every time "portsnap update" is run. Maybe even better if the database
> was part
> of the ports tree, just like the INDEX files.

pkgng doesn't know anything about distfiles.  By the time pkgng gets
it's claws into a new package it's already been compiled and the whole
question of what distfiles it was compiled from is pretty much moot.

Adding tracking of distfiles to /var/db/pkg/local.sqlite isn't going to
be something we put into pkgng -- it's basically not what pkgng is all
about.

On the other hand, if you want to hack on poudriere to give it more
intelligent distfile tracking capabilities, possibly involving storing
data via sqlite in some other file under /var/db/pkg then I'm sure that
would be received with interest.  (Although maybe not the sqlite part --
poudriere is currently pure shell with minimal dependencies, which is a
good thing.)

	Cheers,

	Matthew




-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 1029 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20131021/31d3ac56/attachment.sig>


More information about the freebsd-ports mailing list