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 E4D13139BC7 for ; Sat, 26 Sep 2015 20:49:16 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 7534121C004; Sat, 26 Sep 2015 20:49:15 +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 18A6721C004 for ; Sat, 26 Sep 2015 20:49:15 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 3D70F340CEE for ; Sat, 26 Sep 2015 20:49:12 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 4260C1FA for ; Sat, 26 Sep 2015 20:49:10 +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: <1443203556.193803975a2cacdb216be099bab47f007a8762de.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: 193803975a2cacdb216be099bab47f007a8762de X-VCS-Branch: master Date: Sat, 26 Sep 2015 20:49:10 +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: 7d5a7f6f-5ccf-4f91-8a79-44a74feaa7d2 X-Archives-Hash: e2e2d67a02b9980d32c3fff8a9c16220 commit: 193803975a2cacdb216be099bab47f007a8762de Author: Brian Dolbec gentoo org> AuthorDate: Fri Sep 25 17:52:36 2015 +0000 Commit: Brian Dolbec gentoo org> CommitDate: Fri Sep 25 17:52:36 2015 +0000 URL: https://gitweb.gentoo.org/proj/portage.git/commit/?id=19380397 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()