Update git/git-native
RFC 1/1 Update git/git-native
Hi,
I'd like to propose to update the git recipe (specifically, the native one) to something newer than 1.5.3, currently used. The problem with that particular version is that it does not work reliably through the proxy. Here is the symptom:
$ GIT_PROXY_COMMAND=~/git-proxy.sh /OE/tmp/staging/i686-linux/usr/bin/git --version git version 1.5.3
$ GIT_PROXY_COMMAND=~/git-proxy.sh /OE/tmp/staging/i686-linux/usr/bin/git clone git://git.infradead.org/mtd-utils.git Initialized empty Git repository in /tmp/mtd-utils/.git/ fatal: The remote end hung up unexpectedly fatal: early EOF fatal: index-pack died with error code 128 fetch-pack from 'git://git.infradead.org/mtd-utils.git' failed.
The first version to work reliably with GIT_PROXY_COMMAND is 1.5.4:
$ GIT_PROXY_COMMAND=~/git-proxy.sh /OE/tmp/staging/i686-linux/usr/bin/git --version git version 1.5.4
$ GIT_PROXY_COMMAND=~/git-proxy.sh /OE/tmp/staging/i686-linux/usr/bin/git clone git://git.infradead.org/mtd-utils.git Initialized empty Git repository in /tmp/mtd-utils/.git/ remote: Counting objects: 2308, done. remote: Compressing objeremote: cts: 100% (676/676), done. remote: Total 2308 (delta 1592), reused 2308 (delta 1592) Receiving objects: 100% (2308/2308), 942.42 KiB | 595 KiB/s, done. Resolving deltas: 100% (1592/1592), done.
I'm not sure if there is some requirement to stick with 1.5.x version of git, if not the latest stable version is 1.6.0.4 - I am attaching patches for both just in case, with corresponding ticket #4835.
Please provide any comments.
Signature · 1 line
Denys
From cb6e360408e35711170614c4a1c05628d11a5df7 Mon Sep 17 00:00:00 2001
From: Denys Dmytriyenko <[email protected]>
Date: Fri, 14 Nov 2008 19:33:40 -0500
Subject: [PATCH] git: move version specific git-gui-install-mode-arg-spaces.patch from .inc
--- packages/git/git-native_1.5.2.3.bb | 3 ++- packages/git/git-native_1.5.3.bb | 3 +++ packages/git/git.inc | 1 - packages/git/git_1.5.3.bb | 4 +++- 4 files changed, 8 insertions(+), 3 deletions(-)
packages/git/git-native_1.5.2.3.bb +2 -1
@@ -1,6 +1,7 @@ - inherit native require git_${PV}.bb +SRC_URI += "file://git-gui-install-mode-arg-spaces.patch;patch=1" + DEPENDS = "openssl-native curl-native zlib-native expat-native" RDEPENDS = ""
packages/git/git-native_1.5.3.bb +3 -0
@@ -1,4 +1,7 @@ require git.inc + +SRC_URI += "file://git-gui-install-mode-arg-spaces.patch;patch=1" + inherit native DEPENDS = "openssl-native curl-native zlib-native expat-native" PR = "r2"
packages/git/git.inc +0 -1
@@ -4,7 +4,6 @@ LICENSE = "GPL" SRC_URI = "http://www.kernel.org/pub/software/scm/git/git-${PV}.tar.bz2 \ file://autotools.patch;patch=1 \ - file://git-gui-install-mode-arg-spaces.patch;patch=1 \ " S = "${WORKDIR}/git-${PV}"
packages/git/git_1.5.3.bb +3 -1
@@ -1,5 +1,7 @@ require git.inc + +SRC_URI += "file://git-gui-install-mode-arg-spaces.patch;patch=1" + DEPENDS = "openssl curl zlib expat" RDEPENDS = "perl perl-module-file-path cpio findutils sed" PR = "r2" -
Signature · 1 line
1.5.6.4
From b312b30ca9804ba8852feef213de0afc68f56aa4 Mon Sep 17 00:00:00 2001
From: Denys Dmytriyenko <[email protected]>
Date: Fri, 14 Nov 2008 19:36:05 -0500
Subject: [PATCH] git: add version 1.5.4
--- packages/git/git-native_1.5.4.bb | 4 ++++ packages/git/git_1.5.4.bb | 4 ++++ 2 files changed, 8 insertions(+), 0 deletions(-) create mode 100644 packages/git/git-native_1.5.4.bb create mode 100644 packages/git/git_1.5.4.bb
packages/git/git-native_1.5.4.bb new file +4 -0
@@ -0,0 +1,4 @@ +require git.inc +inherit native +DEPENDS = "openssl-native curl-native zlib-native expat-native" +PR = "r3"
packages/git/git_1.5.4.bb new file +4 -0
@@ -0,0 +1,4 @@ +require git.inc +DEPENDS = "openssl curl zlib expat" +RDEPENDS = "perl perl-module-file-path cpio findutils sed" +PR = "r3"
Signature · 1 line
1.5.6.4
From 8146efb42306c21afb5b591e009241a574922489 Mon Sep 17 00:00:00 2001
From: Denys Dmytriyenko <[email protected]>
Date: Fri, 14 Nov 2008 19:36:56 -0500
Subject: [PATCH] git: add version 1.6.0.4
--- packages/git/git-native_1.6.0.4.bb | 4 ++++ packages/git/git_1.6.0.4.bb | 4 ++++ 2 files changed, 8 insertions(+), 0 deletions(-) create mode 100644 packages/git/git-native_1.6.0.4.bb create mode 100644 packages/git/git_1.6.0.4.bb
packages/git/git-native_1.6.0.4.bb new file +4 -0
@@ -0,0 +1,4 @@ +require git.inc +inherit native +DEPENDS = "openssl-native curl-native zlib-native expat-native" +PR = "r3"
packages/git/git_1.6.0.4.bb new file +4 -0
@@ -0,0 +1,4 @@ +require git.inc +DEPENDS = "openssl curl zlib expat" +RDEPENDS = "perl perl-module-file-path cpio findutils sed" +PR = "r3"
Signature · 1 line
1.5.6.4
Quoted 5 lines · Denys Dmytriyenko
I'm not sure if there is some requirement to stick with 1.5.x version of git, if not the latest stable version is 1.6.0.4 - I am attaching patches for both just in case, with corresponding ticket #4835.
Please provide any comments.
Well I'm more up to go with 1.6.0.4 for it so we have the latest version with all the latest bug fixes on it.
Signature · 8 lines
O T A V I O S A L V A D O R --------------------------------------------- E-mail: [email protected] UIN: 5906116 GNU/Linux User: 239058 GPG ID: 49A5F855 Home Page: http://otavio.ossystems.com.br --------------------------------------------- "Microsoft sells you Windows ... Linux gives you the whole house."
Quoted 10 lines · Otavio Salvador
Quoted 5 lines · Denys Dmytriyenko
I'm not sure if there is some requirement to stick with 1.5.x version of git, if not the latest stable version is 1.6.0.4 - I am attaching patches for both just in case, with corresponding ticket #4835.
Please provide any comments.
Well I'm more up to go with 1.6.0.4 for it so we have the latest version with all the latest bug fixes on it.
So, should I commit 1.6.0.4 only? Hope it won't break anyone's fetches.
Signature · 1 line
Denys
Quoted 30 lines · Denys Dmytriyenko
Hi,
I'd like to propose to update the git recipe (specifically, the native one) to something newer than 1.5.3, currently used. The problem with that particular version is that it does not work reliably through the proxy. Here is the symptom:
$ GIT_PROXY_COMMAND=~/git-proxy.sh /OE/tmp/staging/i686-linux/usr/bin/git --version git version 1.5.3$ GIT_PROXY_COMMAND=~/git-proxy.sh /OE/tmp/staging/i686-linux/usr/bin/git clone git://git.infradead.org/mtd-utils.git Initialized empty Git repository in /tmp/mtd-utils/.git/ fatal: The remote end hung up unexpectedly fatal: early EOF fatal: index-pack died with error code 128 fetch-pack from 'git://git.infradead.org/mtd-utils.git' failed.The first version to work reliably with
GIT_PROXY_COMMANDis 1.5.4:$ GIT_PROXY_COMMAND=~/git-proxy.sh /OE/tmp/staging/i686-linux/usr/bin/git --version git version 1.5.4$ GIT_PROXY_COMMAND=~/git-proxy.sh /OE/tmp/staging/i686-linux/usr/bin/git clone git://git.infradead.org/mtd-utils.git Initialized empty Git repository in /tmp/mtd-utils/.git/ remote: Counting objects: 2308, done. remote: Compressing objeremote: cts: 100% (676/676), done. remote: Total 2308 (delta 1592), reused 2308 (delta 1592) Receiving objects: 100% (2308/2308), 942.42 KiB | 595 KiB/s, done. Resolving deltas: 100% (1592/1592), done.
Quoted 5 lines
I'm not sure if there is some requirement to stick with 1.5.x version of git, if not the latest stable version is 1.6.0.4 - I am attaching patches for both just in case, with corresponding ticket #4835.
Please provide any comments.
git (for the target) fails to build for arm: http://tinderbox.openembedded.net/packages/233747/
could you have a look at it?
regards,
Koen
Quoted 4 lines · Koen Kooi
git (for the target) fails to build for arm:
http://tinderbox.openembedded.net/packages/233747/could you have a look at it?
Sorry for that. Fixed in 46e30ed6ebb1a872f919363c6ff047344049079c
Signature · 1 line
Denys