Gentoo Archives: gentoo-portage-dev

From: Jason Stubbs <jstubbs@g.o>
To: gentoo-portage-dev@l.g.o
Subject: Re: [gentoo-portage-dev] The road ahead...
Date: Sat, 22 Oct 2005 12:25:31
Message-Id: 200510222125.49072.jstubbs@gentoo.org
In Reply to: Re: [gentoo-portage-dev] The road ahead... by Brian Harring
1 On Saturday 22 October 2005 12:30, Brian Harring wrote:
2 > On Sat, Oct 22, 2005 at 12:13:42PM +0900, Jason Stubbs wrote:
3 > > Something like:
4 > > * Add base class(es) for new cache framework
5 > > * Add cache backend for XYZ database
6 > > * Switch portdbapi to the new framework
7 > > * Remove old framework
8 >
9 > eclass_cache.py chunking (portage.py removal)
10 > cache replacement (base + implementations)
11 > portage.py (dbapi), emerge changes (integration of new cache).
12 > removal patch
13 >
14 > That said... would be curious about suggestions on how to do this
15 > sanely. Chunking the beast up (patch jockeying) after the fact I can
16 > do, but in instances like this... it's not easy to chunk it down into
17 > features/tweaks. Basically is big ass blobs of "new stuff",
18 > "conversion to new stuff", "remove old stuff".
19 >
20 > Even with that... still is tricky.
21 >
22 > Offhand, the existing cache patch could be reduced pretty heavily by
23 > breaking it down into addition, and removal of old cache.
24
25 Heh.. You're rambling a bit here. Addition, conversion, removal is pretty much
26 what my list is above. The only difference being that the individual backends
27 are separated out as well.
28
29 The most important thing in the case of this patch-set is that it can be
30 easily seen how the new framework works and how existing code changes to
31 accomodate it. The removal of the old stuff and the reworked backends are
32 really auxillary.
33
34 --
35 Jason Stubbs
36 --
37 gentoo-portage-dev@g.o mailing list

Replies

Subject Author
Re: [gentoo-portage-dev] The road ahead... Brian Harring <ferringb@g.o>