From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id C278E138CCF for ; Thu, 14 May 2015 18:43:57 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 233F6E0794; Thu, 14 May 2015 18:43:57 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id AB1B2E078C for ; Thu, 14 May 2015 18:43:56 +0000 (UTC) Received: from big_daddy.dol-sen.ca (S010634bdfa9ecf80.vc.shawcable.net [96.49.31.57]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: dolsen) by smtp.gentoo.org (Postfix) with ESMTPSA id 03665340E24 for ; Thu, 14 May 2015 18:43:55 +0000 (UTC) Date: Thu, 14 May 2015 11:43:53 -0700 From: Brian Dolbec To: gentoo-portage-dev@lists.gentoo.org Subject: Re: [gentoo-portage-dev] [PATCH] config: skip missing profiles/repo_name warning when using layout.conf:repo-name Message-ID: <20150514114353.3c6b1572.dolsen@gentoo.org> In-Reply-To: <1431600642-13750-1-git-send-email-vapier@gentoo.org> References: <1431600642-13750-1-git-send-email-vapier@gentoo.org> Organization: Gentoo Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-portage-dev@lists.gentoo.org Reply-to: gentoo-portage-dev@lists.gentoo.org MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Archives-Salt: 3b1d4c9d-d4d3-4979-bfee-aefa59bdd4d3 X-Archives-Hash: 62d1c794e274aa4b7b52f63795bc80f7 On Thu, 14 May 2015 06:50:42 -0400 Mike Frysinger wrote: > From: Bertrand Simonnet > > The repo name is considered missing if there is no explicit > "repo_name" file. But if it's set in layout.conf via repo-name, we > can skip that. Otherwise we end up with copy & paste spew. > --- > pym/portage/repository/config.py | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/pym/portage/repository/config.py > b/pym/portage/repository/config.py index e44b619..7401b3a 100644 > --- a/pym/portage/repository/config.py > +++ b/pym/portage/repository/config.py > @@ -252,6 +252,7 @@ class RepoConfig(object): > # useful when having two copies of > the same repo enabled # to avoid modifying profiles/repo_name in one > of them self.name = layout_data['repo-name'] > + self.missing_repo_name = False > > for value in ('allow-missing-manifest', > 'allow-provide-virtual', > 'cache-formats', Yeah, merge please Wasn't there a bug for this? If there is pleas add the bug # to the commit message -- Brian Dolbec