Uh oh!
There was an error while loading. Please reload this page.
[BEAM-254] Add apache-rat-plugin execution and fix files with missing… - #297
Conversation
jbonofre
commented
May 6, 2016
R: @davorbonaci |
| @@ -1,3 +1,22 @@ | |||
| <!-- | |||
There was a problem hiding this comment.
Do these comments show up in the github pull request description field?
There was a problem hiding this comment.
No, it's hidden in github (markdown).
swegner
commented
May 6, 2016
According to this example:
Should we have this in a separate profile used by pre/post-commit tests? /cc @kennknowles who was been doing work to optimize build. |
Yes, I can create a dedicated profile for rat. But, I think it makes sense to enable it during the maven-release-plugin execution. |
kennknowles
commented
May 6, 2016
In #286 I created a |
jbonofre
commented
May 6, 2016
Sure, it makes sense. |
jbonofre
commented
May 11, 2016
Rebased and updated according to the comments. |
jbonofre
commented
May 20, 2016
Any comment regarding the latest update ? |
| The functions are generic so it supports join of any types supported by | ||
| Dataflow. Input to the join functions are PCollections of Key/Values. Both the | ||
| Beam. Input to the join functions are PCollections of Key/Values. Both the |
jbonofre
commented
May 21, 2016
I'm updating according to @dhalperi comments. Thanks Dan ! |
jbonofre
commented
May 23, 2016
Rebased and updated. |
davorbonaci
commented
May 23, 2016
Triage: 0.1.0-incubating, release blocking. |
davorbonaci
commented
May 23, 2016
As per in-person discussion, let's remove header enforcement from checkstyle, and run it exclusively through rat on all files, including java. |
5d67cd3 to
cadc8f9Comparejbonofre
commented
May 23, 2016
Updated to use rat for java license header check (and disable checkstyle for that). |
| <excludeSubProjects>false</excludeSubProjects> | ||
| <useDefaultExcludes>true</useDefaultExcludes> | ||
| <excludes> | ||
| <!-- exclude target --> |
There was a problem hiding this comment.
replace all comments with one that says to keep in sync with .gitignore?
There was a problem hiding this comment.
actually, this should be super-set of gitignore.
jbonofre
commented
May 23, 2016
Updated. |
jbonofre
commented
May 23, 2016
Updated fixing test_wordcount.sh comment. |
jbonofre
commented
May 24, 2016
Rat check fails on Jenkins whereas it works on my local copy. I'm checking the Jenkins workspace to identify invalid files. |
davorbonaci
commented
May 24, 2016
@jbonofre, let me know when you get a chance to fix this -- we'd like to take this asap. |
jbonofre
commented
May 24, 2016
I'm on it, Thanks ! |
jbonofre
commented
May 24, 2016
Rebased, and testing rat configuration. |
jbonofre
commented
May 24, 2016
Still failing with: Caused by: org.apache.rat.mp.RatCheckException: Too many files with unapproved license: 3796 See RAT report in: /home/jenkins/jenkins-slave/workspace/beam_PreCommit_MavenVerify/target/parent-0.1.0-incubating-SNAPSHOT.rat I'm checking the content of the rat file. |
jbonofre
commented
May 24, 2016
Updated RAT configuration for Jenkins (as it uses "local" .repository). |
jbonofre
commented
May 24, 2016
Same issue with Kafka on Jenkins, it's not related to the PR. |
dhalperi
commented
May 24, 2016
Do you need to rebase on master? I pushed the fix to Kafka yesterday.
|
jbonofre
commented
May 24, 2016
Sorry, the issue is not on Kafka: it's the javadoc on Flink runner. |
jbonofre
commented
May 24, 2016
By the way, I reproduce the issue locally with: mvn clean install -Prelease |
dhalperi
commented
May 24, 2016
Kenn is looking at the build break. Thanks for the repro jb. On Tue, May 24, 2016 at 08:32 Jean-Baptiste Onofré notifications@github.com
|
kennknowles
commented
May 24, 2016
There are multiple issues:
I actually think the easiest way to solve 2 would be to roll forwards by fixing the errors and silencing the warnings. There are very few actual errors. For now, I will just try to sort out why things are building when they should not be (both 1 & 2). |
dhalperi
commented
May 24, 2016
On Tue, May 24, 2016 at 10:19 AM, Kenn Knowles notifications@github.com
|
jbonofre
commented
May 24, 2016
It makes sense. On the other hand, I fixed javadoc issue in PR #382. FYI, the java8 examples javadoc has to be fixed too (I'm working on it). |
kennknowles
commented
May 24, 2016
On pre vs post testing, I agree that ideally we'd test everything that matters for release in presubmit, but our build is already problematically slow. I think |
davorbonaci
commented
May 31, 2016
Looks like this needs a rebase to re-run the tests, and then I can merge. LGTM |
jbonofre
commented
May 31, 2016
Jenkins failed due to timeout (not related directly to the PR): |
Co-authored-by: gcf-merge-on-green[bot] <60162190+gcf-merge-on-green[bot]@users.noreply.github.com>
Be sure to do all of the following to help us incorporate your contribution
quickly and easily:
[BEAM-<Jira issue #>] Description of pull requestmvn clean verify. (Even better, enableTravis-CI on your fork and ensure the whole test matrix passes).
<Jira issue #>in the title with the actual Jira issuenumber, if there is one.
Individual Contributor License Agreement.
Add apache-rat-plugin execution and fix files with missing license header.