Re: [gentoo-portage-dev] [PATCH V2 0 of 56] New plug-in sync system

2014-09-29 Thread Brian Dolbec
On Wed, 3 Sep 2014 17:35:40 -0700 Version 2 with all noted things fixed, also the tests pass, and rebased onto the current master as of the travis-ci tests fix commit. Brian Dolbec wrote: > > Most of you know about the plugin-sync branch of our portage.git repo. > I believe it is ready for re

[gentoo-portage-dev] [PATCH 2/3] Add profile-formats to profile_complex

2014-09-29 Thread Bertrand SIMONNET
--- pym/portage/package/ebuild/_config/LocationsManager.py | 10 +++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/pym/portage/package/ebuild/_config/LocationsManager.py b/pym/portage/package/ebuild/_config/LocationsManager.py index 4427f1d..8bf321c 100644 --- a/pym/portage

[gentoo-portage-dev] [PATCH 3/3] package.bashrc: per profile, per-package bashrc mechanism

2014-09-29 Thread Bertrand SIMONNET
Profiles can define per-package bashrc files to be sourced before emerging. Each line in package.bashrc must be an atom name then a list of space-delimited bashrc files (stored in $profile/bashrc/). --- bin/ebuild.sh | 6 ++-- bin/phase-functions.sh

[gentoo-portage-dev] [PATCH 1/3] Refactor bashrc scripts sourcing

2014-09-29 Thread Bertrand SIMONNET
Creates two new helper functions __try_source and __source_env_files to simplify __source_all_bashrcs. --- bin/ebuild.sh | 75 +- bin/save-ebuild-env.sh | 1 + 2 files changed, 51 insertions(+), 25 deletions(-) diff --git a/bin/ebuild.sh b

[gentoo-portage-dev] [PATCH] per package environment: generalize the mechanism to be profile specific

2014-09-29 Thread Bertrand SIMONNET
Hi all, Here is the implementation of package.bashrc, split into three patches: * refactoring of ebuild.sh (same as the refactor earlier in this thread) * adding profile-formats to profile_complex (so that it can be used in ebuild/config.py) * package.bashrc change (including documentation) Let

Re: [gentoo-portage-dev] [PATCH] Implement --read-news (off by default)

2014-09-29 Thread Brian Dolbec
On Mon, 29 Sep 2014 12:23:00 +0200 Alexander Berntsen wrote: > Turn off news-reading by default when --ask, and instead make it an > option --read-news. > > Apparently making --ask a bit more interactive was "goddamn stupid" > and ruined the lives of several Gentoo developers. Props to Michał wh

[gentoo-portage-dev] [PATCH] Support unprivileged mode for bug #433453.

2014-09-29 Thread Zac Medico
>From 313604d52e6764ba360cd938fa6bf480895e793c Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Mon, 29 Sep 2014 11:18:42 -0700 Subject: [PATCH] Support unprivileged mode for bug #433453. This takes the existing unprivileged prefix support and enables it to work when EPREFIX is empty. This "unpriv

[gentoo-portage-dev] [PATCH] Implement --read-news (off by default)

2014-09-29 Thread Alexander Berntsen
Turn off news-reading by default when --ask, and instead make it an option --read-news. Apparently making --ask a bit more interactive was "goddamn stupid" and ruined the lives of several Gentoo developers. Props to Michał who predicted this all along. Signed-off-by: Alexander Berntsen --- man/