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

scripts.set_copyright_year: Add a CI check to ensure the copyright is updated #344

Open
wants to merge 10 commits into
base: develop
Choose a base branch
from

Conversation

Frosty2500
Copy link
Contributor

@Frosty2500 Frosty2500 commented Nov 27, 2024

Currently we do not check if every copyright is up to date.
Now the ci pipeline will fail if the copyright is not up to date in some files.

Fixes #260
Fixes #331

etc/scripts/set_copyright_year.sh Show resolved Hide resolved
sdk/basyx/aas/adapter/_generic.py Outdated Show resolved Hide resolved
Copy link
Contributor

@s-heppner s-heppner left a comment

Choose a reason for hiding this comment

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

Other than that minor comment, it lgtm.

etc/scripts/set_copyright_year.sh Outdated Show resolved Hide resolved
@Frosty2500
Copy link
Contributor Author

It looks to me like there are a lot of false import statements causing errors in the compliance_tool, do you know why they did not cause errors before @s-heppner? I find that quite weird.

@s-heppner s-heppner changed the base branch from main to develop December 13, 2024 12:58
@s-heppner
Copy link
Contributor

No, I do not know that. Could you maybe investigate?

@Frosty2500
Copy link
Contributor Author

It seems to be a bigger problem. Even when I fix the imports the unitests fail. There seems to be quite some code that needs to be changed. I will create an issue and a seperate pull request, till this is fixed we can basically ignore the ci tests for the compliance-tool.

@Frosty2500 Frosty2500 force-pushed the add_copyright_check branch 2 times, most recently from d683a27 to 37f5a3e Compare December 14, 2024 23:41
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.

Add a CI check to ensure the copyright is updated Recurring: Update Copyright Notice
2 participants