Previously it was same as status update recipients.

Signed-off-by: Alexander Kanavin <alex.kana...@gmail.com>
---
 upgrade-helper.conf | 3 +++
 upgradehelper.py    | 4 ++--
 2 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/upgrade-helper.conf b/upgrade-helper.conf
index 98ef58f..e926300 100644
--- a/upgrade-helper.conf
+++ b/upgrade-helper.conf
@@ -31,6 +31,9 @@
 # except when recipes are owned by specific maintainer_override entries above.
 #global_maintainer_override=john....@doe.com
 
+# who should be CCd with all upgrade emails (optional)
+#cc_recipients=john....@doe.com
+
 # who should get the status mail with statistics, at the end (optional)
 #status_recipients=john....@doe.com
 
diff --git a/upgradehelper.py b/upgradehelper.py
index 061d18d..c2480f1 100755
--- a/upgradehelper.py
+++ b/upgradehelper.py
@@ -321,8 +321,8 @@ class Updater(object):
             to_addr = pkg_ctx['MAINTAINER']
 
         cc_addr = None
-        if "status_recipients" in settings:
-            cc_addr = settings["status_recipients"].split()
+        if "cc_recipients" in settings:
+            cc_addr = settings["cc_recipients"].split()
 
         newversion = pkg_ctx['NPV'] if not 
pkg_ctx['NPV'].endswith("new-commits-available") else pkg_ctx['NSRCREV']
         subject = "[AUH] " + pkg_ctx['PN'] + ": upgrading to " + newversion
-- 
2.27.0

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#49776): https://lists.yoctoproject.org/g/yocto/message/49776
Mute This Topic: https://lists.yoctoproject.org/mt/75210262/21656
Group Owner: yocto+ow...@lists.yoctoproject.org
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub  
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to