[csw-users] Dependency management
shuttlebox
shuttlebox at gmail.com
Thu Sep 20 10:14:24 CEST 2007
On 9/20/07, shuttlebox <shuttlebox at gmail.com> wrote:
> Is there a reason why we can't follow all dependencies with the
> current technology?
Replying to myself... ;-)
I haven't really looked at it before but it seems that pkg-get must
use the depend file in the actual package to work out the dependencies
(I can't find such info in the catalog or description files). Wouldn't
it be possible to include the top-level dependencies in the catalog
file. That would make it possible to parse all dependencies offline so
to speak.
The first line in the catalog file would go from:
9menu 1.8,REV=2006.05.19 CSW9menu 9menu-1.8,REV=2006.05.19-SunOS5.8-i386-CSW.pkg
.gz 11db5974f3b19b40fdec0d94e66d8552
to:
9menu 1.8,REV=2006.05.19 CSW9menu 9menu-1.8,REV=2006.05.19-SunOS5.8-i386-CSW.pkg
.gz 11db5974f3b19b40fdec0d94e66d8552 common
Even a beast like Gnome doesn't have more than 40 top-level
dependencies so it shouldn't be a space problem.
Phil?
--
/peter
More information about the users
mailing list