rrs_upstream_email: Update rrs maintainer info and logging
PATCH 1/1 rrs_upstream_email: Update rrs maintainer info and logging
This change updates rrs maintainer contact data and adds script start and end log messages.
Signed-off-by Jose Lamego <[email protected]>
--- rrs/tools/rrs_upstream_email.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-)
rrs/tools/rrs_upstream_email.py +4 -1
@@ -102,7 +102,7 @@ http://recipes.yoctoproject.org/ The based commit is: %s -Any problem, please contact Anibal Limon <[email protected]> +Any problem, please contact Jose Lamego <[email protected]> """ % ((upgradable_count - no_upgradable_count), upgradable_count, utils.runcmd("git log -1", repodir))
@@ -114,6 +114,7 @@ Any problem, please contact Anibal Limon <[email protected]> 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__":
Signature · 1 line
2.7.4