From commits-return-9993-apmail-community-commits-archive=community.apache.org@community.apache.org Sat Aug 3 07:16:15 2019 Return-Path: X-Original-To: apmail-community-commits-archive@minotaur.apache.org Delivered-To: apmail-community-commits-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [207.244.88.153]) by minotaur.apache.org (Postfix) with SMTP id 8A1C51992D for ; Sat, 3 Aug 2019 07:16:15 +0000 (UTC) Received: (qmail 92566 invoked by uid 500); 3 Aug 2019 07:16:14 -0000 Delivered-To: apmail-community-commits-archive@community.apache.org Received: (qmail 92546 invoked by uid 500); 3 Aug 2019 07:16:14 -0000 Mailing-List: contact commits-help@community.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@community.apache.org Delivered-To: mailing list commits@community.apache.org Received: (qmail 92537 invoked by uid 99); 3 Aug 2019 07:16:14 -0000 Received: from Unknown (HELO svn01-us-west.apache.org) (209.188.14.144) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 03 Aug 2019 07:16:14 +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 B39B63A0573 for ; Sat, 3 Aug 2019 07:16:08 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1864310 - /comdev/reporter.apache.org/trunk/site/getjson.py Date: Sat, 03 Aug 2019 07:16:07 -0000 To: commits@community.apache.org From: humbedooh@apache.org X-Mailer: svnmailer-1.0.9 Message-Id: <20190803071608.B39B63A0573@svn01-us-west.apache.org> Author: humbedooh Date: Sat Aug 3 07:16:07 2019 New Revision: 1864310 URL: http://svn.apache.org/viewvc?rev=1864310&view=rev Log: add in kibble data if called with only=... this way we can quickly display it in the wizard Modified: comdev/reporter.apache.org/trunk/site/getjson.py Modified: comdev/reporter.apache.org/trunk/site/getjson.py URL: http://svn.apache.org/viewvc/comdev/reporter.apache.org/trunk/site/getjson.py?rev=1864310&r1=1864309&r2=1864310&view=diff ============================================================================== --- comdev/reporter.apache.org/trunk/site/getjson.py (original) +++ comdev/reporter.apache.org/trunk/site/getjson.py Sat Aug 3 07:16:07 2019 @@ -373,6 +373,14 @@ if re.match(r"^[-a-zA-Z0-9_.]+$", user): allpmcs = [] if anon: mlstats = {} + + # Add in kibble data if called with only= ... + if oproject: + try: + txt = subprocess.check_output(('%s/site/wizard/kibble.py', oproject)) + kibble = json.loads(txt) + except: + pass output = { 'count': count, 'pmcs': groups, @@ -390,6 +398,7 @@ if re.match(r"^[-a-zA-Z0-9_.]+$", user): 'health': health, 'checker': checker, 'you': committers[user], + 'kibble': kibble, } # AFAICT dumps always uses \n for EOL