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 EEAC613881D for ; Sat, 26 Sep 2015 20:53:39 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id BF204E080B; Sat, 26 Sep 2015 20:53:38 +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 3107AE083B for ; Sat, 26 Sep 2015 20:53:38 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 453BF340D32 for ; Sat, 26 Sep 2015 20:53:37 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 4B94723A for ; Sat, 26 Sep 2015 20:53:34 +0000 (UTC) From: "Brian Dolbec" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Brian Dolbec" Message-ID: <1443300692.9f978b5c60fe40034ddc4d14abb69238fd60e3c5.dolsen@gentoo> Subject: [gentoo-commits] proj/portage:master commit in: pym/repoman/ X-VCS-Repository: proj/portage X-VCS-Files: pym/repoman/repos.py X-VCS-Directories: pym/repoman/ X-VCS-Committer: dolsen X-VCS-Committer-Name: Brian Dolbec X-VCS-Revision: 9f978b5c60fe40034ddc4d14abb69238fd60e3c5 X-VCS-Branch: master Date: Sat, 26 Sep 2015 20:53:34 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: b5bfd591-6216-4929-968d-eec1fc0bbf49 X-Archives-Hash: 7da924420b4749a4cf787c5adecaa757 commit: 9f978b5c60fe40034ddc4d14abb69238fd60e3c5 Author: Brian Dolbec gentoo org> AuthorDate: Fri Sep 25 17:52:36 2015 +0000 Commit: Brian Dolbec gentoo org> CommitDate: Sat Sep 26 20:51:32 2015 +0000 URL: https://gitweb.gentoo.org/proj/portage.git/commit/?id=9f978b5c repoman/repos.py: Add check that we need commit signing (bug 561474) Side effect of the code splitting, repoman full in a non -vcs repo directory was reporting the inability to sign warning. X-Gentoo-bug: 561474 X-Gentoo-bug-url: https://bugs.gentoo.org/show_bug.cgi?id=561474 Title: repoman: spews useless warning about commit while running 'full' pym/repoman/repos.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pym/repoman/repos.py b/pym/repoman/repos.py index f16bf7a..72e5735 100644 --- a/pym/repoman/repos.py +++ b/pym/repoman/repos.py @@ -60,7 +60,7 @@ class RepoSettings(object): if self.repo_config.allow_provide_virtual: qawarnings.add("virtual.oldstyle") - if self.repo_config.sign_commit: + if self.repo_config.sign_commit and options.mode in ("commit", "fix", "manifest"): if vcs_settings.vcs: func = getattr(self, '_vcs_gpg_%s' % vcs_settings.vcs) func()