On Mon, 2006-08-21 at 20:42 +0200, Eric Spakman wrote:
> Hi Natanael,
> >>
> >> Couple of questions, while we're doing the 3.0 flag day, would it be OK
> >>  if we made the package dependancies explicit, not part of the help
> >> file?
> >>
> >> /var/lib/apkg/<packagename>.depend
> >>
> >
> > I have this implemented in apk-tools. Take a look there how it can be
> > implemented and feel free to reuse the code if possible.
> >
> > http://apk-tools.sourceforge.net
> >
> >
> > (use svn version. I have made some progress since latest oficial
> > release)
> >
> Thanks for the heads-up, I will take a look.

You could also just add the .depend files in the apk's (dynamically
created as explained before) and then create a apt-get clone on top of
apkg.

the benefit is you have to add very little code to current apkg (only a
check if deps are installed or if a skip-dependency-check-flag is turned
on) and then let apt-get find the dependencies.

That way you can be backwards compatible and people who don't need/want
the dependency check don't need to have the extra code installed. You
could also add remote fetching and checksum checking.

Just so you have some alternative ideas. 

> 
> <snip>

--
Natanael Copa


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642

_______________________________________________
leaf-devel mailing list
leaf-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/leaf-devel

Reply via email to