bitbake/lib/bb/cache.py:
authorRichard Purdie <rpurdie@linux.intel.com>
Sun, 16 Apr 2006 18:21:08 +0000 (18:21 +0000)
committerRichard Purdie <rpurdie@linux.intel.com>
Sun, 16 Apr 2006 18:21:08 +0000 (18:21 +0000)
bitbake/lib/bb/shell.py:
bitbake/bin/bitbake:
* Remove a useless return value from loadDataFull
bitbake/ChangeLog:
* Update the changelog with recent changes

ChangeLog
bin/bitbake
lib/bb/cache.py
lib/bb/shell.py

index a93e704..b0d1d01 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -6,6 +6,9 @@ Changes in BitBake 1.3.x:
        - git fetcher cleanup and efficency improvements
        - Change the format of the cache
        - Update usermanual to document the Fetchers
+       - Major changes to caching with a new strategy
+         giving a major performance increase when reparsing
+         with few data changes
 
 Changes in BitBake 1.3.3:
        - Create a new Fetcher module to ease the
index af5704b..dffe0af 100755 (executable)
@@ -249,7 +249,7 @@ class BBCooker:
         If build_depends is empty, we're dealing with a runtime depends
         """
 
-        the_data, fromCache = self.bb_cache.loadDataFull(fn, self)
+        the_data = self.bb_cache.loadDataFull(fn, self)
 
         if not buildAllDeps:
             buildAllDeps = self.status.build_all[fn]
index 5899356..eb4ae85 100644 (file)
@@ -117,7 +117,7 @@ class Cache:
         To do this, we need to parse the file.
         """
         bb_data, skipped = self.load_bbfile(fn, cooker)
-        return bb_data, False
+        return bb_data
 
     def loadData(self, fn, cooker):
         """
index 841d698..f16f0f4 100644 (file)
@@ -433,7 +433,7 @@ SRC_URI = ""
         name, var = params
         bbfile = self._findProvider( name )
         if bbfile is not None:
-            the_data, cached = cooker.bb_cache.loadDataFull(bbfile, cooker)
+            the_data = cooker.bb_cache.loadDataFull(bbfile, cooker)
             value = the_data.getVar( var, 1 )
             print value
         else: