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 2023 #2077

Closed
stefanhaerter opened this issue Jan 4, 2023 · 4 comments
Closed

Update Copyright year to 2023 #2077

stefanhaerter opened this issue Jan 4, 2023 · 4 comments
Assignees
Labels
tidying Tidying of the code
Milestone

Comments

@stefanhaerter
Copy link
Contributor

Copyright notes in the files need to be updated to 2023.

@stefanhaerter stefanhaerter added this to the OTOBO 10.0 milestone Jan 4, 2023
@svenoe svenoe modified the milestones: OTOBO 10.0, OTOBO 10.0.18 Jan 12, 2023
@svenoe svenoe added the tidying Tidying of the code label Jan 12, 2023
@svenoe
Copy link
Contributor

svenoe commented Jan 12, 2023

Please also look for footer infos etc.

@bschmalhofer
Copy link
Contributor

The command ../CodePolicy/bin/otobo.CodePolicy.pl -a --plugins +TidyAll::Plugin::OTOBO::Legal::ReplaceCopyright -a 1>critic.out is your friend.
See also #1570.

bschmalhofer added a commit that referenced this issue Jan 16, 2023
in the replacement texts of the migration tool
bschmalhofer added a commit that referenced this issue Jan 16, 2023
bschmalhofer added a commit that referenced this issue Jan 16, 2023
…l_10_1

Issue #2077: update copyright year to 2023
@bschmalhofer
Copy link
Contributor

Updated set of commands for rel-10_0

  • ../CodePolicy/bin/otobo.CodePolicy.pl -a --plugins +TidyAll::Plugin::OTOBO::Legal::ReplaceCopyright -a 1>critic.out
  • git add -u # only updated files
  • git diff --cached -U0 > diff.out # as a manual control
  • git commit --no-verify # ignored violations from updated CodePolicy
  • rm diff.out
  • grep -r 2022 | grep -v CHANGES | grep -v '.git' | grep -v 'var/article/' | grep -v 'Kernel/cpan-lib' | grep -v 'var/log' | grep -v 'var/httpd/htdocs/js/thirdparty/' > ../grep.out # manual control

Update the templates in Kernel/System/MigrateFromOTRS/Base.pm.

Create a PR and merge the changes into rel-10_0. Ignore potential complaints from CodePolicy.

The other branches

Merge rel-10_0 into rel-10_1 and run OTOBO::Legal::ReplaceCopyright again. Same for rel-10_1 to rel-11_0.

@bschmalhofer bschmalhofer self-assigned this Jan 16, 2023
@bschmalhofer
Copy link
Contributor

Things look fine, closing this issue.

@bschmalhofer bschmalhofer changed the title Copyright Note Update Update Copyright year to 2023 Jan 13, 2024
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

3 participants