[pkg_complete] final report

Julien LAFFAYE jlaffaye at freebsd.org
Mon Aug 16 18:38:29 UTC 2010


Hi,

This week I mostly tested and polished my code.
The project is completed: basically, we can create complete package via the
new pkg_complete(1) utility.
pkg_add(1) can add this new type of package (once installed the packages in
the set appear as they have been
installed separately), pkg_info(1) list the packages in the set if it is a
complete package.

With the switch to libarchive, pkg_add' ing a complete package is even
quicker than pkg_add' ing the main package with
all of its dependencies on the same directory (some crude benchmark showed
3.10s vs. 2.20s).
For regular package, one can also expect a performance boost (25s vs 15s for
emacs for exemple).
The errors such as conflicts, missing dependencies are also catched earlier
as we parse the plist without hitting disk.

Regards,
Julien


More information about the soc-status mailing list