Re: [gentoo-portage-dev] [PATCH] config: cache profile.bashrc stat results (bug 649806)

2018-07-15 Thread Brian Dolbec
On Sat, 14 Jul 2018 22:05:55 -0700 Zac Medico wrote: > Optimize config to stat profile.bashrc files once in the constructor, > in order to avoid repeated stat calls in the setcpv method. > > Bug: https://bugs.gentoo.org/649806 > --- > pym/portage/package/ebuild/config.py | 13 - > 1

[gentoo-portage-dev] [PATCH] RepoConfig: fix make.conf PORTDIR override (bug 661276)

2018-07-15 Thread Zac Medico
Pass the main-repo name from repos.conf as the repository name for the PORTDIR RepoConfig constructor, so that it can override the main repo location even if the profiles/repo_name file does not exist yet (like in a stage3 tarball). Bug: https://bugs.gentoo.org/661276 Reported-by: Jorge Manuel B.

Re: [gentoo-portage-dev] [PATCH] portdbapi.cp_list: cache repo associations (bug 650814)

2018-07-15 Thread Zac Medico
On 07/14/2018 09:42 PM, Brian Dolbec wrote: > On Sat, 14 Jul 2018 21:05:39 -0700 > Zac Medico wrote: > >> Make portdbapi.cp_list return _pkg_str instances that have a 'repo' >> attribute (bindbapi.cp_list already does this), with results >> in ascending order by (pkg.version, repo.priority). Opti

Re: [gentoo-portage-dev] [PATCH] config: cache profile.bashrc stat results (bug 649806)

2018-07-15 Thread Zac Medico
On 07/15/2018 07:27 AM, Brian Dolbec wrote: > On Sat, 14 Jul 2018 22:05:55 -0700 > Zac Medico wrote: > >> Optimize config to stat profile.bashrc files once in the constructor, >> in order to avoid repeated stat calls in the setcpv method. >> >> Bug: https://bugs.gentoo.org/649806 >> --- >> pym/p

[gentoo-portage-dev] [PATCH] repoman: populate implicit IUSE for empty profile (bug 660982)

2018-07-15 Thread Zac Medico
For the empty profile that's used to check dependencies of ebuilds that have empty KEYWORDS, populate implicit IUSE from all of the make.defaults files found in the relevant repositories (this should take less than 1 second on most hardware). Since the IUSE.missing check cannot be performed without