aboutsummaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorAgostino Sarubbo <ago@gentoo.org>2024-01-26 12:14:48 +0100
committerSam James <sam@gentoo.org>2024-02-09 07:09:43 +0000
commitd801ec255a6725775b5e3d672b8c00e9c0095200 (patch)
treec78be983c111daf1d5efeeaf62684de98e553666 /bin
parenttests: process: calculate size of E2BIG environment variable dynamically (diff)
downloadportage-d801ec255a6725775b5e3d672b8c00e9c0095200.tar.gz
portage-d801ec255a6725775b5e3d672b8c00e9c0095200.tar.bz2
portage-d801ec255a6725775b5e3d672b8c00e9c0095200.zip
bin: prefix eqawarn with 'QA Notice'
Bug: https://bugs.gentoo.org/728046 Signed-off-by: Agostino Sarubbo <ago@gentoo.org> Closes: https://github.com/gentoo/portage/pull/1239 Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'bin')
-rwxr-xr-xbin/ebuild-helpers/dohtml2
-rwxr-xr-xbin/ebuild-helpers/fowners2
-rwxr-xr-xbin/ebuild-helpers/fperms2
-rw-r--r--bin/install-qa-check.d/05prefix6
-rw-r--r--bin/install-qa-check.d/60bash-completion4
-rw-r--r--bin/install-qa-check.d/90bad-bin-group-write2
-rw-r--r--bin/install-qa-check.d/90bad-bin-owner2
-rw-r--r--bin/install-qa-check.d/90cmake-warnings2
-rw-r--r--bin/install-qa-check.d/90world-writable2
-rw-r--r--bin/install-qa-check.d/95empty-dirs2
10 files changed, 13 insertions, 13 deletions
diff --git a/bin/ebuild-helpers/dohtml b/bin/ebuild-helpers/dohtml
index 55339238e..4d4efd496 100755
--- a/bin/ebuild-helpers/dohtml
+++ b/bin/ebuild-helpers/dohtml
@@ -10,7 +10,7 @@ if ! ___eapi_has_dohtml; then
fi
if ___eapi_has_dohtml_deprecated; then
- eqawarn "'${0##*/}' is deprecated in EAPI '${EAPI}'"
+ eqawarn "QA Notice: '${0##*/}' is deprecated in EAPI '${EAPI}'"
fi
# Use safe cwd, avoiding unsafe import for bug #469338.
diff --git a/bin/ebuild-helpers/fowners b/bin/ebuild-helpers/fowners
index fa4e3c0d7..d05094cab 100755
--- a/bin/ebuild-helpers/fowners
+++ b/bin/ebuild-helpers/fowners
@@ -21,7 +21,7 @@ for arg; do
args+=( "${ED%/}/${arg#/}" )
# remove the QA warning after 2024-12-31
if [[ ${arg:0:1} != / ]]; then
- eqawarn "${0##*/}: Path '${arg}' does not start with '/'."
+ eqawarn "QA Notice: ${0##*/}: Path '${arg}' does not start with '/'."
eqawarn "This is unsupported. Add a slash for a path in \${ED},"
eqawarn "or use 'chown' for a path relative to the working dir."
fi
diff --git a/bin/ebuild-helpers/fperms b/bin/ebuild-helpers/fperms
index d52f5a767..16772d11f 100755
--- a/bin/ebuild-helpers/fperms
+++ b/bin/ebuild-helpers/fperms
@@ -22,7 +22,7 @@ for arg; do
args+=( "${ED%/}/${arg#/}" )
# remove the QA warning after 2024-12-31
if [[ ${arg:0:1} != / ]]; then
- eqawarn "${0##*/}: Path '${arg}' does not start with '/'."
+ eqawarn "QA Notice: ${0##*/}: Path '${arg}' does not start with '/'."
eqawarn "This is unsupported. Add a slash for a path in \${ED},"
eqawarn "or use 'chmod' for a path relative to the working dir."
fi
diff --git a/bin/install-qa-check.d/05prefix b/bin/install-qa-check.d/05prefix
index 28f2c06af..edbd6fab2 100644
--- a/bin/install-qa-check.d/05prefix
+++ b/bin/install-qa-check.d/05prefix
@@ -71,7 +71,7 @@ install_qa_check_prefix() {
echo "${fn#${D}}:${line[0]} (explicit EPREFIX but target not found)" \
>> "${T}"/non-prefix-shebangs-errs
else
- eqawarn "${fn#${D}} has explicit EPREFIX in shebang but target not found (${line[0]})"
+ eqawarn "QA Notice: ${fn#${D}} has explicit EPREFIX in shebang but target not found (${line[0]})"
fi
fi
continue
@@ -81,7 +81,7 @@ install_qa_check_prefix() {
if [[ -e ${EROOT}${line[0]} || -e ${ED}${line[0]} ]] ; then
# is it unprefixed, but we can just fix it because a
# prefixed variant exists
- eqawarn "prefixing shebang of ${fn#${D}}"
+ eqawarn "QA Notice: prefixing shebang of ${fn#${D}}"
# statement is made idempotent on purpose, because
# symlinks may point to the same target, and hence the
# same real file may be sedded multiple times since we
@@ -98,7 +98,7 @@ install_qa_check_prefix() {
# unprefixed/invalid shebang, but outside ${PATH}, this may be
# intended (e.g. config.guess) so remain silent by default
has stricter ${FEATURES} && \
- eqawarn "invalid shebang in ${fn#${D}}: ${line[0]}"
+ eqawarn "QA Notice: invalid shebang in ${fn#${D}}: ${line[0]}"
fi
done
if [[ -e "${T}"/non-prefix-shebangs-errs ]] ; then
diff --git a/bin/install-qa-check.d/60bash-completion b/bin/install-qa-check.d/60bash-completion
index c1547619a..85573df0e 100644
--- a/bin/install-qa-check.d/60bash-completion
+++ b/bin/install-qa-check.d/60bash-completion
@@ -10,7 +10,7 @@ bashcomp_check() {
instcompdir=${ED}/usr/share/bash-completion/completions
elif [[ -d ${ED}/usr/share/bash-completion ]]; then
if [[ ${syscompdir} != ${EPREFIX}/usr/share/bash-completion ]]; then
- eqawarn "Bash completions were installed in legacy location. Please update"
+ eqawarn "QA Notice: Bash completions were installed in legacy location. Please update"
eqawarn "the ebuild to get the install paths using bash-completion-r1.eclass."
eqawarn
fi
@@ -111,7 +111,7 @@ bashcomp_check() {
done
if [[ -n ${qa_warnings[@]} ]]; then
- eqawarn "Problems with installed bash completions were found:"
+ eqawarn "QA Notice: Problems with installed bash completions were found:"
eqawarn
for c in "${qa_warnings[@]}"; do
eqawarn " ${c}"
diff --git a/bin/install-qa-check.d/90bad-bin-group-write b/bin/install-qa-check.d/90bad-bin-group-write
index 786dde712..7b5a0c02d 100644
--- a/bin/install-qa-check.d/90bad-bin-group-write
+++ b/bin/install-qa-check.d/90bad-bin-group-write
@@ -43,7 +43,7 @@ bad_bin_group_write_check() {
done
if [[ ${found[@]} ]]; then
- eqawarn "system executables group-writable by nonzero gid:"
+ eqawarn "QA Notice: system executables group-writable by nonzero gid:"
for f in "${found[@]}"; do
# Strip off the leading destdir before outputting the path.
eqawarn " ${f#${D%/}}"
diff --git a/bin/install-qa-check.d/90bad-bin-owner b/bin/install-qa-check.d/90bad-bin-owner
index 46d4e3947..74255c02f 100644
--- a/bin/install-qa-check.d/90bad-bin-owner
+++ b/bin/install-qa-check.d/90bad-bin-owner
@@ -36,7 +36,7 @@ bad_bin_owner_check() {
done
if [[ ${found[@]} ]]; then
- eqawarn "system executables owned by nonzero uid:"
+ eqawarn "QA Notice: system executables owned by nonzero uid:"
for f in "${found[@]}"; do
# Strip off the leading destdir before outputting the path.
eqawarn " ${f#${D%/}}"
diff --git a/bin/install-qa-check.d/90cmake-warnings b/bin/install-qa-check.d/90cmake-warnings
index a6e901efc..fba1b7ffb 100644
--- a/bin/install-qa-check.d/90cmake-warnings
+++ b/bin/install-qa-check.d/90cmake-warnings
@@ -13,7 +13,7 @@ cmake_warn_check() {
| LC_ALL=C sort -u)
if [[ ${vars} ]]; then
- eqawarn "One or more CMake variables were not used by the project:"
+ eqawarn "QA Notice: One or more CMake variables were not used by the project:"
local v
for v in "${vars[@]}"; do
eqawarn " ${v}"
diff --git a/bin/install-qa-check.d/90world-writable b/bin/install-qa-check.d/90world-writable
index 6a521b3cc..a166c6733 100644
--- a/bin/install-qa-check.d/90world-writable
+++ b/bin/install-qa-check.d/90world-writable
@@ -10,7 +10,7 @@ world_writable_check() {
set -f
if [[ -n ${unsafe_files} ]] ; then
- eqawarn "QA Security Notice: world writable file(s):"
+ eqawarn "QA Notice: world writable file(s):"
eqatag -v world-writable ${unsafe_files}
diff --git a/bin/install-qa-check.d/95empty-dirs b/bin/install-qa-check.d/95empty-dirs
index b8612bdf1..95c121817 100644
--- a/bin/install-qa-check.d/95empty-dirs
+++ b/bin/install-qa-check.d/95empty-dirs
@@ -26,7 +26,7 @@ find_empty_dirs() {
done < <(find "${ED}" -depth -mindepth 1 -type d -empty -print0 ${striparg} | LC_COLLATE=C sort -z)
if [[ ${warn_dirs[@]} ]]; then
- eqawarn "One or more empty directories installed to /var:"
+ eqawarn "QA Notice: One or more empty directories installed to /var:"
eqawarn
for d in "${warn_dirs[@]}"; do
eqawarn " ${d#${ED%/}}"