zhmcclient / zhmc-prometheus-exporter

A Prometheus exporter for the IBM Z HMC
Apache License 2.0
12 stars 8 forks source link

Fix copyright statements that have year-year range #443

Closed andy-maier closed 1 month ago

andy-maier commented 5 months ago

Some of the copyright statements specify a range of years, e.g. "Copyright 2016-2020 ...".

The copyright is claimed automatically for all following years, so only the oldest year needs to be mentioned. It is in fact important to claim the oldest year in any copyright dispute.

If significant changes are made in a particular year, that year can optionally be listed, but the years then must be separated by comma.

This ticket is to change all copyright statements that specify a range of years, to use comma instead of hyphen (assuming that the second year was somehow significant enough to be mentioned).

The following command can be used to list all copyright statements with a year range:

grep -i "Copyright .*20..-20.." . -r

See PR https://github.com/zhmcclient/zhmc-ansible-modules/pull/879 for how this was done in the zhmc ansible project.