public inbox for gentoo-portage-dev@lists.gentoo.org
 help / color / mirror / Atom feed
From: Bertrand Simonnet <bsimonnet@google.com>
To: "Michał Górny" <mgorny@gentoo.org>
Cc: gentoo-portage-dev@lists.gentoo.org
Subject: Re: [gentoo-portage-dev] [PATCH] per package environment: generalize the mechanism to be profile specific
Date: Thu, 18 Sep 2014 10:54:16 -0700	[thread overview]
Message-ID: <CAKQxsKa--wWw_3YGcuHTZQJaCcCStnZXhb5d7n5GLR8yzfKFvQ@mail.gmail.com> (raw)
In-Reply-To: <20140918100250.4543a789@pomiot.lan>

[-- Attachment #1: Type: text/plain, Size: 1068 bytes --]

For my purpose, I think bash scripting would be more useful. I thought
about package.env
in the beginning (see first few messages on this thread) as it would help
us reuse code but
variable setting only will limit what we can do.

If you want package.env, we can implement it too and have both mechanisms
available.

Thanks,
Bertrand

On Thu, Sep 18, 2014 at 1:02 AM, Michał Górny <mgorny@gentoo.org> wrote:

> Dnia 2014-09-17, o godz. 14:57:10
> Bertrand Simonnet <bsimonnet@google.com> napisał(a):
>
> > I'd rather use the env/ mechanism instead of the package.env one as it is
> > more flexible.
>
> It depends on what you aim to do. As portage(5) points out, both have
> their advantages:
>
> - package.env is parsed early, and so allows you override more
>   variables, like FEATURES,
>
> - env/ is used as bashrc extension.
>
> The other difference is that package.env supports any atom syntax that
> the particular EAPI supports, while env/ has hardcoded list of
> possibilities.
>
> --
> Best regards,
> Michał Górny
>

[-- Attachment #2: Type: text/html, Size: 1590 bytes --]

  reply	other threads:[~2014-09-18 17:54 UTC|newest]

Thread overview: 48+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-09-11 11:18 [gentoo-portage-dev] [PATCH] per package environment: generalize the mechanism to be profile specific Bertrand Simonnet
2014-09-11 19:49 ` Zac Medico
2014-09-15 18:42   ` Bertrand Simonnet
2014-09-15 20:40     ` Zac Medico
2014-09-16 18:17       ` Bertrand Simonnet
2014-09-16 19:17         ` Zac Medico
2014-09-16 21:37           ` Bertrand Simonnet
2014-09-16 22:13             ` Zac Medico
2014-09-17  7:14               ` Alexander Berntsen
2014-09-17 18:02                 ` Zac Medico
2014-09-17 18:12                   ` Bertrand Simonnet
2014-09-17 20:36                     ` Zac Medico
2014-09-17 21:28             ` Michał Górny
2014-09-17 21:43               ` Zac Medico
2014-09-17 21:57                 ` Bertrand Simonnet
2014-09-17 23:46                   ` Bertrand Simonnet
2014-09-18  7:40                     ` Alexander Berntsen
2014-09-18  8:02                   ` Michał Górny
2014-09-18 17:54                     ` Bertrand Simonnet [this message]
2014-09-22 16:16                       ` Bertrand Simonnet
2014-09-22 18:16                         ` Zac Medico
2014-09-22 18:24                           ` Zac Medico
2014-09-22 18:43                             ` Bertrand Simonnet
2014-09-23  0:48                               ` Zac Medico
2014-09-23  0:57                                 ` Bertrand Simonnet
2014-09-24 16:05                                   ` Zac Medico
2014-09-26 16:22                                   ` Michał Górny
2014-09-26 16:28                                     ` Zac Medico
2014-09-29 22:31                                       ` Bertrand SIMONNET
2014-09-29 22:31                                         ` [gentoo-portage-dev] [PATCH 1/3] Refactor bashrc scripts sourcing Bertrand SIMONNET
2014-09-29 22:31                                           ` [gentoo-portage-dev] [PATCH 2/3] Add profile-formats to profile_complex Bertrand SIMONNET
2014-09-29 22:31                                             ` [gentoo-portage-dev] [PATCH 3/3] package.bashrc: per profile, per-package bashrc mechanism Bertrand SIMONNET
2014-09-30 22:16                                               ` [gentoo-portage-dev] " Bertrand Simonnet
2014-10-06 17:38                                                 ` Bertrand Simonnet
2014-10-06 18:57                                                   ` Zac Medico
2014-10-06 21:01                                                     ` Brian Dolbec
2014-10-07  0:15                                                       ` Bertrand Simonnet
2014-10-24  2:00                                                       ` Zac Medico
2014-10-24  7:25                                                         ` Alexander Berntsen
2014-10-24 20:57                                                           ` Zac Medico
2014-10-24 22:41                                                             ` Alexander Berntsen
2014-09-30  0:12                                       ` [gentoo-portage-dev] [PATCH] per package environment: generalize the mechanism to be profile specific Bertrand SIMONNET
2014-09-30  0:12                                         ` [gentoo-portage-dev] [PATCH 1/3] Refactor bashrc scripts sourcing Bertrand SIMONNET
2014-09-30  0:12                                           ` [gentoo-portage-dev] [PATCH 2/3] Add profile-formats to profile_complex Bertrand SIMONNET
2014-09-30  0:12                                             ` [gentoo-portage-dev] [PATCH 3/3] package.bashrc: per profile, per-package bashrc mechanism Bertrand SIMONNET
2014-09-30 15:19                                               ` Zac Medico
2014-09-30 16:45                                                 ` [gentoo-portage-dev] [PATCH] " Bertrand SIMONNET
2014-09-30 15:21                                         ` [gentoo-portage-dev] [PATCH] per package environment: generalize the mechanism to be profile specific Zac Medico

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAKQxsKa--wWw_3YGcuHTZQJaCcCStnZXhb5d7n5GLR8yzfKFvQ@mail.gmail.com \
    --to=bsimonnet@google.com \
    --cc=gentoo-portage-dev@lists.gentoo.org \
    --cc=mgorny@gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox