Skip to content

Create separate :rat precommit and remove it from others - #6805

Merged
swegner merged 1 commit into
apache:masterfrom
swegner:rat_precommit
Oct 23, 2018
Merged

swegner merged 1 commit into
apache:masterfrom
swegner:rat_precommit

Conversation

@swegner

@swegner swegner commented Oct 23, 2018

Copy link
Copy Markdown
Contributor

Follow this checklist to help us incorporate your contribution quickly and easily:

  • Format the pull request title like [BEAM-XXX] Fixes bug in ApproximateQuantiles, where you replace BEAM-XXX with the appropriate JIRA issue, if applicable. This will automatically link the pull request to the issue.
  • If this contribution is large, please file an Apache Individual Contributor License Agreement.

It will help us expedite review of your Pull Request if you tag someone (e.g. @username) to look at it.

Post-Commit Tests Status (on master branch)

Lang SDK Apex Dataflow Flink Gearpump Samza Spark
Go Build Status --- --- --- --- --- ---
Java Build Status Build Status Build Status Build Status Build Status Build Status Build Status Build Status
Python Build Status --- Build Status
Build Status
Build Status --- --- ---

@swegner

swegner commented Oct 23, 2018

Copy link
Copy Markdown
Contributor Author

As long as we're cleaning up pre-commit jobs, this has also been a pain-point. It's annoying that every task needs to depend on RAT, and that forgetting to add a license can block the rest of your job. This splits it out as it's own top-level pre-commit

R: @kennknowles
CC: @alanmyrvold

@alanmyrvold alanmyrvold left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@swegner
swegner merged commit 5e603ad into apache:master Oct 23, 2018
scope: this,
nameBase: 'RAT',
gradleTask: ':rat')
}

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

job_PreCommit_RAT.groovy: 25: unexpected token: } @ line 25, column 1.
Do you need
builder.build()
instead?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, thanks. I merged this in a hurry and should've run Seed Job first. Fix being tested here: #6814

@swegner

swegner commented Oct 24, 2018

Copy link
Copy Markdown
Contributor Author

Run Seed Job

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants