-
Notifications
You must be signed in to change notification settings - Fork 10
Fix copyright header issue #62
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
base: main
Are you sure you want to change the base?
Conversation
License Check Results🚀 The license check job ran with the Bazel command: bazel run //:license-checkStatus: Click to expand output |
|
The created documentation from the pull request is available at: docu-html |
|
Hi @RSingh1511, I originally mentioned the files with BMW header: Those checks were disabled for now until Anton is back as he is the only codeowner that can approve those changes. Could you fix those and re-enable cr check for /score? |
|
Normally with tooling 1.1.0 |
- Add Eclipse Foundation headers to dlt_protocol.h, dlt_types.h, dlt_common.h - Fix duplicate header in i_diagnostic_job_parser.h - Re-enable copyright check for score
arkjedrz
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Rust part is from 2026, issue must be elsewhere.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
is it correct to have both headers same time?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As far as I know it theoretically is acceptable.
I do not remember what the outcome of the discussion was on how to handle this (e.g. Update the Year or do this).
Though my gut tells me just updating the year is correct (if the file has changed)
Copyright year should match when the file was modified (2025), not the current date (2026). This was causing the copyright checker to fail. |
arkjedrz
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Added explicit notes - files first implemented in 2026 couldn't be last modified in 2025.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Implemented in 2026, arguably based on pre-existing file.
https://github.com/eclipse-score/logging/pull/14/changes#diff-6dabbcf7aa08d9c9c3bb8146f54310aa96431a52daebc8f1b4ba6b273cc90401
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
pawelrutkaq
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fix other comments please
Restore 2026 copyright for files implemented in January 2026 |
| * @licence app begin@ | ||
| * SPDX license identifier: MPL-2.0 | ||
| * | ||
| * Copyright (C) 2011-2015, BMW AG |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I did fast check and:
3. Can you relicense MPL-2.0 code as Apache-2.0?
No (in general).
Imho this shall disappear (if you have a rights to do so) or we need eclipse guys or remove code.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for catching this!
@antonkri @rmaddikery - Please advise on handling these MPL-2.0 files
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would also mention that this is Already a problem as this code is in repo
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Right, the MPL-2.0 files were already there. I'll revert my changes to them and keep the copyright check disabled for score/ as it was before.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hey everyone,
my understanding (may be a wrong one) was, that MPL-2.0 license for third code is allowed: https://www.eclipse.org/legal/licenses/ .
So, we are basically reusing third party code from dlt and this one is under MPL license, which is in the approved list of third party licesense.
Do I misunderstand smth.?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ye, I am just saying that probably you cannot have one file under MPL and Apache. But I dont mind if someone knows more, once You fix it feel free to approve ;) I jsut dont know probably ;) @RSingh1511 the check MUST be enabled ASAP - we cannot leave it disabled.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@pawelrutkaq now I get it, thanks!
@RSingh1511 please remove apache license header and keep MPL license for the files, where the code was copied from DLT project. Thanks!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@antonkri @pawelrutkaq - I can't satisfy both requirements:
- MPL-only headers → copyright check fails
- Enable copyright check → needs Apache headers on all
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hey @RSingh1511 ,
as I understand, the cr_checker tools allows to specify exclusions, see eclipse-score/tooling#101
Could you please adapt the workflow to exclude those two dlt files with MPL license from the check?
Thanks!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi @antonkri ,
Implemented! Added copyright_exclusions file. Copyright check now passes with MPL-2.0 files excluded.
Thanks!
c929ba1 to
72dd96d
Compare
Notes for Reviewer
Pre-Review Checklist for the PR Author
Checklist for the PR Reviewer
Post-review Checklist for the PR Author
References
Closes #