]> code.ossystems Code Review - openembedded-core.git/commitdiff
bitbake: Update to 1.8.10 release
authorRichard Purdie <richard@openedhand.com>
Sun, 20 Jan 2008 14:58:00 +0000 (14:58 +0000)
committerRichard Purdie <richard@openedhand.com>
Sun, 20 Jan 2008 14:58:00 +0000 (14:58 +0000)
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3555 311d38ba-8fff-0310-9ca6-ca027cbcb966

bitbake/ChangeLog
bitbake/bin/bitbake
bitbake/lib/bb/__init__.py
bitbake/lib/bb/fetch/git.py
bitbake/lib/bb/persist_data.py

index 8f251475aaa368fe5df50795f69a0789686a9ed7..72ef22d610fcb7a7ee04dcfe81cfda7850a52520 100644 (file)
@@ -1,4 +1,4 @@
-Changes in BitBake 1.8.x:
+Changes in BitBake 1.8.10:
        - Psyco is available only for x86 - do not use it on other architectures.
        - Fix a bug in bb.decodeurl where http://some.where.com/somefile.tgz decoded to host="" (#1530)
        - Warn about malformed PREFERRED_PROVIDERS (#1072)
index 384175d852a697ea47fc1ebd67a67a97a7d15719..4492bf045b31b497716d7f7668ef9819e12f2957 100755 (executable)
@@ -27,7 +27,7 @@ sys.path.insert(0,os.path.join(os.path.dirname(os.path.dirname(sys.argv[0])), 'l
 import bb
 from bb import cooker
 
-__version__ = "1.8.9"
+__version__ = "1.8.11"
 
 #============================================================================#
 # BBOptions
index 6179ef9a1cb75eb697f5df3540455e509a857b16..a126c17693938a1661d6660315dce8e7bd251cf1 100644 (file)
@@ -21,7 +21,7 @@
 # with this program; if not, write to the Free Software Foundation, Inc.,
 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
 
-__version__ = "1.8.9"
+__version__ = "1.8.11"
 
 __all__ = [
 
index 9cc7f4e08622868346d1952b30c3058694dff6e8..65ea5e5cadb5478a4c88fa73fc983505c7b3c53c 100644 (file)
@@ -131,8 +131,9 @@ class Git(Fetch):
         return "git:" + ud.host + ud.path.replace('/', '.')
 
     def _latest_revision(self, url, ud, d):
-
-        bb.msg.note(1, bb.msg.domain.Fetcher, "Calling git ls-remote %s://%s%s %s" % (ud.proto, ud.host, ud.path, ud.branch ) )
+        """
+        Compute the HEAD revision for the url
+        """
         output = runfetchcmd("git ls-remote %s://%s%s %s" % (ud.proto, ud.host, ud.path, ud.branch), d, True)
         return output.split()[0]
 
index 0b88dadba577f87b79759e8519920395daaf6af4..3103805ce178e3226e0d06bd5d00ff1770065ab5 100644 (file)
@@ -23,7 +23,11 @@ except ImportError:
     try:
         from pysqlite2 import dbapi2 as sqlite3
     except ImportError:
-        bb.msg.fatal(bb.msg.domain.PersistData, "Importing sqlite3 and pysqlite2 failed, please install one of them. A 'python-pysqlite2' like package is likely to be what you need.")
+        bb.msg.fatal(bb.msg.domain.PersistData, "Importing sqlite3 and pysqlite2 failed, please install one of them. Python 2.5 or a 'python-pysqlite2' like package is likely to be what you need.")
+
+sqlversion = sqlite3.sqlite_version_info
+if sqlversion[0] < 3 or (sqlversion[0] == 3 and sqlversion[1] < 3):
+    bb.msg.fatal(bb.msg.domain.PersistData, "sqlite3 version 3.3.0 or later is required.")
 
 class PersistData:
     """