Re: [gentoo-portage-dev] [PATCH 1/3] Add cached portage.getpid() function

2020-08-07 Thread Michał Górny
On Fri, 2020-08-07 at 21:08 -0700, Zac Medico wrote: > Since getpid is a syscall, cache results, and update them > via an after fork hook. > > Signed-off-by: Zac Medico > --- > lib/portage/__init__.py | 14 +++ > .../tests/process/test_AsyncFunction.py | 24

[gentoo-portage-dev] [PATCH 0/3] sqlite: fork safety (bug 736334)

2020-08-07 Thread Zac Medico
Use a separate connection instance for each pid, since it is not safe to use a connection created in a parent process. See: https://www.sqlite.org/howtocorrupt.html Bug: https://bugs.gentoo.org/736334 Zac Medico (3): Add cached portage.getpid() function sqlite: add lazy connection init

[gentoo-portage-dev] [PATCH 3/3] sqlite: fork safety (bug 736334)

2020-08-07 Thread Zac Medico
Use a separate connection instance for each pid, since it is not safe to use a connection created in a parent process. See: https://www.sqlite.org/howtocorrupt.html Bug: https://bugs.gentoo.org/736334 Signed-off-by: Zac Medico --- lib/portage/cache/sqlite.py | 9 +

[gentoo-portage-dev] [PATCH 1/3] Add cached portage.getpid() function

2020-08-07 Thread Zac Medico
Since getpid is a syscall, cache results, and update them via an after fork hook. Signed-off-by: Zac Medico --- lib/portage/__init__.py | 14 +++ .../tests/process/test_AsyncFunction.py | 24 +++ 2 files changed, 38 insertions(+) diff --git

[gentoo-portage-dev] [PATCH 2/3] sqlite: add lazy connection init

2020-08-07 Thread Zac Medico
Signed-off-by: Zac Medico --- lib/portage/cache/sqlite.py | 29 - 1 file changed, 24 insertions(+), 5 deletions(-) diff --git a/lib/portage/cache/sqlite.py b/lib/portage/cache/sqlite.py index 55ae8f0e5..0395dd516 100644 --- a/lib/portage/cache/sqlite.py +++

Re: [gentoo-dev] xorg-x11 RDEPEND changes without revisions

2020-08-07 Thread Sergei Trofimovich
On Fri, 07 Aug 2020 21:45:48 +0200 Michał Górny wrote: > But I suppose being sarcastic is the new norm and should be documented as > such. I am not sarcastic if it was your implication. -- Sergei

Re: [gentoo-dev] xorg-x11 RDEPEND changes without revisions

2020-08-07 Thread Matt Turner
On Fri, Aug 7, 2020 at 11:25 AM Michael Orlitzky wrote: > I have too many other things to do to waste time reverse-engineering > these fuck-ups. Get it together. You're fucking welcome for all the X11 maintenance.

