public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-apps/portage/, sys-apps/portage/files/
Date: Tue, 28 Feb 2023 03:14:34 +0000 (UTC)	[thread overview]
Message-ID: <1677554061.509d54b8b3f926ed718bd97920b4bcc7e2238f41.sam@gentoo> (raw)

commit:     509d54b8b3f926ed718bd97920b4bcc7e2238f41
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Tue Feb 28 03:14:21 2023 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue Feb 28 03:14:21 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=509d54b8

sys-apps/portage: backport QA notice improvement

Signed-off-by: Sam James <sam <AT> gentoo.org>

 ...ge-3.0.45.1-qa-notice-configure-func-decl.patch | 29 ++++++++++++++++++++++
 ...0.45.1-r1.ebuild => portage-3.0.45.1-r2.ebuild} |  1 +
 2 files changed, 30 insertions(+)

diff --git a/sys-apps/portage/files/portage-3.0.45.1-qa-notice-configure-func-decl.patch b/sys-apps/portage/files/portage-3.0.45.1-qa-notice-configure-func-decl.patch
new file mode 100644
index 000000000000..a621ab65d719
--- /dev/null
+++ b/sys-apps/portage/files/portage-3.0.45.1-qa-notice-configure-func-decl.patch
@@ -0,0 +1,29 @@
+From eca90b6049a9ce42ec6868f64abcab403c9f4190 Mon Sep 17 00:00:00 2001
+From: Sam James <sam@gentoo.org>
+Date: Tue, 28 Feb 2023 03:10:26 +0000
+Subject: [PATCH] install-qa-check.d/90config-impl-decl: prefix warning with
+ 'QA Notice'
+
+... so tinderboxes can pick it up more easily.
+
+Signed-off-by: Sam James <sam@gentoo.org>
+--- a/bin/install-qa-check.d/90config-impl-decl
++++ b/bin/install-qa-check.d/90config-impl-decl
+@@ -92,12 +92,13 @@ config_impl_decl_check() {
+ 	# Drop out early if no impl decls found (all the arrays are the same size)
+ 	[[ ${#files[@]} -eq 0 ]] && return
+ 
+-	eqawarn 'Found the following implicit function declarations in configure logs:'
++	eqawarn 'QA Notice: Found the following implicit function declarations in configure logs:'
+ 	for l in "${!files[@]}"; do
+ 		eqawarn "  ${files[l]}:${lines[l]} - ${funcs[l]}"
+ 		eqatag 'config.log-impl-decl' "line=${lines[l]}" "func=${funcs[l]}" "${files[l]}"
+ 	done
+ 	eqawarn 'Check that no features were accidentally disabled.'
++	eqawarn 'See https://wiki.gentoo.org/wiki/Modern_C_porting.'
+ }
+ 
+ config_impl_decl_check
+-- 
+2.39.2
+

diff --git a/sys-apps/portage/portage-3.0.45.1-r1.ebuild b/sys-apps/portage/portage-3.0.45.1-r2.ebuild
similarity index 99%
rename from sys-apps/portage/portage-3.0.45.1-r1.ebuild
rename to sys-apps/portage/portage-3.0.45.1-r2.ebuild
index c226bd813658..b345f442048e 100644
--- a/sys-apps/portage/portage-3.0.45.1-r1.ebuild
+++ b/sys-apps/portage/portage-3.0.45.1-r2.ebuild
@@ -90,6 +90,7 @@ pkg_pretend() {
 
 python_prepare_all() {
 	local PATCHES=(
+		"${FILESDIR}"/${P}-qa-notice-configure-func-decl.patch
 	)
 
 	distutils-r1_python_prepare_all


             reply	other threads:[~2023-02-28  3:14 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-02-28  3:14 Sam James [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-05-17 13:05 [gentoo-commits] repo/gentoo:master commit in: sys-apps/portage/, sys-apps/portage/files/ Sam James
2024-05-10 18:26 Sam James
2023-12-03  8:02 Sam James
2023-10-26 15:53 Mike Gilbert
2023-07-30 13:10 Sam James
2023-07-15  3:45 Sam James
2023-01-13  3:50 Sam James
2022-11-30  7:07 Sam James
2022-11-20 23:37 Sam James
2022-11-20  2:46 Sam James
2022-10-26  0:23 Mike Gilbert
2022-10-20 15:49 Mike Gilbert
2022-04-24 16:45 WANG Xuerui
2022-04-15  8:37 Sam James
2018-01-02  2:49 Mike Gilbert
2016-09-19 14:00 Mike Gilbert
2016-05-16 16:20 Brian Dolbec

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1677554061.509d54b8b3f926ed718bd97920b4bcc7e2238f41.sam@gentoo \
    --to=sam@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox