FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.

» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Gentoo > Gentoo User

LinkBack Thread Tools
Old 02-23-2012, 07:50 PM
David Lehman
Default beginnings of a new packaging module

This aims to replace backend.py, livecd.py, yuminstall.py, installmethod.py,
and perhaps image.py. It aims to depend, as far as is possible, only on
ksdata for a data store.

There's a lot of work-in-progress stuff still in here, but it is functional
for package/group selection, configuration of repos based on method/repo
cmdline args, and dependency resolution. I haven't tried to install the
package sets with it, but that's not far off.

The basic concept is the notion of to-be-installed software as a payload.
Any payload type may or may not support repositories, groups, packages.
Payload classes must specify little more than an install method, as you
can see in the (completely untested) TarPayload class.

One of the main things I don't like right now is the fuzzy line between
the payload classes and the stuff currently in image.py. I would like to move
all media handling into one place or the other.

Another thing is that the line between the generic ksdata backend data store
and the specifics of each payload class gets a little blurry. As an example,
for YumPayload.repos, which is more useful return value? kickstart Repo
instances or YumRepo instances?

Comments, criticisms, suggestions?

Anaconda-devel-list mailing list

Thread Tools

All times are GMT. The time now is 02:43 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org