Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id 0C0D2E00AD9; Mon, 5 Oct 2015 06:39:43 -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.24 listed in list.dnswl.org] * -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id 6CFFAE007A7 for ; Mon, 5 Oct 2015 06:39:41 -0700 (PDT) Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by orsmga102.jf.intel.com with ESMTP; 05 Oct 2015 06:39:41 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.17,638,1437462000"; d="scan'208";a="574395479" Received: from blynch-mobl1.ger.corp.intel.com (HELO lp.ger.corp.intel.com) ([10.252.3.31]) by FMSMGA003.fm.intel.com with ESMTP; 05 Oct 2015 06:39:39 -0700 From: Elliot Smith To: toaster@yoctoproject.org Date: Mon, 5 Oct 2015 14:39:33 +0100 Message-Id: <1444052375-17256-1-git-send-email-elliot.smith@intel.com> X-Mailer: git-send-email 1.9.3 Subject: [review-request][PATCH 0/2][v2] Fix cooker log download button X-BeenThere: toaster@yoctoproject.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Web based interface for BitBake List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Oct 2015 13:39:43 -0000 This supersedes https://lists.yoctoproject.org/pipermail/toaster/2015-September/002877.html (which was a single commit). * Retrieve a build's log file location directly from the file system, as the one which is available at the time of the BuildStarted event is incorrect. * Hide the "Download build log" button for builds which fail early (e.g. due to recipe parsing) and consequently have no cooker_log_path. Changes since 986f6b04b26bba9d01393f8f4ced4e0f4385368a (toaster-next) are in git://git.yoctoproject.org/poky-contrib, elliot/toaster/wrong_log-8373 http://git.yoctoproject.org/cgit.cgi/poky-contrib/log/?h=elliot/toaster/wrong_log-8373 Related bug: https://bugzilla.yoctoproject.org/show_bug.cgi?id=8373 Elliot Smith (2): toaster: Manually retrieve log file location from filesystem toaster: Hide "Download build log" button if log doesn't exist bitbake/lib/bb/ui/toasterui.py | 31 +++++++++++++++++++++- .../toastergui/templates/builddashboard.html | 4 ++- 2 files changed, 33 insertions(+), 2 deletions(-) -- Elliot Smith Software Engineer Intel OTC --------------------------------------------------------------------- Intel Corporation (UK) Limited Registered No. 1134945 (England) Registered Office: Pipers Way, Swindon SN3 1RJ VAT No: 860 2173 47 This e-mail and any attachments may contain confidential material for the sole use of the intended recipient(s). Any review or distribution by others is strictly prohibited. If you are not the intended recipient, please contact the sender and delete all copies.