From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by mail.openembedded.org (Postfix) with ESMTP id 9872F77205 for ; Fri, 19 Feb 2016 14:34:39 +0000 (UTC) Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by fmsmga102.fm.intel.com with ESMTP; 19 Feb 2016 06:34:41 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.22,470,1449561600"; d="scan'208";a="919362982" Received: from marquiz.fi.intel.com ([10.237.72.155]) by fmsmga002.fm.intel.com with ESMTP; 19 Feb 2016 06:34:37 -0800 Message-ID: <1455892476.2298.11.camel@linux.intel.com> From: Markus Lehtonen To: Richard Purdie Date: Fri, 19 Feb 2016 16:34:36 +0200 X-Mailer: Evolution 3.16.5 Mime-Version: 1.0 Cc: bitbake-devel@lists.openembedded.org Subject: [RFC] file checksum cache refactoring X-BeenThere: bitbake-devel@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Patches and discussion that advance bitbake development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 19 Feb 2016 14:34:39 -0000 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit Hi, I pushed a patchset for inspection here: http://git.openembedded.org/openembedded-core-contrib/log/?h=marquiz/bi tbake/checksum-refactor The first three patches are refactoring that could be merged without breaking anything, the last patch extending the SignatureGenerator API. The two last patches are something that could be merged at some later point as they make the new API mandatory. Any comments and suggestions are welcome. Cheers, Markus ---------------------------------------------------------------- Markus Lehtonen (5): bb/siggen: drop commented-out code Move file checksum cache out of SignatureGenerator SignatureGenerator: add checksum_cache argument to get_taskhash() SignatureGenerator: make checksum_cache arg of get_taskhash() mandatory bb/fetch2: drop checksum cache lib/bb/cooker.py | 2 -- lib/bb/fetch2/__init__.py | 18 ------------------ lib/bb/runqueue.py | 13 +++++++++++-- lib/bb/siggen.py | 29 +++-------------------------- 4 files changed, 14 insertions(+), 48 deletions(-)