Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id F1684E00D0D; Tue, 17 Oct 2017 20:34:36 -0700 (PDT) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on yocto-www.yoctoproject.org X-Spam-Level: X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 X-Spam-HAM-Report: * -5.0 RCVD_IN_DNSWL_HI RBL: Sender listed at http://www.dnswl.org/, high * trust * [134.134.136.65 listed in list.dnswl.org] * -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id 618FEE00CBE for ; Tue, 17 Oct 2017 20:34:35 -0700 (PDT) Received: from orsmga001.jf.intel.com ([10.7.209.18]) by orsmga103.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 17 Oct 2017 20:34:35 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.43,393,1503385200"; d="scan'208";a="1309027" Received: from jalamego-mobl3.zpn.intel.com ([10.219.128.138]) by orsmga001.jf.intel.com with ESMTP; 17 Oct 2017 15:04:51 -0700 From: Jose Lamego To: yocto@yoctoproject.org Date: Tue, 17 Oct 2017 17:04:46 -0500 Message-Id: <1508277886-6384-1-git-send-email-jose.a.lamego@linux.intel.com> X-Mailer: git-send-email 2.7.4 Subject: [rrs][PATCH] rrs_upstream_email: Update rrs maintainer info and logging X-BeenThere: yocto@yoctoproject.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Discussion of all things Yocto Project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 Oct 2017 03:34:37 -0000 This change updates rrs maintainer contact data and adds script start and end log messages. Signed-off-by: Jose Lamego --- 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 +Any problem, please contact Jose Lamego """ % ((upgradable_count - no_upgradable_count), upgradable_count, utils.runcmd("git log -1", repodir)) @@ -114,6 +114,7 @@ Any problem, please contact Anibal Limon 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