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

Update license headers to 2024 #16168

Merged
merged 6 commits into from
Jan 1, 2024
Merged

Conversation

jlaur
Copy link
Contributor

@jlaur jlaur commented Jan 1, 2024

This time performed by mvn license:format after some issues preventing a clean mvn update were fixed last year:

Some headers still had to be manually updated:

  • nibeheatpump (.cpp/.h/.ino extensions not included)
  • smsmodem (openHAB header in 3rdparty directory)
  • hueemulation (openHAB header in non-openHAB namespace)
  • addon-header.xml (regression of Build addon xml #15870 - FYI @J-N-K )

Verification method used:

  • Created a separate branch with a commit of search & replaced license headers
  • Compared the two branches.
  • The other branch had 11798 lines added. This is two less than this one, which is explained by the two lines changed in the first commit.
  • The count of lines removed is different. I manually went through all differences, and they are explained by some headers with excess lines. Two examples below.

Excess line type 1 (after header):

* SPDX-License-Identifier: EPL-2.0
*/
@org.osgi.annotation.bundle.Header(name = org.osgi.framework.Constants.DYNAMICIMPORT_PACKAGE, value = "*")

Excess line type 2 (inside header):

Previous iteration: #14154

jlaur added 2 commits January 1, 2024 16:14
Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
@jlaur jlaur force-pushed the copyright_headers branch from a452d54 to c79f283 Compare January 1, 2024 15:17
jlaur added 4 commits January 1, 2024 16:19
Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
Copy link
Member

@kaikreuzer kaikreuzer left a comment

Choose a reason for hiding this comment

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

Sounds pretty good - thanks for the header updates!

@kaikreuzer kaikreuzer merged commit f4596f5 into openhab:main Jan 1, 2024
2 checks passed
@kaikreuzer kaikreuzer added this to the 4.2 milestone Jan 1, 2024
@jlaur jlaur deleted the copyright_headers branch January 1, 2024 19:56
Cybso pushed a commit to Cybso/openhab-addons that referenced this pull request Jan 5, 2024
* Update copyright year in configuration
* Update license headers
* Manually update nibeheatpump headers (.cpp/.h/.ino)
* Manually update smsmodem header
* Manually update hueemulation header
* Manually update addon-header.xml header

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
austvik pushed a commit to austvik/openhab-addons that referenced this pull request Mar 27, 2024
* Update copyright year in configuration
* Update license headers
* Manually update nibeheatpump headers (.cpp/.h/.ino)
* Manually update smsmodem header
* Manually update hueemulation header
* Manually update addon-header.xml header

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
Signed-off-by: Jørgen Austvik <jaustvik@acm.org>
florian-h05 pushed a commit to florian-h05/openhab-addons that referenced this pull request May 30, 2024
* Update copyright year in configuration
* Update license headers
* Manually update nibeheatpump headers (.cpp/.h/.ino)
* Manually update smsmodem header
* Manually update hueemulation header
* Manually update addon-header.xml header

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>

(cherry picked from commit f4596f5)
joni1993 pushed a commit to joni1993/openhab-addons that referenced this pull request Oct 15, 2024
* Update copyright year in configuration
* Update license headers
* Manually update nibeheatpump headers (.cpp/.h/.ino)
* Manually update smsmodem header
* Manually update hueemulation header
* Manually update addon-header.xml header

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
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