Gentoo Archives: gentoo-portage-dev

From: Adam Mills <adam@×××××××.info>
To: gentoo-portage-dev@l.g.o
Subject: Re: [gentoo-portage-dev] [PATCH] Colorize packages in user sets (bug 577720)
Date: Mon, 18 Apr 2016 20:15:21
Message-Id: 1461010443.6314.0@smtp.gmail.com
1 Thanks for all the feedback so far. I probably should have just filed
2 the bug
3 and left it at that, but I'm committed now.
4
5 I've done my best to incorporate all of the suggestions here, and
6 submitted a
7 new patch rev 3. I have a few questions about details I'm pretty sure
8 still
9 need improvement:
10
11 1) In order to build the InternalPackageSet only once, I used the
12 _DisplayConfig target_root, instead of using pkg.root in the
13 check_sets
14 method. I'm not sure of the pkg.root purpose, but if there can be
15 different
16 roots, the InternalPackageSet would have to be created for each
17 package.
18 If that's the case, it could be moved to the check_sets method, and
19 created
20 for each package.
21
22 2) I added the new InternalPackageSet as a new member of the
23 _DisplayConfig
24 class. Let me know if there's somewhere more appropriate, especially
25 after
26 the feedback from #1.
27
28 3) Is there a better method available for merging PackageSets?
29
30 Thanks,
31 Adam

Replies