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

Refactor check-header script #1289

Merged
merged 1 commit into from Mar 22, 2024
Merged

Refactor check-header script #1289

merged 1 commit into from Mar 22, 2024

Commits on Mar 17, 2024

  1. Refactor check-header script

    Refactor check header script to only consider the `endYear` in copyrigh headers.
    Previously we also had a mechanism in place to validate the start year of a copyright range.
    However, this approach was flawed because
    - It could not consider files that predate the initial inception of the repository
    - had a hard time with determining  the correct start year for files that have been renamed/moved
    
    So in the end we opted for ignoring startYear validations anyways and only considered endYear errors.
    Therefore this PR removes the entire `startYear` validation and we only check for single year or end year violations.
    This makes the whole check process faster and less error prone.
    
    In addition, there was an issue with files that had multiple copyright years defined (e.g. `contribution-provider` in glsp-client). This is now fixed.
    
    In addition, align version numbers with the other GLSP projects so that the dev-packages can be included in the Release train.
    
    Also: Minor fix for `release-vscode-integration`
    tortmayr committed Mar 17, 2024
    Copy the full SHA
    ff8ca61 View commit details
    Browse the repository at this point in the history