public inbox for gnap-dev@lists.gentoo.org
 help / color / mirror / Atom feed
From: Philipp Riegger <lists@anderedomain.de>
To: gnap-dev@lists.gentoo.org
Subject: Re: [gnap-dev] [RFC] Summer of Code Proposal: GNAP Love
Date: Wed, 26 Mar 2008 14:45:51 +0100	[thread overview]
Message-ID: <1206539151.3183.83.camel@troy.riegger.name> (raw)
In-Reply-To: <1206537543.15053.9.camel@supercoco>


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
it.

> > • (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.

Philipp

-- 
gnap-dev@lists.gentoo.org mailing list



  reply	other threads:[~2008-03-26 13:45 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-03-26 12:57 [gnap-dev] [RFC] Summer of Code Proposal: GNAP Love Philipp Riegger
2008-03-26 13:19 ` josé Alberto Suárez López
2008-03-26 13:45   ` Philipp Riegger [this message]
2008-03-28  9:07 ` Philipp Riegger

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1206539151.3183.83.camel@troy.riegger.name \
    --to=lists@anderedomain.de \
    --cc=gnap-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox