[(pushed)] contrib: add copyright for my scripts

Message ID d0c0c26b-dbcd-9619-ee9c-f3ff3081f4ea@suse.cz
State Committed
Commit 81f86cb969cf409bf62e72129d4e19208fe75b3f
Headers
Series [(pushed)] contrib: add copyright for my scripts |

Commit Message

Martin Liška Dec. 14, 2022, 1:07 p.m. UTC
  Hi.

The Copyright year will be updated automatically with a next patch
I'm going to send.

Cheers,
Martin

contrib/ChangeLog:

	* analyze_brprob.py: Add copyright header.
	* analyze_brprob_spec.py: Likewise.
	* check-params-in-docs.py: Likewise.
	* check_GNU_style.py: Likewise.
	* check_GNU_style_lib.py: Likewise.
	* filter-clang-warnings.py: Likewise.
	* gcc-changelog/git_check_commit.py: Likewise.
	* gcc-changelog/git_commit.py: Likewise.
	* gcc-changelog/git_email.py: Likewise.
	* gcc-changelog/git_repository.py: Likewise.
	* gcc-changelog/git_update_version.py: Likewise.
	* gcc-changelog/test_email.py: Likewise.
	* mark_spam.py: Likewise.
---
 contrib/analyze_brprob.py                   | 2 ++
 contrib/analyze_brprob_spec.py              | 2 ++
 contrib/check-params-in-docs.py             | 2 ++
 contrib/check_GNU_style.py                  | 2 ++
 contrib/check_GNU_style_lib.py              | 2 ++
 contrib/filter-clang-warnings.py            | 2 ++
 contrib/gcc-changelog/git_check_commit.py   | 2 ++
 contrib/gcc-changelog/git_commit.py         | 2 ++
 contrib/gcc-changelog/git_email.py          | 2 ++
 contrib/gcc-changelog/git_repository.py     | 2 ++
 contrib/gcc-changelog/git_update_version.py | 2 ++
 contrib/gcc-changelog/test_email.py         | 2 ++
 contrib/mark_spam.py                        | 2 ++
 13 files changed, 26 insertions(+)
  

Comments

Jakub Jelinek Dec. 14, 2022, 1:11 p.m. UTC | #1
On Wed, Dec 14, 2022 at 02:07:38PM +0100, Martin Liška wrote:
> Hi.
> 
> The Copyright year will be updated automatically with a next patch
> I'm going to send.

Shouldn't that be added as 2016-2022 etc.?

	Jakub
  
Martin Liška Dec. 14, 2022, 1:15 p.m. UTC | #2
On 12/14/22 14:11, Jakub Jelinek wrote:
> On Wed, Dec 14, 2022 at 02:07:38PM +0100, Martin Liška wrote:
>> Hi.
>>
>> The Copyright year will be updated automatically with a next patch
>> I'm going to send.
> 
> Shouldn't that be added as 2016-2022 etc.?

Let it be updated automatically, then we can check if it contains X-2023 ;)

Cheers,
Martin

> 
> 	Jakub
>
  

Patch

diff --git a/contrib/analyze_brprob.py b/contrib/analyze_brprob.py
index debc9a6421a..d5a8031e75c 100755
--- a/contrib/analyze_brprob.py
+++ b/contrib/analyze_brprob.py
@@ -1,4 +1,6 @@ 
 #!/usr/bin/env python3
+
+# Copyright (C) 2016 Free Software Foundation, Inc.
 #
 # Script to analyze results of our branch prediction heuristics
 #
diff --git a/contrib/analyze_brprob_spec.py b/contrib/analyze_brprob_spec.py
index c7a9ae07e16..8f7dcbaddb4 100755
--- a/contrib/analyze_brprob_spec.py
+++ b/contrib/analyze_brprob_spec.py
@@ -1,5 +1,7 @@ 
 #!/usr/bin/env python3
 
+# Copyright (C) 2016 Free Software Foundation, Inc.
+#
 # This file is part of GCC.
 #
 # GCC is free software; you can redistribute it and/or modify it under
diff --git a/contrib/check-params-in-docs.py b/contrib/check-params-in-docs.py
index d57055088b7..8f8f6654df3 100755
--- a/contrib/check-params-in-docs.py
+++ b/contrib/check-params-in-docs.py
@@ -1,4 +1,6 @@ 
 #!/usr/bin/env python3
+
+# Copyright (C) 2018 Free Software Foundation, Inc.
 #
 # Find missing and extra parameters in documentation compared to
 # output of: gcc --help=params.
diff --git a/contrib/check_GNU_style.py b/contrib/check_GNU_style.py
index 969534a3cc9..826d17abf08 100755
--- a/contrib/check_GNU_style.py
+++ b/contrib/check_GNU_style.py
@@ -1,4 +1,6 @@ 
 #!/usr/bin/env python3
+
+# Copyright (C) 2017 Free Software Foundation, Inc.
 #
 # Checks some of the GNU style formatting rules in a set of patches.
 # The script is a rewritten of the same bash script and should eventually
diff --git a/contrib/check_GNU_style_lib.py b/contrib/check_GNU_style_lib.py
index b3db4fbddc9..3d709d1eafa 100755
--- a/contrib/check_GNU_style_lib.py
+++ b/contrib/check_GNU_style_lib.py
@@ -1,4 +1,6 @@ 
 #!/usr/bin/env python3
+
+# Copyright (C) 2017 Free Software Foundation, Inc.
 #
 # Checks some of the GNU style formatting rules in a set of patches.
 # The script is a rewritten of the same bash script and should eventually
diff --git a/contrib/filter-clang-warnings.py b/contrib/filter-clang-warnings.py
index 3c68be028a8..c426bce5eb5 100755
--- a/contrib/filter-clang-warnings.py
+++ b/contrib/filter-clang-warnings.py
@@ -1,4 +1,6 @@ 
 #!/usr/bin/env python3
+
+# Copyright (C) 2018 Free Software Foundation, Inc.
 #
 # Script to analyze warnings produced by clang.
 #
diff --git a/contrib/gcc-changelog/git_check_commit.py b/contrib/gcc-changelog/git_check_commit.py
index d6aff3cef91..2e3e8cbeb77 100755
--- a/contrib/gcc-changelog/git_check_commit.py
+++ b/contrib/gcc-changelog/git_check_commit.py
@@ -1,4 +1,6 @@ 
 #!/usr/bin/env python3
+
+# Copyright (C) 2020 Free Software Foundation, Inc.
 #
 # This file is part of GCC.
 #
diff --git a/contrib/gcc-changelog/git_commit.py b/contrib/gcc-changelog/git_commit.py
index d90e6c19b76..66d68de03a5 100755
--- a/contrib/gcc-changelog/git_commit.py
+++ b/contrib/gcc-changelog/git_commit.py
@@ -1,4 +1,6 @@ 
 #!/usr/bin/env python3
+
+# Copyright (C) 2020 Free Software Foundation, Inc.
 #
 # This file is part of GCC.
 #
diff --git a/contrib/gcc-changelog/git_email.py b/contrib/gcc-changelog/git_email.py
index 2566d4149e7..ef50ebfb7fd 100755
--- a/contrib/gcc-changelog/git_email.py
+++ b/contrib/gcc-changelog/git_email.py
@@ -1,4 +1,6 @@ 
 #!/usr/bin/env python3
+
+# Copyright (C) 2020 Free Software Foundation, Inc.
 #
 # This file is part of GCC.
 #
diff --git a/contrib/gcc-changelog/git_repository.py b/contrib/gcc-changelog/git_repository.py
index 2d688826ff8..7c2dc218775 100755
--- a/contrib/gcc-changelog/git_repository.py
+++ b/contrib/gcc-changelog/git_repository.py
@@ -1,4 +1,6 @@ 
 #!/usr/bin/env python3
+
+# Copyright (C) 2020 Free Software Foundation, Inc.
 #
 # This file is part of GCC.
 #
diff --git a/contrib/gcc-changelog/git_update_version.py b/contrib/gcc-changelog/git_update_version.py
index 97dd4796f13..69c3d2a0633 100755
--- a/contrib/gcc-changelog/git_update_version.py
+++ b/contrib/gcc-changelog/git_update_version.py
@@ -1,4 +1,6 @@ 
 #!/usr/bin/env python3
+
+# Copyright (C) 2020 Free Software Foundation, Inc.
 #
 # This file is part of GCC.
 #
diff --git a/contrib/gcc-changelog/test_email.py b/contrib/gcc-changelog/test_email.py
index b9d0cb4157c..89960d307c9 100755
--- a/contrib/gcc-changelog/test_email.py
+++ b/contrib/gcc-changelog/test_email.py
@@ -1,4 +1,6 @@ 
 #!/usr/bin/env python3
+
+# Copyright (C) 2020 Free Software Foundation, Inc.
 #
 # This file is part of GCC.
 #
diff --git a/contrib/mark_spam.py b/contrib/mark_spam.py
index 86f46a129cc..a7dc5a2e782 100755
--- a/contrib/mark_spam.py
+++ b/contrib/mark_spam.py
@@ -1,4 +1,6 @@ 
 #!/usr/bin/env python3
+
+# Copyright (C) 2016 Free Software Foundation, Inc.
 #
 # Script to mark bunch of PRs as spam 
 #