[yocto] [rrs][PATCH] rrs_upstream_email: Update rrs maintainer info and logging

Jose Lamego jose.a.lamego at linux.intel.com
Tue Oct 17 15:04:46 PDT 2017


This change updates rrs maintainer contact data and adds
script start and end log messages.

Signed-off-by: Jose Lamego <jose.a.lamego at linux.intel.com>
---
 rrs/tools/rrs_upstream_email.py | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/rrs/tools/rrs_upstream_email.py b/rrs/tools/rrs_upstream_email.py
index 0e73957..7f369ab 100755
--- a/rrs/tools/rrs_upstream_email.py
+++ b/rrs/tools/rrs_upstream_email.py
@@ -102,7 +102,7 @@ http://recipes.yoctoproject.org/
 The based commit is:
 
 %s
-Any problem, please contact Anibal Limon <anibal.limon at intel.com> 
+Any problem, please contact Jose Lamego <jose.a.lamego at linux.intel.com> 
 """ % ((upgradable_count - no_upgradable_count), upgradable_count, 
         utils.runcmd("git log -1", repodir))
 
@@ -114,6 +114,7 @@ Any problem, please contact Anibal Limon <anibal.limon at intel.com>
 
     msg = EmailMessage(subject, text_content, from_email, to_email_list)
     msg.send()
+    logger.debug("Email created and sent to %s" % settings.RRS_EMAIL_TO)
 
 def main():
     parser = optparse.OptionParser(
@@ -166,6 +167,8 @@ def main():
 
     repodir = os.path.join(settings.LAYER_FETCH_DIR, layer.get_fetch_dir())
 
+    logger.debug("Starting email creation")
+
     send_email(recipes, repodir, options)
 
 if __name__ == "__main__":
-- 
2.7.4




More information about the yocto mailing list