Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue 650 872 multi license headers #990

Merged

Conversation

igorbeslic
Copy link
Contributor

Fixes #650
Fixes #872

Copy link
Member

@nedtwigg nedtwigg left a comment

Choose a reason for hiding this comment

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

Great PR! Only needs a few minor tweaks, plus docs + changelog entries. EDIT: I see you have an entry for plugin-gradle/CHANGES, we also need an entry for the root CHANGES.md also.

@igorbeslic
Copy link
Contributor Author

@nedtwigg Would it be fine if I just update this existing PR with commit with changes??
PS. Don't be afraid to point code style problems I'll adopt it. I also come from strict "style and convention tribe". I understand it 💯

@nedtwigg
Copy link
Member

nedtwigg commented Nov 9, 2021

I prefer new commits to reduce review burden :)

Igor Beslic added 7 commits November 9, 2021 22:52
…icense header variant inside one format, names should be unique, if content pattern is not set or there are multiple matches, last licenseHeader wins
…isLicenseHeaderStep method to subclasses to maintain check in one class
…anges text to follow style of previous entries
@igorbeslic igorbeslic force-pushed the ISSUE-650-872-multi-license-headers branch from 6dd24d6 to 8037240 Compare November 9, 2021 21:58
@nedtwigg
Copy link
Member

You've got some spotbugs warnings. You can view locally with spotbugsMain, here's the issue from CI:

https://8354-34685800-gh.circle-artifacts.com/0/lib/build/spotbugs/main.html#NP_NONNULL_RETURN_VIOLATION

@igorbeslic
Copy link
Contributor Author

You've got some spotbugs warnings. You can view locally with spotbugsMain, here's the issue from CI:

https://8354-34685800-gh.circle-artifacts.com/0/lib/build/spotbugs/main.html#NP_NONNULL_RETURN_VIOLATION

:) @nedtwigg thank you for patience - I superficially went through contributing and code_of_conduct - it is cause of glitches you see in my PR

@igorbeslic igorbeslic requested a review from nedtwigg November 14, 2021 10:23
@nedtwigg nedtwigg merged commit db3ae46 into diffplug:main Dec 1, 2021
@nedtwigg
Copy link
Member

nedtwigg commented Dec 1, 2021

Very sorry for the long delay, this is an excellent PR that deserved to be merged and released quicker.

@nedtwigg
Copy link
Member

nedtwigg commented Dec 1, 2021

Published in plugin-gradle/6.0.1.

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.

Support multiple license headers disable license rule for specific file
2 participants