diff mbox series

[pushed] contrib: add 'contrib' to default dirs in update-copyright.py

Message ID 6973c338-686e-618c-4e1a-1bbd75369ff8@suse.cz
State New
Headers show
Series [pushed] contrib: add 'contrib' to default dirs in update-copyright.py | expand

Commit Message

Martin Liška Jan. 6, 2023, 7:49 a.m. UTC
Hi.

I forgot to include contrib folder in default dir, thus the copyright in the folder
haven't been updated by Jakub.

However, I noticed when I run ./contrib/update-copyright.py --this-year
I get much more modifications out of contrib folder:

$ git diff --stat
...
 951 files changed, 976 insertions(+), 979 deletions(-)

where the are not updated files is:
gcc/analyzer/*
gcc/common/config/*
gcc/m2/*
gcc/objc/*

Jakub, can you please re-run the script?

Cheers,
Martin

contrib/ChangeLog:

	* update-copyright.py: Add contrib as a default dir.
---
 contrib/update-copyright.py | 1 +
 1 file changed, 1 insertion(+)

Comments

Martin Liška Jan. 10, 2023, 7:53 a.m. UTC | #1
> However, I noticed when I run ./contrib/update-copyright.py --this-year
> I get much more modifications out of contrib folder:

@Jakub?

Martin
Andrew Pinski Jan. 16, 2023, 4:53 a.m. UTC | #2
On Thu, Jan 5, 2023 at 11:49 PM Martin Liška <mliska@suse.cz> wrote:
>
> Hi.
>
> I forgot to include contrib folder in default dir, thus the copyright in the folder
> haven't been updated by Jakub.
>
> However, I noticed when I run ./contrib/update-copyright.py --this-year
> I get much more modifications out of contrib folder:
>
> $ git diff --stat
> ...
>  951 files changed, 976 insertions(+), 979 deletions(-)
>
> where the are not updated files is:
> gcc/analyzer/*
> gcc/common/config/*
> gcc/m2/*
> gcc/objc/*

libstdc++-v3 was not updated either. I wonder how many more were missed too ...

Thanks,
Andrew Pinski

>
> Jakub, can you please re-run the script?
>
> Cheers,
> Martin
>
> contrib/ChangeLog:
>
>         * update-copyright.py: Add contrib as a default dir.
> ---
>  contrib/update-copyright.py | 1 +
>  1 file changed, 1 insertion(+)
>
> diff --git a/contrib/update-copyright.py b/contrib/update-copyright.py
> index fcae846fb1e..06e6fb61757 100755
> --- a/contrib/update-copyright.py
> +++ b/contrib/update-copyright.py
> @@ -785,6 +785,7 @@ class GCCCmdLine (CmdLine):
>
>          self.default_dirs = [
>              'c++tools',
> +            'contrib',
>              'gcc',
>              'include',
>              'libada',
> --
> 2.39.0
>
diff mbox series

Patch

diff --git a/contrib/update-copyright.py b/contrib/update-copyright.py
index fcae846fb1e..06e6fb61757 100755
--- a/contrib/update-copyright.py
+++ b/contrib/update-copyright.py
@@ -785,6 +785,7 @@  class GCCCmdLine (CmdLine):
 
         self.default_dirs = [
             'c++tools',
+            'contrib',
             'gcc',
             'include',
             'libada',