public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* [PATCH][pushed] contrib: add 'contrib' to default dirs in update-copyright.py
@ 2023-01-06  7:49 Martin Liška
  2023-01-10  7:53 ` Martin Liška
  2023-01-16  4:53 ` Andrew Pinski
  0 siblings, 2 replies; 3+ messages in thread
From: Martin Liška @ 2023-01-06  7:49 UTC (permalink / raw)
  To: gcc-patches; +Cc: Jakub Jelinek

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(+)

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


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

* Re: [PATCH][pushed] contrib: add 'contrib' to default dirs in update-copyright.py
  2023-01-06  7:49 [PATCH][pushed] contrib: add 'contrib' to default dirs in update-copyright.py Martin Liška
@ 2023-01-10  7:53 ` Martin Liška
  2023-01-16  4:53 ` Andrew Pinski
  1 sibling, 0 replies; 3+ messages in thread
From: Martin Liška @ 2023-01-10  7:53 UTC (permalink / raw)
  To: gcc-patches; +Cc: Jakub Jelinek

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

@Jakub?

Martin


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

* Re: [PATCH][pushed] contrib: add 'contrib' to default dirs in update-copyright.py
  2023-01-06  7:49 [PATCH][pushed] contrib: add 'contrib' to default dirs in update-copyright.py Martin Liška
  2023-01-10  7:53 ` Martin Liška
@ 2023-01-16  4:53 ` Andrew Pinski
  1 sibling, 0 replies; 3+ messages in thread
From: Andrew Pinski @ 2023-01-16  4:53 UTC (permalink / raw)
  To: Martin Liška; +Cc: gcc-patches, Jakub Jelinek

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
>

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

end of thread, other threads:[~2023-01-16  4:53 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-01-06  7:49 [PATCH][pushed] contrib: add 'contrib' to default dirs in update-copyright.py Martin Liška
2023-01-10  7:53 ` Martin Liška
2023-01-16  4:53 ` Andrew Pinski

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).