All of lore.kernel.org
 help / color / mirror / Atom feed
* [RFC] Update git/git-native
@ 2008-11-15  0:56 Denys Dmytriyenko
  2008-11-15  2:30 ` Otavio Salvador
  2008-11-18 15:19 ` Koen Kooi
  0 siblings, 2 replies; 5+ messages in thread
From: Denys Dmytriyenko @ 2008-11-15  0:56 UTC (permalink / raw)
  To: openembedded-devel

[-- Attachment #1: Type: text/plain, Size: 1589 bytes --]

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.

-- 
Denys

[-- Attachment #2: 0001-git-move-version-specific-patch-from-inc.patch --]
[-- Type: text/plain, Size: 2127 bytes --]

From cb6e360408e35711170614c4a1c05628d11a5df7 Mon Sep 17 00:00:00 2001
From: Denys Dmytriyenko <denis@denix.org>
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(-)

diff --git a/packages/git/git-native_1.5.2.3.bb b/packages/git/git-native_1.5.2.3.bb
index 7ddfee0..34fa87e 100644
--- a/packages/git/git-native_1.5.2.3.bb
+++ b/packages/git/git-native_1.5.2.3.bb
@@ -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 = ""
diff --git a/packages/git/git-native_1.5.3.bb b/packages/git/git-native_1.5.3.bb
index 1ef8eaf..6b9dacb 100644
--- a/packages/git/git-native_1.5.3.bb
+++ b/packages/git/git-native_1.5.3.bb
@@ -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"
diff --git a/packages/git/git.inc b/packages/git/git.inc
index de63c54..fb88fd4 100644
--- a/packages/git/git.inc
+++ b/packages/git/git.inc
@@ -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}"
 
diff --git a/packages/git/git_1.5.3.bb b/packages/git/git_1.5.3.bb
index f250bd5..491bb3f 100644
--- a/packages/git/git_1.5.3.bb
+++ b/packages/git/git_1.5.3.bb
@@ -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"
-
-- 
1.5.6.4


[-- Attachment #3: 0002-git-add-version-1.5.4.patch --]
[-- Type: text/plain, Size: 1087 bytes --]

From b312b30ca9804ba8852feef213de0afc68f56aa4 Mon Sep 17 00:00:00 2001
From: Denys Dmytriyenko <denis@denix.org>
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

diff --git a/packages/git/git-native_1.5.4.bb b/packages/git/git-native_1.5.4.bb
new file mode 100644
index 0000000..b5bfa02
--- /dev/null
+++ b/packages/git/git-native_1.5.4.bb
@@ -0,0 +1,4 @@
+require git.inc
+inherit native
+DEPENDS = "openssl-native curl-native zlib-native expat-native"
+PR = "r3"
diff --git a/packages/git/git_1.5.4.bb b/packages/git/git_1.5.4.bb
new file mode 100644
index 0000000..e06a4b2
--- /dev/null
+++ b/packages/git/git_1.5.4.bb
@@ -0,0 +1,4 @@
+require git.inc
+DEPENDS = "openssl curl zlib expat"
+RDEPENDS = "perl perl-module-file-path cpio findutils sed"
+PR = "r3"
-- 
1.5.6.4


[-- Attachment #4: 0003-git-add-version-1.6.0.4.patch --]
[-- Type: text/plain, Size: 1109 bytes --]

From 8146efb42306c21afb5b591e009241a574922489 Mon Sep 17 00:00:00 2001
From: Denys Dmytriyenko <denis@denix.org>
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

diff --git a/packages/git/git-native_1.6.0.4.bb b/packages/git/git-native_1.6.0.4.bb
new file mode 100644
index 0000000..b5bfa02
--- /dev/null
+++ b/packages/git/git-native_1.6.0.4.bb
@@ -0,0 +1,4 @@
+require git.inc
+inherit native
+DEPENDS = "openssl-native curl-native zlib-native expat-native"
+PR = "r3"
diff --git a/packages/git/git_1.6.0.4.bb b/packages/git/git_1.6.0.4.bb
new file mode 100644
index 0000000..e06a4b2
--- /dev/null
+++ b/packages/git/git_1.6.0.4.bb
@@ -0,0 +1,4 @@
+require git.inc
+DEPENDS = "openssl curl zlib expat"
+RDEPENDS = "perl perl-module-file-path cpio findutils sed"
+PR = "r3"
-- 
1.5.6.4


^ permalink raw reply related	[flat|nested] 5+ messages in thread

* Re: [RFC] Update git/git-native
  2008-11-15  0:56 [RFC] Update git/git-native Denys Dmytriyenko
@ 2008-11-15  2:30 ` Otavio Salvador
  2008-11-18  1:25   ` Denys Dmytriyenko
  2008-11-18 15:19 ` Koen Kooi
  1 sibling, 1 reply; 5+ messages in thread
From: Otavio Salvador @ 2008-11-15  2:30 UTC (permalink / raw)
  To: openembedded-devel

Denys Dmytriyenko <denis@denix.org> writes:

> 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.

-- 
        O T A V I O    S A L V A D O R
---------------------------------------------
 E-mail: otavio@debian.org      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."



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [RFC] Update git/git-native
  2008-11-15  2:30 ` Otavio Salvador
@ 2008-11-18  1:25   ` Denys Dmytriyenko
  0 siblings, 0 replies; 5+ messages in thread
From: Denys Dmytriyenko @ 2008-11-18  1:25 UTC (permalink / raw)
  To: openembedded-devel

On Sat, Nov 15, 2008 at 12:30:44AM -0200, Otavio Salvador wrote:
> Denys Dmytriyenko <denis@denix.org> writes:
> 
> > 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.

-- 
Denys



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [RFC] Update git/git-native
  2008-11-15  0:56 [RFC] Update git/git-native Denys Dmytriyenko
  2008-11-15  2:30 ` Otavio Salvador
@ 2008-11-18 15:19 ` Koen Kooi
  2008-11-18 21:15   ` Denys Dmytriyenko
  1 sibling, 1 reply; 5+ messages in thread
From: Koen Kooi @ 2008-11-18 15:19 UTC (permalink / raw)
  To: openembedded-devel

On 15-11-08 01:56, Denys Dmytriyenko wrote:
> 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.

git (for the target) fails to build for arm: 
http://tinderbox.openembedded.net/packages/233747/

could you have a look at it?

regards,

Koen




^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [RFC] Update git/git-native
  2008-11-18 15:19 ` Koen Kooi
@ 2008-11-18 21:15   ` Denys Dmytriyenko
  0 siblings, 0 replies; 5+ messages in thread
From: Denys Dmytriyenko @ 2008-11-18 21:15 UTC (permalink / raw)
  To: openembedded-devel; +Cc: openembedded-devel

On Tue, Nov 18, 2008 at 04:19:02PM +0100, Koen Kooi wrote:
> 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

-- 
Denys



^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2008-11-18 21:18 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-11-15  0:56 [RFC] Update git/git-native Denys Dmytriyenko
2008-11-15  2:30 ` Otavio Salvador
2008-11-18  1:25   ` Denys Dmytriyenko
2008-11-18 15:19 ` Koen Kooi
2008-11-18 21:15   ` Denys Dmytriyenko

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.