* [PATCH] sanity.bbclass: Update minimum git version to 1.7.8
@ 2014-07-04 10:49 Richard Purdie
2014-07-07 10:58 ` Maxin B. John
0 siblings, 1 reply; 2+ messages in thread
From: Richard Purdie @ 2014-07-04 10:49 UTC (permalink / raw)
To: Maxin B. John, openembedded-core
To quote "Maxin B. John" <maxin.john@enea.com>:
git version 1.7.8 added the --list option to git-branch. Since we depend on this
option in git.py, the minimum requiremnt for git should be updated to Git
1.7.8+
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
diff --git a/meta/classes/sanity.bbclass b/meta/classes/sanity.bbclass
index 4b42b17..ed65814 100644
--- a/meta/classes/sanity.bbclass
+++ b/meta/classes/sanity.bbclass
@@ -386,15 +386,15 @@ def check_tar_version(sanity_data):
return "Your version of tar is older than 1.24 and has bugs which will break builds. Please install a newer version of tar.\n"
return None
-# We use git parameters and functionality only found in 1.7.5 or later
+# We use git parameters and functionality only found in 1.7.8 or later
def check_git_version(sanity_data):
from distutils.version import LooseVersion
status, result = oe.utils.getstatusoutput("git --version 2> /dev/null")
if status != 0:
return "Unable to execute git --version, exit code %s\n" % status
version = result.split()[2]
- if LooseVersion(version) < LooseVersion("1.7.5"):
- return "Your version of git is older than 1.7.5 and has bugs which will break builds. Please install a newer version of git.\n"
+ if LooseVersion(version) < LooseVersion("1.7.8"):
+ return "Your version of git is older than 1.7.8 and has bugs which will break builds. Please install a newer version of git.\n"
return None
# Check the required perl modules which may not be installed by default
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] sanity.bbclass: Update minimum git version to 1.7.8
2014-07-04 10:49 [PATCH] sanity.bbclass: Update minimum git version to 1.7.8 Richard Purdie
@ 2014-07-07 10:58 ` Maxin B. John
0 siblings, 0 replies; 2+ messages in thread
From: Maxin B. John @ 2014-07-07 10:58 UTC (permalink / raw)
To: Richard Purdie; +Cc: openembedded-core
Hi,
On Fri, Jul 04, 2014 at 11:49:50AM +0100, Richard Purdie wrote:
> To quote "Maxin B. John" <maxin.john@enea.com>:
>
> git version 1.7.8 added the --list option to git-branch. Since we depend on this
> option in git.py, the minimum requiremnt for git should be updated to Git
> 1.7.8+
>
> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
>
> diff --git a/meta/classes/sanity.bbclass b/meta/classes/sanity.bbclass
> index 4b42b17..ed65814 100644
> --- a/meta/classes/sanity.bbclass
> +++ b/meta/classes/sanity.bbclass
> @@ -386,15 +386,15 @@ def check_tar_version(sanity_data):
> return "Your version of tar is older than 1.24 and has bugs which will break builds. Please install a newer version of tar.\n"
> return None
>
> -# We use git parameters and functionality only found in 1.7.5 or later
> +# We use git parameters and functionality only found in 1.7.8 or later
> def check_git_version(sanity_data):
> from distutils.version import LooseVersion
> status, result = oe.utils.getstatusoutput("git --version 2> /dev/null")
> if status != 0:
> return "Unable to execute git --version, exit code %s\n" % status
> version = result.split()[2]
> - if LooseVersion(version) < LooseVersion("1.7.5"):
> - return "Your version of git is older than 1.7.5 and has bugs which will break builds. Please install a newer version of git.\n"
> + if LooseVersion(version) < LooseVersion("1.7.8"):
> + return "Your version of git is older than 1.7.8 and has bugs which will break builds. Please install a newer version of git.\n"
> return None
>
> # Check the required perl modules which may not be installed by default
Ah, I missed this part. Thanks for updating it!
Reviewed-by: Maxin B. John <maxin.john@enea.com>
Best Regards,
Maxin
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2014-07-07 10:58 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-07-04 10:49 [PATCH] sanity.bbclass: Update minimum git version to 1.7.8 Richard Purdie
2014-07-07 10:58 ` Maxin B. John
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox