Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id B0543200CC7 for ; Sun, 2 Jul 2017 07:59:09 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id A3FD4160BF8; Sun, 2 Jul 2017 05:59:09 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 1C62A160BEA for ; Sun, 2 Jul 2017 07:59:08 +0200 (CEST) Received: (qmail 39853 invoked by uid 500); 2 Jul 2017 05:59:08 -0000 Mailing-List: contact commits-help@subversion.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@subversion.apache.org Delivered-To: mailing list commits@subversion.apache.org Received: (qmail 39843 invoked by uid 99); 2 Jul 2017 05:59:07 -0000 Received: from Unknown (HELO svn01-us-west.apache.org) (209.188.14.144) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 02 Jul 2017 05:59:07 +0000 Received: from svn01-us-west.apache.org (localhost [127.0.0.1]) by svn01-us-west.apache.org (ASF Mail Server at svn01-us-west.apache.org) with ESMTP id E7DA03A00E6 for ; Sun, 2 Jul 2017 05:59:06 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1800547 - /subversion/trunk/tools/dist/release.py Date: Sun, 02 Jul 2017 05:59:04 -0000 To: commits@subversion.apache.org From: danielsh@apache.org X-Mailer: svnmailer-1.0.9 Message-Id: <20170702055906.E7DA03A00E6@svn01-us-west.apache.org> archived-at: Sun, 02 Jul 2017 05:59:09 -0000 Author: danielsh Date: Sun Jul 2 05:59:04 2017 New Revision: 1800547 URL: http://svn.apache.org/viewvc?rev=1800547&view=rev Log: release.py: Revert r934990. * tools/dist/release.py (get_siginfo): Follow best practice: Don't ignore arbitrary warnings. Modified: subversion/trunk/tools/dist/release.py Modified: subversion/trunk/tools/dist/release.py URL: http://svn.apache.org/viewvc/subversion/trunk/tools/dist/release.py?rev=1800547&r1=1800546&r2=1800547&view=diff ============================================================================== --- subversion/trunk/tools/dist/release.py (original) +++ subversion/trunk/tools/dist/release.py Sun Jul 2 05:59:04 2017 @@ -875,8 +875,14 @@ def get_siginfo(args, quiet=False): stderr=subprocess.STDOUT, ) - gpg_output = "\n".join([ l for l in gpg_output.splitlines() - if l[0:7] != 'Warning' ]) + # This code was added in r934990, but there was no comment (nor log + # message text) explaining its purpose. I've commented it out since + # ignoring arbitrary warnings in a verification codepath is Bad. If + # you run into warnings on your machine, feel free to uncomment it, + # but when you do so please make it match specific warnings only. + # + #gpg_output = "\n".join([ l for l in gpg_output.splitlines() + # if l[0:7] != 'Warning' ]) match = fp_pattern.match(gpg_output) format_expandos = dict(