Gentoo Archives: gentoo-soc

From: Brian Dolbec <dolsen@g.o>
To: gentoo-soc@l.g.o
Subject: Re: [gentoo-soc] Last Compiled Info in Porthole
Date: Mon, 08 Apr 2019 22:32:39
Message-Id: 20190408153242.3310fc57@professor-x
In Reply to: [gentoo-soc] Last Compiled Info in Porthole by Ethan Kiang
1 On Mon, 8 Apr 2019 16:13:35 -0400
2 Ethan Kiang <chocopuff298@×××××.com> wrote:
3
4 > Hi!
5 >
6 > Attached in this email is a patch that I made which adds the "Last
7 > compiled time" information for a package. I have also attached a
8 > screenshot which shows it in action. This is merely a proof of
9 > concept and is not intended to be used, especially since I recycled
10 > Portage parsing code from a previous Portage project of mine and
11 > ideally, it would be implemented with the new Portage API during the
12 > update.
13 >
14 > Best,
15 > Ethan Kiang
16
17 It looks good. :)
18
19 Yeah, there are already similar lib functions in portagelib.py which
20 could be re-used. I have also started work on creating a more universal
21 "official" portage API based from portagelib.py and pkcorelib.py to
22 make available much of the information porthole uses and subsequently
23 any other utility app may require. You can check it out in the api
24 branch of the portage git repo.
25
26 Thank you
27 Brian