On Fri, 7 Jun 2024 19:01:45 GMT, Sonia Zaldana Calles <szald...@openjdk.org> 
wrote:

> Hi all, 
> 
> This PR addresses [8333685](https://bugs.openjdk.org/browse/JDK-8333685). 
> 
> I have added the following enhancements: 
> - Removed uses of `fgrep` and `egrep` with `grep -F` and `grep -E` 
> respectively. 
> - Altered default behaviour to limit the processed changesets to those in the 
> current branch and the current year. 
> - Enabled an option to modify all changesets in the year if desired (this was 
> the previous default behaviour). 
> - Added named parameters and enabled `--help`.
> - Removed mercurial support. 
> - Fixed a bug where copyright headers that didn't have a comma following the 
> initial year of creation were not getting picked up. For example, 
> [here](https://github.com/openjdk/jdk/blob/512b2b4f141f9a202984150b0427372e1a409a50/src/hotspot/cpu/zero/copy_zero.hpp#L3).
>  
> - Fixed a bug where copyright headers missing the copyright symbol (c) were 
> not getting picked up. Refer to the example above as well. 
> 
> Thanks, 
> Sonia

This pull request has now been integrated.

Changeset: 6462b873
Author:    Sonia Zaldana Calles <szald...@openjdk.org>
Committer: Thomas Stuefe <stu...@openjdk.org>
URL:       
https://git.openjdk.org/jdk/commit/6462b873366ddc4ca2601ab4b6852522060c1395
Stats:     100 lines in 1 file changed: 41 ins; 26 del; 33 mod

8333685: Make update-copyright-year script more useful

Reviewed-by: erikj, stuefe

-------------

PR: https://git.openjdk.org/jdk/pull/19605

Reply via email to