Gentoo Archives: gentoo-portage-dev

From: Brian Dolbec <dolsen@g.o>
To: gentoo-portage-dev@l.g.o
Subject: Re: [gentoo-portage-dev] [PATCH] config: skip missing profiles/repo_name warning when using layout.conf:repo-name
Date: Thu, 14 May 2015 18:43:57
Message-Id: 20150514114353.3c6b1572.dolsen@gentoo.org
In Reply to: [gentoo-portage-dev] [PATCH] config: skip missing profiles/repo_name warning when using layout.conf:repo-name by Mike Frysinger
1 On Thu, 14 May 2015 06:50:42 -0400
2 Mike Frysinger <vapier@g.o> wrote:
3
4 > From: Bertrand Simonnet <bsimonnet@××××××××.org>
5 >
6 > The repo name is considered missing if there is no explicit
7 > "repo_name" file. But if it's set in layout.conf via repo-name, we
8 > can skip that. Otherwise we end up with copy & paste spew.
9 > ---
10 > pym/portage/repository/config.py | 1 +
11 > 1 file changed, 1 insertion(+)
12 >
13 > diff --git a/pym/portage/repository/config.py
14 > b/pym/portage/repository/config.py index e44b619..7401b3a 100644
15 > --- a/pym/portage/repository/config.py
16 > +++ b/pym/portage/repository/config.py
17 > @@ -252,6 +252,7 @@ class RepoConfig(object):
18 > # useful when having two copies of
19 > the same repo enabled # to avoid modifying profiles/repo_name in one
20 > of them self.name = layout_data['repo-name']
21 > + self.missing_repo_name = False
22 >
23 > for value in ('allow-missing-manifest',
24 > 'allow-provide-virtual',
25 > 'cache-formats',
26
27 Yeah, merge please
28
29 Wasn't there a bug for this? If there is pleas add the bug # to the
30 commit message
31 --
32 Brian Dolbec <dolsen>

Replies