Re: [gentoo-portage-dev] [PATCH] lib/*: Fix useless-return

2020-08-07 Thread Zac Medico
On 8/7/20 12:06 PM, Aaron Bauman wrote: > * Python implies such things. Let's drop 'em and be consistent. > > Signed-off-by: Aaron Bauman > --- > lib/_emerge/EbuildPhase.py | 6 +++--- > lib/_emerge/resolver/output.py | 5 + > lib/portage/elog/mod_custom.py | 1 + >

Re: [gentoo-dev] xorg-x11 RDEPEND changes without revisions

2020-08-07 Thread Marc Joliet
Am Freitag, 7. August 2020, 20:43:22 CEST schrieb Toralf Förster: > On 8/7/20 8:25 PM, Michael Orlitzky wrote: > > I have too many other things to do to waste time reverse-engineering > > these fuck-ups. Get it together. > > I'm just curious if you refer to commit d8c442ba8 - b/c that was made by

Re: [gentoo-dev] xorg-x11 RDEPEND changes without revisions

2020-08-07 Thread Michał Górny
On Fri, 2020-08-07 at 20:03 +0100, Sergei Trofimovich wrote: > On Fri, 7 Aug 2020 14:25:04 -0400 > Michael Orlitzky wrote: > > > When you ignore the devmanual and the pkgcheck warning and the 10+ > > threads I've started about the issue, and make changes like... > > > > ---

[gentoo-portage-dev] [PATCH] lib/*: Fix useless-return

2020-08-07 Thread Aaron Bauman
* Python implies such things. Let's drop 'em and be consistent. Signed-off-by: Aaron Bauman --- lib/_emerge/EbuildPhase.py | 6 +++--- lib/_emerge/resolver/output.py | 5 + lib/portage/elog/mod_custom.py | 1 + lib/portage/elog/mod_echo.py | 4 ++-- lib/portage/elog/mod_mail.py | 2

Re: [gentoo-dev] xorg-x11 RDEPEND changes without revisions

2020-08-07 Thread Sergei Trofimovich
On Fri, 7 Aug 2020 14:25:04 -0400 Michael Orlitzky wrote: > When you ignore the devmanual and the pkgcheck warning and the 10+ > threads I've started about the issue, and make changes like... > > --- a/x11-base/xorg-x11/xorg-x11-7.4-r3.ebuild > +++ b/x11-base/xorg-x11/xorg-x11-7.4-r3.ebuild

Re: [gentoo-portage-dev] [PATCH] lib/*: Fix useless-return

2020-08-07 Thread Aaron Bauman
On Fri, Aug 07, 2020 at 12:28:04PM -0400, Aaron Bauman wrote: > * Python implies such things. Let's drop 'em and be consistent. > > Signed-off-by: Aaron Bauman > --- > "\\" | 20 > lib/_emerge/EbuildPhase.py | 6 +++--- >

Re: [gentoo-dev] xorg-x11 RDEPEND changes without revisions

2020-08-07 Thread Michael Orlitzky
On 2020-08-07 14:43, Toralf Förster wrote: > On 8/7/20 8:25 PM, Michael Orlitzky wrote: >> >> I have too many other things to do to waste time reverse-engineering >> these fuck-ups. Get it together. > > I'm just curious if you refer to commit d8c442ba8 - b/c that was made by > someone at Wed Oct

Re: [gentoo-dev] xorg-x11 RDEPEND changes without revisions

2020-08-07 Thread Mike Gilbert
On Fri, Aug 7, 2020 at 2:43 PM Toralf Förster wrote: > > On 8/7/20 8:25 PM, Michael Orlitzky wrote: > > > > I have too many other things to do to waste time reverse-engineering > > these fuck-ups. Get it together. > > I'm just curious if you refer to commit d8c442ba8 - b/c that was made by >

Re: [gentoo-dev] xorg-x11 RDEPEND changes without revisions

2020-08-07 Thread Toralf Förster
On 8/7/20 8:25 PM, Michael Orlitzky wrote: > > I have too many other things to do to waste time reverse-engineering > these fuck-ups. Get it together. I'm just curious if you refer to commit d8c442ba8 - b/c that was made by someone at Wed Oct 16 19:41:02 2019 + and I do wonder why nobody

[gentoo-dev] xorg-x11 RDEPEND changes without revisions

2020-08-07 Thread Michael Orlitzky
When you ignore the devmanual and the pkgcheck warning and the 10+ threads I've started about the issue, and make changes like... --- a/x11-base/xorg-x11/xorg-x11-7.4-r3.ebuild +++ b/x11-base/xorg-x11/xorg-x11-7.4-r3.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2018 Gentoo Foundation +#

Re: [gentoo-portage-dev] [PATCH] lib/*: Fix useless-return

2020-08-07 Thread Michał Górny
On Fri, 2020-08-07 at 12:28 -0400, Aaron Bauman wrote: > * Python implies such things. Let's drop 'em and be consistent. > > Signed-off-by: Aaron Bauman > --- > "\\" | 20 > lib/_emerge/EbuildPhase.py | 6 +++--- >

[gentoo-portage-dev] [PATCH] lib/*: Fix useless-return

2020-08-07 Thread Aaron Bauman
* Python implies such things. Let's drop 'em and be consistent. Signed-off-by: Aaron Bauman --- "\\" | 20 lib/_emerge/EbuildPhase.py | 6 +++--- lib/_emerge/resolver/output.py | 5 - lib/portage/elog/mod_custom.py | 1 -

Re: [gentoo-dev] News item v2: Multiple root kernel command-line arguments

2020-08-07 Thread Jason A. Donenfeld
This really should have a Display-If.

[gentoo-dev] Last rites: app-i18n/sunpinyin & revdeps

2020-08-07 Thread Michał Górny
# Michał Górny (2020-08-07) # Last upstream (pre-)release in 2016. Python 3 porting effort is not # progressing since February, and PRs are stuck. Homepage is gone. # Removal in 30 days. Bug #695010. app-i18n/fcitx-sunpinyin app-i18n/ibus-sunpinyin app-i18n/scim-sunpinyin app-i18n/sunpinyin