diff options
| author | 2022-04-29 11:24:05 +0100 | |
|---|---|---|
| committer | 2022-04-29 11:24:05 +0100 | |
| commit | d7912e6a3e17f9e9eec16ec8abd3cebc20f344b6 (patch) | |
| tree | 32dbbd67c855640ef15fea23617fcf5ef8aeecab /tools | |
| parent | Merge branch 'insp3' into master. (diff) | |
| parent | Release v3.13.0. (diff) | |
Merge branch 'insp3' into master.
Diffstat (limited to 'tools')
| -rwxr-xr-x | tools/mkauthors | 3 | ||||
| -rwxr-xr-x | tools/mkheaders | 4 | ||||
| -rwxr-xr-x | tools/test-build | 2 |
3 files changed, 5 insertions, 4 deletions
diff --git a/tools/mkauthors b/tools/mkauthors index 46309f239..4ed25c810 100755 --- a/tools/mkauthors +++ b/tools/mkauthors @@ -2,7 +2,7 @@ # # InspIRCd -- Internet Relay Chat Daemon # -# Copyright (C) 2021 Sadie Powell <sadie@witchery.services> +# Copyright (C) 2021-2022 Sadie Powell <sadie@witchery.services> # # This file is part of InspIRCd. InspIRCd is free software: you can # redistribute it and/or modify it under the terms of the GNU General Public @@ -33,6 +33,7 @@ use make::console; my %authors; for my $author (split /\n+/, `git log --pretty='%aN <%aE>' HEAD`) { $author = $1 if $author =~ /^(.+) <(?:unknown\@email.invalid|\S+\@users.noreply.github.com)>$/; + next if $author =~ /\[bot\]$/; $authors{$author} ||= 0; $authors{$author} += 1; diff --git a/tools/mkheaders b/tools/mkheaders index 79326af7e..865d871aa 100755 --- a/tools/mkheaders +++ b/tools/mkheaders @@ -2,7 +2,7 @@ # # InspIRCd -- Internet Relay Chat Daemon # -# Copyright (C) 2020-2021 Sadie Powell <sadie@witchery.services> +# Copyright (C) 2020-2022 Sadie Powell <sadie@witchery.services> # # This file is part of InspIRCd. InspIRCd is free software: you can # redistribute it and/or modify it under the terms of the GNU General Public @@ -59,7 +59,7 @@ for my $path (@paths) { my ($copyright, $indent, @lines); for my $line (<$fh>) { chomp $line; - if ($line =~ /^([^0-9A-Za-z]+\s)Copyright\s+\(C\)\s+[^<]+\s+<[^>]+>$/) { + if ($line =~ /^([^0-9A-Za-z]+\s)Copyright\s+\(C\)\s+[^<]+(\s+<[^>]+>)?$/) { $copyright = scalar @lines; $indent = $1; } else { diff --git a/tools/test-build b/tools/test-build index d485c6e22..099ed300d 100755 --- a/tools/test-build +++ b/tools/test-build @@ -2,7 +2,7 @@ # # InspIRCd -- Internet Relay Chat Daemon # -# Copyright (C) 2013-2016, 2019-2021 Sadie Powell <sadie@witchery.services> +# Copyright (C) 2013-2016, 2019-2022 Sadie Powell <sadie@witchery.services> # # This file is part of InspIRCd. InspIRCd is free software: you can # redistribute it and/or modify it under the terms of the GNU General Public |
