Hi Geoffroy,

this has historic reasons. I had this added to yume since the very beginning
of it (with less functionality and old database access method). The packman
integration with yume came later. Now I forward ported it to the new database
access. When things settle down a bit, I'll rewrite it to use packman. The
idea wasn't that we create apt-opkg in parallel, the idea was to have
something which our customers wanted, quickly.

Regards,
Erich

On Wednesday 26 April 2006 19:58, Geoffroy Vallée wrote:
> I like the idea but i have a naive question: why is it yume based? It seems 
> to 
> me that it should be great to have a generic smart-packman-opkg. 
> Smart-packman-opkg gets the list of packages and then call "smart-packman" 
> (which will call yume or apt). 
> Doing that, with the same code, we can use yume for RPM based distros as well 
> as Deb based distro, we just have to port the smart-packman interface on apt.
> 
> With the current implementation, what is the interface to plug apt? Write 
> apt-opkg? duplicating 80% of the yume-opkg code?
> 
> To summarize why do not we try to have a higher level of abstraction? Does it 
> make sense?
> 
> Thanks,
> 
> Le Mercredi 26 Avril 2006 11:46, Erich Focht a écrit :
> > Hi,
> >
> > as promised yesterday, "it will work tomorrow". Luckilly, this was indeed
> > today ;-)
> >
> > Here's the updated version of yume-opkg which works with the OSCAR5
> > database. Actually it has a bit too much functionality, but that can be
> > stripped off.
> >
> > Usage examples:
> >
> > # list selected opkgs (Default group)
> > yume-opkg --list
> >
> > # list rpms belonging to ganglia opkg
> > yume-opkg --list --rpms ganglia
> >
> > # list rpms belonging to ganglia on the oscar_client group nodes
> > yume-opkg --list --rpms --group oscar_client ganglia
> >
> > If you replace --list by --install, it will attmpt to install the packages.
> > If you add --image=PATH_TO_IMAGE it will apply all actions to the chroot
> > image path.
> >
> > In the future, when we get direct access to the database from the clients
> > and OS_Detect working on the clients, yume-opkg will simply work on the
> > clients.
> >
> >
> > Best regards,
> > Erich



-------------------------------------------------------
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&kid0709&bid&3057&dat1642
_______________________________________________
Oscar-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/oscar-devel

Reply via email to