yetus-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew Wang (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (YETUS-445) Incorporate check_compatibility that runs Java API Compliance Checker
Date Wed, 24 Aug 2016 01:26:21 GMT

     [ 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)

Mime
View raw message