Gentoo Archives: gentoo-portage-dev

From: Jason Stubbs <jstubbs@g.o>
To: gentoo-portage-dev@l.g.o
Subject: [gentoo-portage-dev] Depgraph reworking
Date: Thu, 10 Nov 2005 16:34:05
Message-Id: 200511110134.23270.jstubbs@gentoo.org
1 Going through some of the older bugs, I've started reworking emerge's depgraph
2 code to try and work some of them out. I've attached where I'm at (--pretend
3 works) but am wondering what we should do about big new patches like this. My
4 first instinct would be to say 2.0.55 or 2.1.0 (whatever happens there). What
5 do people think?
6
7 The patch, by the way, is currently in the order of +725,-946. Most of the
8 additions come from copying the graph_display class from 2.1-experimental.
9 The reworking of depgraph so far on its own has turned 467 lines into 207;
10 that's with adding support for utiziling package info from the /var/db/pkg!
11
12 Beyond fixing some of the older bugs, the goal is also to make it all a little
13 easier to understand. Let me know if I'm failing there. ;)
14
15 P.S. Nope, I'm not going to touch circular deps or anything like that here. :P
16
17 P.P.S. While I haven't got everything working yet, times have gone from 1.95
18 to 1.60 seconds on my box here. :)
19
20 --
21 Jason Stubbs

Attachments

File name MIME type
depgraph-partial-reworking.patch text/x-diff