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 EE755200B92 for ; Wed, 24 Aug 2016 03:26:22 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id ED1DA160AAD; Wed, 24 Aug 2016 01:26:22 +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 47C7E160ABF for ; Wed, 24 Aug 2016 03:26:22 +0200 (CEST) Received: (qmail 89856 invoked by uid 500); 24 Aug 2016 01:26:21 -0000 Mailing-List: contact notifications-help@yetus.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@yetus.apache.org Delivered-To: mailing list notifications@yetus.apache.org Received: (qmail 89829 invoked by uid 99); 24 Aug 2016 01:26:21 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 24 Aug 2016 01:26:21 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 253142C015A for ; Wed, 24 Aug 2016 01:26:21 +0000 (UTC) Date: Wed, 24 Aug 2016 01:26:21 +0000 (UTC) From: "Andrew Wang (JIRA)" To: notifications@yetus.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (YETUS-445) Incorporate check_compatibility that runs Java API Compliance Checker MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Wed, 24 Aug 2016 01:26:23 -0000 [ https://issues.apache.org/jira/browse/YETUS-445?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Andrew Wang updated YETUS-445: ------------------------------ Attachment: YETUS-445.003.patch Here's a new rev with some assorted fixes: * Switched from optparse over to argparse * Added filtering on the filename, so you can restrict to e.g. just "hadoop-hdfs*","hadoop-yarn*" if you want. * Added some "skip" flags for debugging, useful if you don't want to rebuild every time I generated a report for Hadoop, but nothing showed up. I suspect the InterfaceAnnotations stuff isn't working properly. I disabled the annotations-list and ran it on Guava, which generated what looks like a correct report. Still debugging what's wrong. > Incorporate check_compatibility that runs Java API Compliance Checker > --------------------------------------------------------------------- > > Key: YETUS-445 > URL: https://issues.apache.org/jira/browse/YETUS-445 > Project: Yetus > Issue Type: New Feature > Affects Versions: 0.3.0 > Reporter: Andrew Wang > Assignee: Andrew Wang > Attachments: YETUS-445.001.patch, YETUS-445.002.patch, YETUS-445.003.patch > > > Kudu has a check_compatibility.py script which runs Java ACC to determine API changes between releases. HBase has a similar script written in bash, and there's also demand for using this in Hadoop. > Rather than having this script in 3 different places, it'd be nice if it was maintained in Yetus instead. We can bring in the Kudu version as a starting point: > https://github.com/apache/kudu/blob/master/build-support/check_compatibility.py -- This message was sent by Atlassian JIRA (v6.3.4#6332)