Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
* [PATCH 0/4] [pre-commit] Add copyright-years check
@ 2026-04-29  8:13 Tom de Vries
  2026-04-29  8:13 ` [PATCH 1/4] [gdb] Handle empty list in update_files in copyright.py Tom de Vries
                   ` (4 more replies)
  0 siblings, 5 replies; 7+ messages in thread
From: Tom de Vries @ 2026-04-29  8:13 UTC (permalink / raw)
  To: gdb-patches

I ran gdb/copyright.py, and found two files with incorrect copyright
years [1].

I decided to use the script in a pre-commit check, to detect this sort of
thing automatically.

[1] https://sourceware.org/pipermail/gdb-patches/2026-April/226916.html

Tom de Vries (4):
  [gdb] Handle empty list in update_files in copyright.py
  [gdb] Factor out filter_excluded out of update_files in copyright.py
  [gdb] Require python >= 3.13 in copyright.py
  [pre-commit] Add copyright-years check

 .pre-commit-config.yaml |  7 ++++++
 gdb/copyright.py        | 54 +++++++++++++++++++++++++++++------------
 2 files changed, 46 insertions(+), 15 deletions(-)


base-commit: 8a5e138e6276ce7644ab858751440cb59f35623b
-- 
2.51.0


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2026-06-01 13:24 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-04-29  8:13 [PATCH 0/4] [pre-commit] Add copyright-years check Tom de Vries
2026-04-29  8:13 ` [PATCH 1/4] [gdb] Handle empty list in update_files in copyright.py Tom de Vries
2026-04-29  8:13 ` [PATCH 2/4] [gdb] Factor out filter_excluded out of " Tom de Vries
2026-04-29  8:13 ` [PATCH 3/4] [gdb] Require python >= 3.13 " Tom de Vries
2026-04-29  8:13 ` [PATCH 4/4] [pre-commit] Add copyright-years check Tom de Vries
2026-06-01 13:23   ` Tom de Vries
2026-06-01 13:10 ` [PING] [PATCH 0/4] " Tom de Vries

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox