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 Copyright Year to 2024 #2824

Closed
4 tasks done
bschmalhofer opened this issue Jan 13, 2024 · 1 comment
Closed
4 tasks done

Update Copyright Year to 2024 #2824

bschmalhofer opened this issue Jan 13, 2024 · 1 comment
Assignees
Labels
tidying Tidying of the code
Milestone

Comments

@bschmalhofer
Copy link
Contributor

bschmalhofer commented Jan 13, 2024

It is a new year again. Time to update the copyright year in rel-10_0, rel-10_1, rel-11_0. See also #2077 and #740.

The first step is to run in the rel-10_0 branch:

../CodePolicy_10_0/bin/otobo.CodePolicy.pl --plugins +TidyAll::Plugin::OTOBO::Legal::ReplaceCopyright -a . > codepolicy_1.out

Commit only the changed files with git add -u . ; git commit --no-verify as there might be other tidyings and violations.

Then resolve the other tidyings and violations so that we are in a clean state for the next release.

../CodePolicy_10_0/bin/otobo.CodePolicy.pl -a 1>codepolicy_2.out

Then there are some other files that must be adapted manually:

  • Kernel/System/MigrateFromOTRS/Base.pm
  • .screenrc - CodePolicy has been updated to include this file
  • Kernel/Output/HTML/Templates/Standard/CustomerFooter.tt
  • scripts/test/sample/Loader/CombinedJavaScript.min.js (since rel-11-0)

The merge the changes into rel-10_1 and repeat these steps. Same for rel-11_0.

@bschmalhofer bschmalhofer added the tidying Tidying of the code label Jan 13, 2024
@bschmalhofer bschmalhofer added this to the OTOBO 10.0.20 milestone Jan 13, 2024
@bschmalhofer bschmalhofer self-assigned this Jan 13, 2024
bschmalhofer added a commit that referenced this issue Jan 13, 2024
by running: ../CodePolicy_10_0/bin/otobo.CodePolicy.pl --plugins +TidyAll::Plugin::OTOBO::Legal::ReplaceCopyright -a .
bschmalhofer added a commit that referenced this issue Jan 13, 2024
even when the don't really improve the code
bschmalhofer added a commit that referenced this issue Jan 13, 2024
previously there was only the specific year 2021 set and
.screenrc was not included for the ReplaceCopyright code policy.
bschmalhofer added a commit that referenced this issue Jan 13, 2024
Apparently Kernel/Output/HTML/Templates/Standard/CustomerFooter.tt
and Kernel/System/MigrateFromOTRS/Base.pm are not handled by the
OTOBO/Legal/ReplaceCopyright policy.
bschmalhofer added a commit that referenced this issue Jan 13, 2024
@bschmalhofer
Copy link
Contributor Author

The copyright year has been updated in the three relevant branches. Closing this issue.

bschmalhofer added a commit that referenced this issue Jan 15, 2024
by running: ../CodePolicy_10_0/bin/otobo.CodePolicy.pl --plugins +TidyAll::Plugin::OTOBO::Legal::ReplaceCopyright -a .
bschmalhofer added a commit that referenced this issue Jan 15, 2024
even when the don't really improve the code
bschmalhofer added a commit that referenced this issue Jan 15, 2024
previously there was only the specific year 2021 set and
.screenrc was not included for the ReplaceCopyright code policy.
bschmalhofer added a commit that referenced this issue Jan 15, 2024
Apparently Kernel/Output/HTML/Templates/Standard/CustomerFooter.tt
and Kernel/System/MigrateFromOTRS/Base.pm are not handled by the
OTOBO/Legal/ReplaceCopyright policy.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
tidying Tidying of the code
Projects
None yet
Development

No branches or pull requests

1 participant