]> code.ossystems Code Review - openembedded-core.git/commitdiff
buildhistory-diff: suggest correct version of PythonGit
authorEd Bartosh <ed.bartosh@linux.intel.com>
Fri, 10 Jun 2016 07:43:52 +0000 (10:43 +0300)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sun, 12 Jun 2016 22:42:40 +0000 (23:42 +0100)
If buildhistory-diff can't import git module it throws error
message suggesting to install it.

Due to the move to Python 3 the suggested package name and
version became outdated.

Changed package name to python3-git and version to >= 0.3.4
as GitPython supports Python 3 starting from 0.3.4.

[YOCTO #9741]

Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
scripts/buildhistory-diff

index dc8b8f236e7bec80d814a3d7b8986c7c0e3720e7..d8ca12d3e66c3f340218dd12b1db6f20eb5b570f 100755 (executable)
@@ -14,7 +14,7 @@ from distutils.version import LooseVersion
 try:
     import git
 except ImportError:
-    print("Please install GitPython (python-git) 0.3.1 or later in order to use this script")
+    print("Please install GitPython (python3-git) 0.3.4 or later in order to use this script")
     sys.exit(1)
 
 def main():