Skip to content

Change the version to 2.20 and remove the license from files. #2722

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

Open
wants to merge 1 commit into
base: WeBWorK-2.20
Choose a base branch
from

Conversation

drgrice1
Copy link
Member

There is no need for the license to be in all files. That creates an unnecessary maintenance hassle with keeping the copyright years up to date, and it is sufficient to have the license (with the copyright years) in the LICENSE file alone. Furthermore, this is done quite inconsistently. Sometimes files are added without the license, and potentially worse is a file being added with the license but not in the exact format needed for the bin/dev_scripts/update-copyright script to detect and properly update the copyright years. The bin/dev_scripts/update-copyright script is thus no longer needed and has been removed.

Also, the fallback copyright years for the footer now is just "unknown" instead of being the correct copyright years. If the version and copyright years are not correctly loaded in the course environment from the VERSION file then that is what you will see. That should never happen.

So from now on the only files that need to be updated are the LICENSE, README.md, and VERSION files. In addition the docker-config/docker-compose.dist.yml and DockerfileStage2 files need to have forWW... tag name updated to the current version (for the two stage build).

There is no need for the license to be in all files.  That creates an
unnecessary maintenance hassle with keeping the copyright years up to
date, and it is sufficient to have the license (with the copyright
years) in the `LICENSE` file alone.  Furthermore, this is done quite
inconsistently.  Sometimes files are added without the license, and
potentially worse is a file being added with the license but not in the
exact format needed for the `bin/dev_scripts/update-copyright` script to
detect and properly update the copyright years. The
`bin/dev_scripts/update-copyright` script is thus no longer needed and
has been removed.

Also, the fallback copyright years for the footer now is just "unknown"
instead of being the correct copyright years.  If the version and
copyright years are not correctly loaded in the course environment from
the `VERSION` file then that is what you will see.  That should never
happen.

So from now on the only files that need to be updated are the `LICENSE`,
`README.md`, and `VERSION` files.  In addition the
`docker-config/docker-compose.dist.yml` and `DockerfileStage2` files
need to have `forWW...` tag name updated to the current version (for the
two stage build).
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.

1 participant