[2/2] Add missing copyright notice in pyproject.toml

Message ID 20260326170248.218742-3-tdevries@suse.de
State Committed
Headers
Series Add missing copyright notices |

Checks

Context Check Description
linaro-tcwg-bot/tcwg_gdb_build--master-aarch64 success Build passed
linaro-tcwg-bot/tcwg_gdb_build--master-arm success Build passed
linaro-tcwg-bot/tcwg_gdb_check--master-arm success Test passed
linaro-tcwg-bot/tcwg_gdb_check--master-aarch64 success Test passed

Commit Message

Tom de Vries March 26, 2026, 5:02 p.m. UTC
  I noticed gdb/pyproject.toml is missing a copyright notice.

Add this.  Since it was added in 2021, use copyright years 2021-2026.
---
 gdb/pyproject.toml | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)
  

Comments

Tom de Vries April 10, 2026, 12:29 p.m. UTC | #1
On 3/26/26 6:02 PM, Tom de Vries wrote:
> I noticed gdb/pyproject.toml is missing a copyright notice.
> 
> Add this.  Since it was added in 2021, use copyright years 2021-2026.
> ---
>   gdb/pyproject.toml | 16 ++++++++++++++++
>   1 file changed, 16 insertions(+)
> 
> diff --git a/gdb/pyproject.toml b/gdb/pyproject.toml
> index c8d1705ba15..8a62d29243b 100644
> --- a/gdb/pyproject.toml
> +++ b/gdb/pyproject.toml
> @@ -1,3 +1,19 @@

> +#!/bin/sh
> +

I've pushed this patch, with this copy-paste mistake removed.

Thanks,
- Tom

> +# Copyright (C) 2021-2026 Free Software Foundation, Inc.
> +# This program is free software; you can redistribute it and/or modify
> +# it under the terms of the GNU General Public License as published by
> +# the Free Software Foundation; either version 3 of the License, or
> +# (at your option) any later version.
> +#
> +# This program is distributed in the hope that it will be useful,
> +# but WITHOUT ANY WARRANTY; without even the implied warranty of
> +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
> +# GNU General Public License for more details.
> +#
> +# You should have received a copy of the GNU General Public License
> +# along with this program.  If not, see <http://www.gnu.org/licenses/>.
> +
>   [tool.black]
>   include = "\\.py(\\.in)?$"
>
  

Patch

diff --git a/gdb/pyproject.toml b/gdb/pyproject.toml
index c8d1705ba15..8a62d29243b 100644
--- a/gdb/pyproject.toml
+++ b/gdb/pyproject.toml
@@ -1,3 +1,19 @@ 
+#!/bin/sh
+
+# Copyright (C) 2021-2026 Free Software Foundation, Inc.
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 3 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program.  If not, see <http://www.gnu.org/licenses/>.
+
 [tool.black]
 include = "\\.py(\\.in)?$"