Open vchudnov-g opened 6 months ago
Our policy is that we can update the copyright year every time we re-generate a file. We certainly need to have the current year on new files.
To update the year automatically, we should have it fetched from the system time in the template https://github.com/googleapis/gapic-generator-python/blob/main/gapic/templates/_license.j2
At the same time, we shouldn't have to manually update all the golden files every January to reflect the new year.
Some ideas:
2345-06-07
*_py_gapic
Since the work above is not trivial, for the time being I am manually updating the copyright year to 2024 (see #1959)
Our policy is that we can update the copyright year every time we re-generate a file. We certainly need to have the current year on new files.
To update the year automatically, we should have it fetched from the system time in the template https://github.com/googleapis/gapic-generator-python/blob/main/gapic/templates/_license.j2
At the same time, we shouldn't have to manually update all the golden files every January to reflect the new year.
Some ideas:
2345-06-07
). This may involve adding a generator option for the mock time and changing the*_py_gapic
targets in https://github.com/googleapis/gapic-generator-python/blob/main/tests/integration/BUILD.bazel