All of lore.kernel.org
 help / color / mirror / Atom feed
From: Denys Dmytriyenko <denis@denix.org>
To: openembedded-devel@lists.openembedded.org
Subject: [RFC] Update git/git-native
Date: Fri, 14 Nov 2008 19:56:54 -0500	[thread overview]
Message-ID: <20081115005654.GA20517@denix.org> (raw)

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


             reply	other threads:[~2008-11-15  0:59 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-11-15  0:56 Denys Dmytriyenko [this message]
2008-11-15  2:30 ` [RFC] Update git/git-native Otavio Salvador
2008-11-18  1:25   ` Denys Dmytriyenko
2008-11-18 15:19 ` Koen Kooi
2008-11-18 21:15   ` Denys Dmytriyenko

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20081115005654.GA20517@denix.org \
    --to=denis@denix.org \
    --cc=openembedded-devel@lists.openembedded.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.