public inbox for gentoo-portage-dev@lists.gentoo.org
 help / color / mirror / Atom feed
From: Brian Harring <ferringb@gentoo.org>
To: gentoo-portage-dev@lists.gentoo.org
Subject: Re: [gentoo-portage-dev] Next major version
Date: Sat, 13 Aug 2005 12:53:28 -0500	[thread overview]
Message-ID: <20050813175328.GE10438@nightcrawler> (raw)
In-Reply-To: <1123862674.23755.44.camel@localhost>

[-- Attachment #1: Type: text/plain, Size: 2529 bytes --]

On Fri, Aug 12, 2005 at 12:04:34PM -0400, Kristian Benoit wrote:
> I remember, when I started using Gentoo, reading that portage is a stand
> alone tool, it is not bind into Gentoo in anyway, someone could use it
> on redhat, debian, lfs...
Nice intention, but impossible with stable/alpha code- the 
abstractions are missing.  No config abstractions, but more 
importantly no format abstractions; no true package object.

> Back then I was using lfs so I thought portage could be the way to go on
> lfs, but I realized that Gentoo fit my needs and I did'nt have to
> compile everything by hand anymore and still have everything compiled by
> my machines :) OH JOY !!!
Heh, came via the route I did...

> But 5 years or so later, the only official place to get portage releases
> is still in the gentoo mirrors. There is no RSS feed or anything like
> that. I still believe that portage has the potential to be so powerful
> that redhat, debian, ... could be building their packages using portage,
> managing their own tree, having night build.
> 
> The problem is see, is that the initial portage vision (or perhaps my
> initial vision, a vision I still have) has not been carried along with
> it's developpement.
The vision got blocked by the implementation.  Try busting all of the 
globals out of portage, then abstracting all ebuild specific actions 
(doebuild) behind package apis, so that different formats can be 
swapped on the fly.  Hell, binding dbapi and *tree classes together 
into one, and having them properly inherited from a base is required, 
rather then lots of duplicated code.

From there, how do you represent the *depends of a package, so that 
the resolver can be reused across different configurations of package 
format (this box being rpm, that being ebuild fex); need to break it 
down into restrictions, handing the actual depends matching off to 
repositories, with the resolver shifting sets of returned 
packages/restrictions around to build up a graph.
 
Either way, look at 
gentoo-src/portage/portage and 
gentoo-src/portage/rewrite-misc

Work is underway, help is needed, jump in and start digging :)
The design *should* allow for lots of crazy crap, although anyone who 
sees a flaw please speak up now :)

> Having an official web site, doc, ... will help getting visibility and
> effort from the rest of the world thus we'll have better tools and
> eventually extend portage beyond Gentoo.
API for tools, a *sane* api moreso :)

~harring

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

  parent reply	other threads:[~2005-08-13 17:53 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-08-10 19:01 [gentoo-portage-dev] Next major version Kristian Benoit
2005-08-10 19:22 ` Alec Joseph Warner
2005-08-11 17:51   ` Christopher Korn
2005-08-11 18:19     ` Alec Warner
2005-08-11 21:36       ` Christopher Korn
     [not found]       ` <20050811233457.5ec9b4d7.chris@chkorn.de>
     [not found]         ` <42FBF831.5000201@egr.msu.edu>
2005-08-12  4:52           ` Christopher Korn
2005-08-12 16:04       ` Kristian Benoit
2005-08-12 18:48         ` warnera6
2005-08-12 20:41           ` Kristian Benoit
2005-08-12 22:12             ` Marius Mauch
2005-08-13 17:53         ` Brian Harring [this message]
2005-08-12 16:52       ` Kristian Benoit

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=20050813175328.GE10438@nightcrawler \
    --to=ferringb@gentoo.org \
    --cc=gentoo-portage-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