diff options
author | Ulrich Müller <ulm@gentoo.org> | 2024-06-02 19:42:15 +0200 |
---|---|---|
committer | Arthur Zamarin <arthurzam@gentoo.org> | 2024-06-02 23:16:13 +0300 |
commit | 2c562d782c2c518d657b1702c47b53f13329f83f (patch) | |
tree | 72aac932f0e72f53f71e718084ca4b8386e4ca18 | |
parent | local/update-03-filename: Allow @ in filenames (diff) | |
download | githooks-2c562d782c2c518d657b1702c47b53f13329f83f.tar.gz githooks-2c562d782c2c518d657b1702c47b53f13329f83f.tar.bz2 githooks-2c562d782c2c518d657b1702c47b53f13329f83f.zip |
Revert "local/update-03-filename: Allow @ in filenames"githooks-20240602T201613Z
As it turns out, Portage will silently drop files containing an @ char
during Manifest generation.
See bug 411127 and bug 106544 for further reference.
This reverts commit e24eacaa31707ef669cd5a9747a1bf08a5759fdf.
Signed-off-by: Ulrich Müller <ulm@gentoo.org>
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
-rwxr-xr-x | local/update-03-filename | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/local/update-03-filename b/local/update-03-filename index a54c88f..adbbc5f 100755 --- a/local/update-03-filename +++ b/local/update-03-filename @@ -1,6 +1,6 @@ #!/bin/bash # gentoo-infra: infra/githooks.git:update-03-filename -# Copyright 2015-2024 Ulrich Müller and others +# Copyright 2015-2021 Ulrich Müller and others # Distributed under the terms of the GNU General Public License v2 or later # Author: Ulrich Müller <ulm@gentoo.org> @@ -18,12 +18,12 @@ zeros=0000000000000000000000000000000000000000 [[ ${newrev} == "${zeros}" ]] && exit 0 # no need to check for new branch because we skip non-master commits above -# Filenames must contain only the characters [A-Za-z0-9._+@-] and must +# Filenames must contain only the characters [A-Za-z0-9._+-] and must # not begin with a dot, a hyphen, or a plus sign. # https://devmanual.gentoo.org/general-concepts/tree/#what-belongs-in-the-tree%3F # https://devmanual.gentoo.org/ebuild-writing/file-format/#file-naming-rules export LC_ALL=C -regex='^([A-Za-z0-9_][A-Za-z0-9._+-]*/)*[A-Za-z0-9_@][A-Za-z0-9._+@-]*$' +regex='^([A-Za-z0-9_][A-Za-z0-9._+-]*/)*[A-Za-z0-9_][A-Za-z0-9._+-]*$' exceptions=( .editorconfig .mailmap |