when
the emerge-webrsync --revert option is used to roll
back to a previous snapshot:
emaint revisions --purgerepos="${repo_name}"
Bug: https://bugs.gentoo.org/924772
Signed-off-by: Zac Medico
---
bin/emerge-webrsync | 3 +-
lib/portag
appeared in the
absence of a proper sync operation.
Bug: https://bugs.gentoo.org/924772
Signed-off-by: Zac Medico
---
lib/portage/dbapi/bintree.py | 66 -
lib/portage/tests/sync/test_sync_local.py | 71 +++
2 files changed, 123 insertions(+), 14
org/924772
Signed-off-by: Zac Medico
Zac Medico (2):
Add get_repo_revision_history function and repo_revisions file
bintree: Add REPO_REVISIONS to package index header
bin/emerge-webrsync | 3 +-
lib/portage/const.py | 1 +
lib/por
Change config.environ() check_locale calls to async_check_locale
calls in the EbuildPhase _async_start method in order to eliminate
synchronous waiting for child processes in the main event loop
thread.
Bug: https://bugs.gentoo.org/923841
Signed-off-by: Zac Medico
---
lib/_emerge
Bug: https://bugs.gentoo.org/923841
Signed-off-by: Zac Medico
---
lib/_emerge/EbuildMetadataPhase.py | 17 ++---
1 file changed, 6 insertions(+), 11 deletions(-)
diff --git a/lib/_emerge/EbuildMetadataPhase.py
b/lib/_emerge/EbuildMetadataPhase.py
index 784712e8cb..9fcdabe840 100644
Bug: https://bugs.gentoo.org/924416
Signed-off-by: Zac Medico
---
.github/workflows/ci.yml | 5 -
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 5bffd97206..762999b7cc 100644
--- a/.github/workflows/ci.yml
+++ b/.github
an error
discovered while testing this patch.
Bug: https://bugs.gentoo.org/924319
Fixes: c95fc64abf96 ("EbuildPhase: async_check_locale")
Signed-off-by: Zac Medico
---
lib/portage/_emirrordist/FetchIterator.py | 10 +-
lib/portage/dbapi/porttree.py | 129 +++---
e in order
to prevent issues like bug 924319.
Bug: https://bugs.gentoo.org/924319
Signed-off-by: Zac Medico
---
lib/portage/util/futures/_asyncio/__init__.py | 17 +
1 file changed, 17 insertions(+)
diff --git a/lib/portage/util/futures/_asyncio/__init__.py
b/lib/portage/util/future
self, item_key)
File "lib/portage/cache/mappings.py", line 175, in __getitem__
return self.data[key]
~^
KeyError: 'EAPI'
Bug: https://bugs.gentoo.org/924319
Signed-off-by: Zac Medico
---
lib/portage/
t;)
Signed-off-by: Zac Medico
---
lib/_emerge/MetadataRegen.py | 16 ++--
lib/_emerge/depgraph.py | 11 +++
2 files changed, 25 insertions(+), 2 deletions(-)
diff --git a/lib/_emerge/MetadataRegen.py b/lib/_emerge/MetadataRegen.py
index d29722b94c..538a94b450 100644
be relied upon to set the result of the
deallocate_config future.
Bug: https://bugs.gentoo.org/924319
Signed-off-by: Zac Medico
---
lib/_emerge/EbuildMetadataPhase.py | 36 ++
lib/_emerge/SubProcess.py | 5 -
2 files changed, 40 insertions(+), 1 deletion
unpickling.
Bug: https://bugs.gentoo.org/924319
Signed-off-by: Zac Medico
---
lib/portage/cache/anydbm.py | 17 -
lib/portage/tests/dbapi/test_auxdb.py | 4 +---
2 files changed, 17 insertions(+), 4 deletions(-)
diff --git a/lib/portage/cache/anydbm.py b/lib/portage/cache
an asyncio.Lock instance.
This series can also be reviewed at https://github.com/gentoo/portage/pull/1267.
Bug: https://bugs.gentoo.org/923841
Bug: https://bugs.gentoo.org/924319
Signed-off-by: Zac Medico
Zac Medico (9):
anydbm: Pickle support for multiprocessing spawn
EbuildMetadataPhase: Add
with this deprecation.
Bug: https://bugs.gentoo.org/916566
Signed-off-by: Zac Medico
---
[PATCH v2] Make returnproc return a singlar Process (for
comparison, returnpid never returned a list container more than
a single pid). Also, returnproc explicitly conflicts with the
logfile parameter, since
external consumers of spawn with the returnpid parameter,
so it seems safe to move quickly with this deprecation.
Bug: https://bugs.gentoo.org/916566
Signed-off-by: Zac Medico
---
lib/portage/process.py| 79 +++
lib/portage/tests/process/meson.build
On 1/31/24 04:56, Andreas Fink wrote:
With the move of sys-devel/autoconf to dev-build/autoconf the ebuild
has some inconsistency, namely in the RDEPEND section, it is saying:
RDEPEND="
${BDEPEND}
>=dev-build/autoconf-wrapper-20231224
sys-devel/gnuconfig
commit ba6f1c6fd9b9434bd2c07cf7233ee38cb6ab430a
Author: Brian Harring
AuthorDate: 2023-11-09 20:51:11 -0800
Commit: Zac Medico
CommitDate: 2023-11-09 21:59:23 -0800
net-misc/drive: treeclean
Dead upstream and fully broken since 2023-02 due to google
auth changes
On 11/24/22 19:36, Pin-yen Lin wrote:
Add lru_cache to speed up the running time of "Calculating
dependencies".
In a ChromeOS use case, this patch decreases the running time from
311s to 197s with almost no memory usage increase.
Signed-off-by: Pin-yen Lin
---
lib/_emerge/depgraph.py | 1 +
On 7/24/22 23:17, Fabian Groffen wrote:
On 24-07-2022 13:58:31 -0700, Zac Medico wrote:
On 7/24/22 12:29, Fabian Groffen wrote:
Hi,
Quick question, I noticed that portage uses /bin/bash hardcoded in
shebang of scripts, while it uses /usr/bin/env python for python
executable files
On 7/24/22 12:29, Fabian Groffen wrote:
Hi,
Quick question, I noticed that portage uses /bin/bash hardcoded in
shebang of scripts, while it uses /usr/bin/env python for python
executable files.
Is there anything against using /usr/bin/env bash for shell scripts?
Changing this would help for
On 5/16/22 10:37, Markus Walter wrote:
Hello all,
is it possible to do the following: after fetching a distfile portage runs
an external normaliser program specified in an ebuild before checking the
hash?
My use case is the following: I would like to improve the gs-elpa program
and provide a
Use an instance of multiprocessing.Pipe to propagate mtimedb["ldpath"]
from the MergeProcess child process to the parent process. This fixes
env_update calls to avoid unnecessary regeneration of ld.so.cache in
cases where mtimedb["ldpath"] has not changed since the last call to
env_update.
Bug:
On 3/17/22 10:22, Michał Górny wrote:
Hi, everyone.
You've probably had the opportunity to hear that a lot has changed
in Python packaging since Portage's setup.py was written in 2014. There
were some minor changes to keep it working since but it's time to
reconsider.
Long story short,
Revert the change from bug 828136, since it prevents solving
of some blockers unless --update and --deep are specified as
reported in bug 833014.
Bug: https://bugs.gentoo.org/833014
Reverts: a7289ac0eaaa0d435bf6d9bfb2724a6b39adcbee
Signed-off-by: Zac Medico
---
lib/portage/dep/dep_check.py
On 2/26/22 10:04, Zac Medico wrote:
On 2/23/22 20:14, Matt Turner wrote:
From: "Wolfgang E. Sanyer"
Reviewed-by: Matt Turner
Signed-off-by: Wolfgang E. Sanyer
---
lib/portage/eapi.py | 155
1 file changed, 72 insertions(+), 83
On 2/23/22 20:14, Matt Turner wrote:
From: "Wolfgang E. Sanyer"
Reviewed-by: Matt Turner
Signed-off-by: Wolfgang E. Sanyer
---
lib/portage/eapi.py | 155
1 file changed, 72 insertions(+), 83 deletions(-)
diff --git a/lib/portage/eapi.py
On 1/25/22 08:44, Ulrich Müller wrote:
Commit 3950d76df says: "The http:// compat can be removed once the
Gentoo repository is updated to use https:// everywhere."
Bug: https://bugs.gentoo.org/552720
Signed-off-by: Ulrich Müller
---
repoman/lib/repoman/modules/scan/metadata/pkgmetadata.py |
When copy_file_range copied zero bytes, fall back to sendfile,
so that we don't call copy_file_range in an infinite loop.
Bug: https://bugs.gentoo.org/828844
Tested-by: John Helmert III
Signed-off-by: Zac Medico
---
src/portage_util_file_copy_reflink_linux.c | 7 ---
1 file changed, 4
Place choices that do not pull in new slots into a preferred
choice bin, so that they will not be mixed with choices that
contain unnecessary upgrades. This fixes the included test
case so that an unnecessary new python slot is not pulled in.
Bug: https://bugs.gentoo.org/828136
Signed-off-by: Zac
.
Bug: https://bugs.gentoo.org/687956
Signed-off-by: Zac Medico
---
lib/_emerge/create_depgraph_params.py | 2 +-
man/emerge.1 | 7 ---
2 files changed, 5 insertions(+), 4 deletions(-)
diff --git a/lib/_emerge/create_depgraph_params.py
b/lib/_emerge
On 11/21/21 02:57, Florian Schmaus wrote:
Following the pattern found in other eclasses, add GO_OPTIONAL to the
go-module eclass. This allows to inherit the eclass without pulling
its dependencies. See, e.g., bug #775779 for the motivation.
Signed-off-by: Florian Schmaus
---
On 11/4/21 02:50, Daniel Cordero wrote:
The sysconfdir is for host specific configuration files, and this
example script makes no host specific change (it is not enabled by
default).
Install the script under portage's sharedir, from where administrators
can copy it into sysconfdir, if needed.
On 11/3/21 20:09, Zac Medico wrote:
The lockfile function is expected to raise PermissionDenied if
the (root) parent process holds the lock, so retry in this case.
Bug: https://bugs.gentoo.org/468990
Signed-off-by: Zac Medico
---
bin/ebuild-ipc.py | 11 ++-
1 file changed, 10
/468990
Signed-off-by: Zac Medico
---
bin/ebuild-ipc.py| 6 +++---
bin/phase-functions.sh | 4 ++--
lib/_emerge/AbstractEbuildProcess.py | 4 ++--
lib/_emerge/EbuildIpcDaemon.py | 2 +-
lib/portage/package/ebuild
, can't update Manifest
Bug: https://bugs.gentoo.org/821571
Signed-off-by: Zac Medico
---
lib/portage/package/ebuild/fetch.py | 7 ---
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/lib/portage/package/ebuild/fetch.py
b/lib/portage/package/ebuild/fetch.py
index 8c64362c2
On 7/17/21 12:59 PM, Sergei Trofimovich wrote:
> Initially problem is noticed on gcc-11 as a full ${WORKDIR} syncing
> into /usr/src/debug. It happens because `debug.sources` sometimes
> contains directory. For example on bash-5 it has:
>
> $ grep -zv '/<[^/>]*>$' debug.sources | LANG=C sort
On 6/28/21 2:56 PM, Thymo van Beers wrote:
> Both sys-devel/binutils and sys-devel/gdb are built with system zlib by
> default for some time now. This commit removes the mention of USE=zlib to
> avoid
> confusion.
>
> Signed-off-by: Thymo van Beers
> ---
> man/make.conf.5 | 3 +--
> 1 file
On 6/18/21 8:29 PM, Zac Medico wrote:
> On 6/18/21 8:13 PM, Zac Medico wrote:
>> On 6/18/21 6:01 PM, Zac Medico wrote:
>>> If emerge --depclean fails to resolve any dependencies, then it will
>>> now suggest emerge @unsatisfied-deps as the simplest possible
>>
On 6/18/21 8:13 PM, Zac Medico wrote:
> On 6/18/21 6:01 PM, Zac Medico wrote:
>> If emerge --depclean fails to resolve any dependencies, then it will
>> now suggest emerge @unsatisfied-deps as the simplest possible
>> solution, and will also suggest to unmerge @unavailable
On 6/18/21 6:01 PM, Zac Medico wrote:
> If emerge --depclean fails to resolve any dependencies, then it will
> now suggest emerge @unsatisfied-deps as the simplest possible
> solution, and will also suggest to unmerge @unavailable where
> appropriate at the end:
>
> $
to examine
* the resulting package list carefully:
*
* emerge --ask --unmerge @unavailable
*
Bug: https://bugs.gentoo.org/248026
Signed-off-by: Zac Medico
---
[PATCH v2] Update --depclean message to suggest @unsatisfied-deps
and unmerge @unavailable where appropriate.
cnf/sets
On 5/21/21 8:45 AM, William Hubbs wrote:
> This is an improvement to my previous patch. It is a patch series now
> because there are two separate changes:
>
> - GOPROXY is exported in go-module_set_globals since it is not needed if
> EGO_SUM is not set in the ebuild.
>
> -
On 5/20/21 9:03 AM, William Hubbs wrote:
> On Wed, May 19, 2021 at 01:57:38PM -0700, Zac Medico wrote:
>> On 5/19/21 1:45 PM, Zac Medico wrote:
>>>> +# @FUNCTION: go-module_setup_proxy
>>>> +# @DESCRIPTION:
>>>> +# If your ebuild redefines
On 5/19/21 1:45 PM, Zac Medico wrote:
>> +# @FUNCTION: go-module_setup_proxy
>> +# @DESCRIPTION:
>> +# If your ebuild redefines src_unpack and uses EGO_SUM you need to call
>> +# this function in src_unpack.
>> +# It sets up the go module proxy in the ap
On 5/19/21 12:48 PM, William Hubbs wrote:
> If an ebuild uses EGO_SUM and needs to define a custom src_unpack phase,
> these functions will make that easier.
>
> go-module_setup_proxy is used to create a local file proxy of the
> dependencies listed in EGO_SUM and go-module_filter_proxy is used
On 4/10/21 6:23 PM, Nekun wrote:
> Signed-off-by: Nekun
> ---
> man/ebuild.5 | 20
> 1 file changed, 20 insertions(+)
Thank you! I've merged these and noted it on the bug here:
https://bugs.gentoo.org/698244#c1
Thanks,
Zac
signature.asc
Description: OpenPGP digital
The included unit test case previously failed with this error:
emerge: error: unrecognized arguments: dev-libs/A
Bug: https://bugs.gentoo.org/784566
Signed-off-by: Zac Medico
---
lib/_emerge/main.py | 2 +-
lib/portage/tests/emerge/test_simple.py | 10 +-
2 files
On 4/20/21 5:03 AM, Joakim Tjernlund wrote:
> On Mon, 2021-04-19 at 14:10 -0700, Zac Medico wrote:
>> On 4/19/21 6:36 AM, Joakim Tjernlund wrote:
>>> I got an embedded ppc32 system which I build in a QEMU user chroot and I
>>> cannot
>>> make the profile
On 4/19/21 6:36 AM, Joakim Tjernlund wrote:
> I got an embedded ppc32 system which I build in a QEMU user chroot and I
> cannot
> make the profile-formats = portage-2 profile-bashrcs profile-set in my own
> profiles layout.conf
> work for me.
> Seems like portage just ignores this setting and I
If PORTAGE_LOG_FILTER_FILE_CMD fails after exec, then output
will be lost. Therefore, suggest to use bash as a supervisor,
with fallback to cat.
Bug: https://bugs.gentoo.org/781854
Signed-off-by: Zac Medico
---
man/make.conf.5 | 15 +--
1 file changed, 13 insertions(+), 2 deletions
On 4/4/21 10:54 AM, Nekun wrote:
> Hi all.
>
> Recently, I start working on optional atom specifiers feature in
> userpatch facility: if package directory name starts with percent sign,
> following word threated as a regular Portage atom, e.g
>
On 4/4/21 10:54 AM, Nekun wrote:
> Hi all.
>
> Recently, I start working on optional atom specifiers feature in
> userpatch facility: if package directory name starts with percent sign,
> following word threated as a regular Portage atom, e.g
>
On 3/8/21 11:25 PM, Florian Schmaus wrote:
> With [1: e93e6d65fa1c] atomic_ofstream became a Context Manager. This
> commit transforms three further call sites of atomic_ofstream() to use
> with-statement contexts for easier readability and increased
> robustness against resource leaks.
>
> 1:
On 3/4/21 11:35 AM, Matt Turner wrote:
> Signed-off-by: Matt Turner
> ---
> I've asked Arfrever multiple times if these are still used anywhere, and
> he seemingly has not responded intentionally.
>
> According to https://bugs.gentoo.org/174536#c27 these EAPIs were only
> used in Arfrever's
On 3/4/21 11:24 AM, Matt Turner wrote:
> With no need to support Python 2, we can remove our private
> implementation.
>
> Signed-off-by: Matt Turner
> ---
> I don't know how to test this. I intentionally broke the return value of
> create_subprocess_exec and didn't see any bad results.
>
>
On 3/4/21 11:23 AM, Matt Turner wrote:
> Fixes: 788c0e8bb ("Remove from __future__ import unicode_literals")
> Signed-off-by: Matt Turner
> ---
> bin/egencache | 2 --
> lib/_emerge/Package.py | 9 -
> lib/_emerge/Scheduler.py
We have and ebuild for this package up for grabs:
https://pypi.org/project/backoff/
No open bugs and no reverse dependencies:
https://bugs.gentoo.org/buglist.cgi?quicksearch=python-backoff
--
Thanks,
Zac
signature.asc
Description: OpenPGP digital signature
If --binpkg-respect-use=y is given explicitly, then it implies
--autounmask-use=n, because these options naturally oppose
eachother.
Bug: https://bugs.gentoo.org/773469
Signed-off-by: Zac Medico
---
lib/_emerge/create_depgraph_params.py | 22 ++---
lib/portage/tests
I'd like to begin publishing portage releases on pypi here:
https://pypi.org/project/portage
It won't allow me to create the the project, so I've opened this ticket
to claim it:
https://github.com/pypa/pypi-support/issues/934
--
Thanks,
Zac
signature.asc
Description: OpenPGP digital
dictionary of digests which
is suitable for construction of a DistfileName instance.
Bug: https://bugs.gentoo.org/756778
Signed-off-by: Zac Medico
---
[PATCH v3] changed the value associated with a digest key is a set
of file name, and fixed ContentDB.remove to preserved independent
references to
Signed-off-by: Zac Medico
---
.../_compat_upgrade/binpkg_multi_instance.py | 33 +++
1 file changed, 33 insertions(+)
create mode 100644 lib/portage/_compat_upgrade/binpkg_multi_instance.py
diff --git a/lib/portage/_compat_upgrade/binpkg_multi_instance.py
b/lib/portage
dictionary of digests which
is suitable for construction of a DistfileName instance.
Bug: https://bugs.gentoo.org/756778
Signed-off-by: Zac Medico
---
[PATCH v2] Split out ContentDB class and associate distfile key
with a set of content revisions, where each content revision is
expressed as a dictionary
, the prefix is the hash algorithm name. For filename keys,
the prefix is "filename". The values for digest keys are plain
filenames, and the values for distfile keys are dictionaries
of digests suitable for construction of DistfileName instances.
Bug: https://bugs.gentoo.org/756778
Signed-off-by:
On 2/24/21 2:29 AM, Zac Medico wrote:
> For example, for 3 USE flags, up to 8 combinations will be indexed:
>
> IUSE="a b c installsources splitdebug"
> SRC_URI="
> !a? !b? !c? ( mirror://binhost/24fe6bd377 )
> !a? !b? c? ( mirror://binhost/fbe14cbb02 )
&
On 2/23/21 12:33 PM, Zac Medico wrote:
> On 2/23/21 12:05 PM, Zac Medico wrote:
>> On 2/23/21 11:46 AM, Zac Medico wrote:
>>> On 2/20/21 8:17 PM, Zac Medico wrote:
>>>> IUSE_RUNTIME will obviously introduce conditionals in binary package
>>>> dependencies
On 2/23/21 3:41 PM, Zac Medico wrote:
> Repoman should not report that preserve_old_lib is deprecated,
> since preserve-libs is not covered by PMS.
> This reverts commit 49cbc17bf7b99be586e158c1bd588cfe91dfe58c.
>
> Bug: https://bugs.gentoo.org/480244
> Bug: https://bugs
Repoman should not report that preserve_old_lib is deprecated,
since preserve-libs is not covered by PMS.
This reverts commit 49cbc17bf7b99be586e158c1bd588cfe91dfe58c.
Bug: https://bugs.gentoo.org/480244
Bug: https://bugs.gentoo.org/692486
Signed-off-by: Zac Medico
---
repoman/cnf/linechecks
On 2/23/21 12:05 PM, Zac Medico wrote:
> On 2/23/21 11:46 AM, Zac Medico wrote:
>> On 2/20/21 8:17 PM, Zac Medico wrote:
>>> IUSE_RUNTIME will obviously introduce conditionals in binary package
>>> dependencies, but we should welcome these conditionals because t
On 2/23/21 11:46 AM, Zac Medico wrote:
> On 2/20/21 8:17 PM, Zac Medico wrote:
>> On 2/13/21 4:53 PM, Zac Medico wrote:
>>> On 2/13/21 4:37 PM, Zac Medico wrote:
>>>> On 2/11/21 1:17 AM, Michał Górny wrote:
>>>>> On Wed, 2021-02-10 at 19:51 +0100, Lars
On 2/13/21 5:51 PM, Zac Medico wrote:
> On 2/10/21 11:11 AM, Rich Freeman wrote:
>> On Wed, Feb 10, 2021 at 12:57 PM Andreas K. Hüttel
>> wrote:
>>>
>>> * what portage features are still needed or need improvements (e.g. binpkg
>>> signing and verifi
On 2/20/21 8:17 PM, Zac Medico wrote:
> On 2/13/21 4:53 PM, Zac Medico wrote:
>> On 2/13/21 4:37 PM, Zac Medico wrote:
>>> On 2/11/21 1:17 AM, Michał Górny wrote:
>>>> On Wed, 2021-02-10 at 19:51 +0100, Lars Wendler wrote:
>>>>> On Wed, 10 Fe
the mirror.
3) File integrity data is integrated into the layout itself,
making it very simple to verify the integrity of any file that
it contains. The only tool required is an implementation of
the chosen hash algorithm.
Bug: https://bugs.gentoo.org/756778
Signed-off-by: Zac Medico
---
lib/portage
On 2/13/21 4:53 PM, Zac Medico wrote:
> On 2/13/21 4:37 PM, Zac Medico wrote:
>> On 2/11/21 1:17 AM, Michał Górny wrote:
>>> On Wed, 2021-02-10 at 19:51 +0100, Lars Wendler wrote:
>>>> On Wed, 10 Feb 2021 19:57:48 +0200 Andreas K. Hüttel wrote:
>>>>
>&
Bug: https://bugs.gentoo.org/771549
Signed-off-by: Zac Medico
---
lib/portage/package/ebuild/config.py | 13 ++---
1 file changed, 10 insertions(+), 3 deletions(-)
diff --git a/lib/portage/package/ebuild/config.py
b/lib/portage/package/ebuild/config.py
index e5ec681af..638c72959 100644
--- a/l
On 2/10/21 11:11 AM, Rich Freeman wrote:
> On Wed, Feb 10, 2021 at 12:57 PM Andreas K. Hüttel
> wrote:
>>
>> * what portage features are still needed or need improvements (e.g. binpkg
>> signing and verification)
>> * how should hosting look like
>
> Some ideas for portage enhancements:
>
> 1.
On 2/13/21 4:37 PM, Zac Medico wrote:
> On 2/11/21 1:17 AM, Michał Górny wrote:
>> On Wed, 2021-02-10 at 19:51 +0100, Lars Wendler wrote:
>>> On Wed, 10 Feb 2021 19:57:48 +0200 Andreas K. Hüttel wrote:
>>>
>>>> Hi all,
>>>>
>>>> I'm
On 2/11/21 1:17 AM, Michał Górny wrote:
> On Wed, 2021-02-10 at 19:51 +0100, Lars Wendler wrote:
>> On Wed, 10 Feb 2021 19:57:48 +0200 Andreas K. Hüttel wrote:
>>
>>> Hi all,
>>>
>>> I'm announcing a new project here - "binhost"
>>>
>>> "The Gentoo Binhost project aims to provide readily
On 2/10/21 10:51 AM, Lars Wendler wrote:
> On Wed, 10 Feb 2021 19:57:48 +0200 Andreas K. Hüttel wrote:
>
>> Hi all,
>>
>> I'm announcing a new project here - "binhost"
>>
>> "The Gentoo Binhost project aims to provide readily installable,
>> precompiled packages for a subset of configurations,
Call os.getpid() lazily, which eliminates getpid calls when possible
after os.fork() in the portage.process module.
Bug: https://bugs.gentoo.org/767913
Signed-off-by: Zac Medico
---
lib/portage/__init__.py | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/lib/portage
autounmask, then --autounmask-license=y has no effect.
Bug: https://bugs.gentoo.org/766773
Signed-off-by: Zac Medico
---
lib/_emerge/create_depgraph_params.py | 8 +++---
lib/portage/tests/resolver/test_autounmask.py | 25 +--
man/emerge.1
Since the emaint --fix merges uses emerge --ask, add
a -y, --yes option to use --ask=n instead.
Bug: https://bugs.gentoo.org/766767
Signed-off-by: Zac Medico
---
lib/portage/emaint/modules/merges/__init__.py | 14 --
lib/portage/emaint/modules/merges/merges.py | 11
simply assume that the package
will be deleted by eclean-pkg when its time comes.
Bug: https://bugs.gentoo.org/766012
Signed-off-by: Zac Medico
---
lib/portage/dbapi/bintree.py | 40 ---
lib/portage/emaint/modules/move/move.py | 13 ++--
lib/portage/tests/update
On 1/18/21 8:42 PM, Alec Warner wrote:
> On Mon, Jan 18, 2021 at 8:09 PM Zac Medico wrote:
>>
>> On 1/18/21 6:07 PM, Alec Warner wrote:
>>> On Fri, Jan 15, 2021 at 6:47 PM Matt Turner wrote:
>>>>
>>>> This set is the upgradable packages for which
complete-graph --rebuild-if-new-ver gcc") and spend too much time
>> updating seed stages for no gain beyond updating only packages for whom
>> the subslot has changed.
>>
>> With this set, catalyst will likely use
>>
>> emerge @changed-subslot --ign
On 1/4/21 10:44 AM, Matt Turner wrote:
> ChangeLogs have been gone from gentoo.git since the beginning, and
> Council agreed in 2016 to allow Infra to decide whether to distribute
> them through rsync, which they have decided not to do [1].
>
> [1]
On 1/4/21 1:06 AM, Zac Medico wrote:
> Like asyncio.get_event_loop(), return the running loop for the
> current thread if there is one, and otherwise construct a new
> one if needed. This allows the _safe_loop function to become
> synonymous with the global_event_loop function.
>
Like asyncio.get_event_loop(), return the running loop for the
current thread if there is one, and otherwise construct a new
one if needed. This allows the _safe_loop function to become
synonymous with the global_event_loop function.
Bug: https://bugs.gentoo.org/763339
Signed-off-by: Zac Medico
On 1/2/21 4:08 PM, Matt Turner wrote:
> Allows binpkgs to be deleted if they are not usable due to IUSE changes.
> ---
> Just kind of spitballing. I'm not sure about what USE flags we should
> ignore or whether it should be configurable, etc. On one hand, deleting
> binpkgs that don't have a newly
On 12/31/20 11:47 AM, Matt Turner wrote:
> Since the KEYWORDS=... assignment is a single line, git struggles to
> handle conflicts. When rebasing a series of commits that modify the
> KEYWORDS=... it's usually easier to throw them away and reapply on the
> new tree than it is to manually handle
On 12/28/20 5:09 PM, Zac Medico wrote:
> On 12/28/20 3:15 PM, Matt Turner wrote:
>> +def apply_keyword_changes(ebuild: str, pathname: str,
>> + changes: List[Tuple[Optional[str],
>> + Optional[str]]]) ->
and os.path.isfile(arg) returns True, then simply assume
that the argument is an ebuild.
Bug: https://bugs.gentoo.org/762331
Signed-off-by: Zac Medico
---
[PATCH v2] fix to respect the ignorable_arg function
pym/gentoolkit/ekeyword/ekeyword.py | 9 ++---
1 file changed, 6 insertions(+), 3
-by: Zac Medico
---
pym/gentoolkit/ekeyword/ekeyword.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/pym/gentoolkit/ekeyword/ekeyword.py
b/pym/gentoolkit/ekeyword/ekeyword.py
index 4e57c09..665eee5 100755
--- a/pym/gentoolkit/ekeyword/ekeyword.py
+++ b/pym/gentoolkit
On 12/28/20 3:15 PM, Matt Turner wrote:
> +def apply_keyword_changes(ebuild: str, pathname: str,
> + changes: List[Tuple[Optional[str],
> + Optional[str]]]) -> int:
> +result: int = 0
> +
> +# ekeyword will only modify
On 12/24/20 10:14 AM, Mike Gilbert wrote:
> Signed-off-by: Mike Gilbert
> ---
> src/portage_util_file_copy_reflink_linux.c | 10 +-
> src/portage_util_libc.c| 10 +-
> 2 files changed, 2 insertions(+), 18 deletions(-)
Looks good. Please merge.
--
Thanks,
Zac
On 12/23/20 7:34 PM, Mike Gilbert wrote:
> scanelf may generate output that looks like this:
>
> ```
> UNKNOWN_TYPE;lib/firmware/ath10k/WCN3990/hw1.0/wlanmdsp.mbn;; - ;
> EM_ARM;lib/firmware/mediatek/mt8183/scp.img;; - ;
> ...
> ```
>
> Previously, we removed the first 3 characters of the
On 12/20/20 2:10 PM, Matt Turner wrote:
> gentoolkit supports only Python 3.6+ now, so these are not used.
>
> Signed-off-by: Matt Turner
The whole series LGTM (including "Remove unused sys imports" patch 5/4).
--
Thanks,
Zac
signature.asc
Description: OpenPGP digital signature
(asyncio.new_event_loop())
In order to avoid a ResourceWarning, the caller should also close
the corresponding loop before the current thread terminates.
Bug: https://bugs.gentoo.org/758755
Signed-off-by: Zac Medico
---
[PATCH v4] treat external API consumers the same as interal callers
if they call from
Accidentally encrypted the last email. Here's an unencrypted version.
On 12/6/20 2:14 PM, Zac Medico wrote:
> Make the _safe_loop function return an AsyncioEventLoop instance,
> so that the default asyncio event loop implementation will be used
> in API consumer threads. This is possibl
On 12/6/20 2:14 PM, Zac Medico wrote:
> Make the _safe_loop function return an AsyncioEventLoop instance,
> so that the default asyncio event loop implementation will be used
> in API consumer threads. This is possible because the underlying
> asyncio.get_event_loop() function returns
_run_until_complete method will
now appropriately handle a ValueError from signal.set_wakeup_fd(-1)
if it is not called in the main thread.
Bug: https://bugs.gentoo.org/758755
Signed-off-by: Zac Medico
---
[PATCH v3] fixed AsyncioEventLoop _run_until_complete method to
handle ValueError from
1 - 100 of 3129 matches
Mail list logo