On Wed, 2008-03-26 at 14:19 +0100, josé Alberto Suárez López wrote:
> El mié, 26-03-2008 a las 13:57 +0100, Philipp Riegger escribió:
> > I'm mostly interested in making GNAP usable and my proposal includes
> > lots of tasks in GNAP and catalyst, of which i'd like to finish as many
> > as possible and do some research on the rest.
> > catalyst tasks:
> > • Squashfs snapshot support
> > I don't like it, that it takes so much time to unpack a new snapshot and
> > it takes so much disk space to store it. Plan is: distribute tree
> > snapshots as squashfs images, mount them directly into the workdir,
> > use /mnt/distfiles and /mnt/packages instead of snapshot subdirectories.
> i like this can be usefull, the problem is how mcuh espace you need to
> redistribute all sources we need (not only gnap-core srcs, i mean
> extensions srcs too)
This is all about catalyst. Catalyst takes a tree snapshot (/usr/portage
as .tar.bz2), unpacks it somewhere and bind mounts it to its workdir.
I'd like to get rid of this step, since it takes lots of time and wastes
lots of disk space. I'm interested, what catalyst devs will say about
> > • (Squashfs seedstage support)
> > Maybe the same is possible for stages? A future plan for this could be
> > to mount the squashfs image directly and use unionfs for the real work,
> > but i have no idea how deleting files in such a setup works. Research is
> > necessary here.
> i dont understand it well
Same as above. Has nothing to do with GNAP, only catalyst. Imagine you
want to build a stage2. You rsync stage1 to a workdir and build stage2
there. Therefore you have to unpack the stage1 somewhere and store it
there. I want to get rid of this.
> > • uclibc-cross-compiling support
> > Cross compiling is hard, but it should be possible to build arch-uclibc
> > from arch. Research, what needs to be done combined with the
> > implementation, if possible. This would also make GNAP more flexible.
> this will be one of the biggest features so as you know is hard.
I know, but i already know where to start, since i alredy got in touch
with it last year. I just don't know, how many other problems there will
be on the way.
> > • Documentation
> > In an email from some days ago i read, that documentation is planed for
> > after the release. I could support this and proofread it, since i need
> > the knowledge anyway.
> you mean gnap doc or catalyst doc?
Catalyst, actually, but this could be extended to both.
> > • Cross compiling research
> > • Non-root builds research
> i think that is hard, you dont need root only for catalyst, other GNAP
> operations need to be root.
Why, exactly? There are reasons like "mounting stuff", "creating /dev
files" and others, but maybe we can do that without root...
> > GNAP tasks:
> > • Code/Tree hosting, VCS
> > I've done some work last year and that does only exist as some patches,
> > since there is no central repository for GNAP development. First i'd
> > like to establish one and move all existing resources there.
> yes, what about your google-code testing?
I did not look into it, yet. If i slend half the week, testing it, i
don't have an application for SoC. :-)
> > • GNAP 2.1
> > There are some known and easy to fix bugs in GNAP 2.0. There have also
> > been some code cleanups. The last thing is, that the current GNAP is not
> > really usable, since the tree snapshot is so old, that most of the
> > distfiles are not fetchable from mirrors or other places. So i'd like to
> > make a new release, be it in the tree or in an overlay.
> you are right, but first we need and updated tree
Yes, you're right. Maybe we could use the old tree, only fix security
problems and ship that. Maybe we could package.mask it and use a
development tree, that is only tested for building. Maybe some GNAP user
(there have been some last year) is willing to share his tree and we can
build on that.
I'd like to look into an easy, mostly automated way of creating the
tree, like a bunch of scripts and some documentation. If this is the
only thing i get done, it was worth it. If i only get it started, then
we are closer to being usable than we have before.
> > • Reimplementation in python research
> > Catalyst is written in python, maybe we could make better use of it if
> > we reimplemented some parts of GNAP in python? This is just a research
> > item, i'd like to look into it and form some statement about it. I'll
> > probably not do it.
> i prefer to keep bash
Again, i'll have to look into it. It's only research. There were some
things i did not like in gnap, but i saw no other way to do it in such a
low level language as bash. If i can do the scripts with half or one
third of the lines of code in python, i would do that. If gnap and
catalyst would merge in a way, that catalyst provides the tools and gnap
only very very simple scripts and resources, that would be perfect, but
gnap should not handle overlays, configurations and stuff, it should
just pass them to catalyst. Much easier to do there, i think. But again,
that are my current thoughts.
email@example.com mailing list