emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Worg pull broken?
@ 2010-10-22 15:55 Sébastien Vauban
  2010-10-24 19:06 ` David Maus
  0 siblings, 1 reply; 6+ messages in thread
From: Sébastien Vauban @ 2010-10-22 15:55 UTC (permalink / raw)
  To: emacs-orgmode-mXXj517/zsQ

Hello,

Just wanted to update my local repo of Worg:

--8<---------------cut here---------------start------------->8---
[sva@MEDIACENTER] ~/src/Worg>git pull
error: Unable to find 9a6e35ee0276b7736f5a08dccba52a4374574892 under http://repo.or.cz/r/Worg.git
Cannot obtain needed blob 9a6e35ee0276b7736f5a08dccba52a4374574892
while processing commit f58d7c210e22c66d18dae80f45280e32c086b7c3.
error: Fetch failed.
--8<---------------cut here---------------end--------------->8---

Does that tell you something?

Best regards,
  Seb

-- 
Sébastien Vauban


_______________________________________________
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode-mXXj517/zsQ@public.gmane.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

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

* Re: Worg pull broken?
  2010-10-22 15:55 Worg pull broken? Sébastien Vauban
@ 2010-10-24 19:06 ` David Maus
  2010-10-27  7:47   ` Sébastien Vauban
  2010-11-05  9:32   ` Sébastien Vauban
  0 siblings, 2 replies; 6+ messages in thread
From: David Maus @ 2010-10-24 19:06 UTC (permalink / raw)
  To: Sébastien Vauban; +Cc: emacs-orgmode


[-- Attachment #1.1: Type: text/plain, Size: 984 bytes --]

At Fri, 22 Oct 2010 17:55:28 +0200,
Sébastien Vauban wrote:
> 
> Hello,
> 
> Just wanted to update my local repo of Worg:
> 
> --8<---------------cut here---------------start------------->8---
> [sva@MEDIACENTER] ~/src/Worg>git pull
> error: Unable to find 9a6e35ee0276b7736f5a08dccba52a4374574892 under http://repo.or.cz/r/Worg.git
> Cannot obtain needed blob 9a6e35ee0276b7736f5a08dccba52a4374574892
> while processing commit f58d7c210e22c66d18dae80f45280e32c086b7c3.
> error: Fetch failed.
> --8<---------------cut here---------------end--------------->8---
> 
> Does that tell you something?

Does this problem still occur and what remote repository are you
pulling from?  (cat .git/config) There are postings on the web that
mention this error when pulling via http: protocol.

Pulling git+ssh://repo.or.cz/srv/git/Worg.git works fine here.

Best,
  -- David
-- 
OpenPGP... 0x99ADB83B5A4478E6
Jabber.... dmjena@jabber.org
Email..... dmaus@ictsoc.de

[-- Attachment #1.2: Type: application/pgp-signature, Size: 230 bytes --]

[-- Attachment #2: Type: text/plain, Size: 201 bytes --]

_______________________________________________
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

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

* Re: Worg pull broken?
  2010-10-24 19:06 ` David Maus
@ 2010-10-27  7:47   ` Sébastien Vauban
  2010-10-27 11:07     ` tycho garen
  2010-11-05  9:32   ` Sébastien Vauban
  1 sibling, 1 reply; 6+ messages in thread
From: Sébastien Vauban @ 2010-10-27  7:47 UTC (permalink / raw)
  To: emacs-orgmode-mXXj517/zsQ

Hello David Maus,

David Maus wrote:
> At Fri, 22 Oct 2010 17:55:28 +0200, Sébastien Vauban wrote:
>> 
>> Just wanted to update my local repo of Worg:
>> 
>> --8<---------------cut here---------------start------------->8---
>> [sva@MEDIACENTER] ~/src/Worg>git pull
>> error: Unable to find 9a6e35ee0276b7736f5a08dccba52a4374574892 under http://repo.or.cz/r/Worg.git
>> Cannot obtain needed blob 9a6e35ee0276b7736f5a08dccba52a4374574892
>> while processing commit f58d7c210e22c66d18dae80f45280e32c086b7c3.
>> error: Fetch failed.
>> --8<---------------cut here---------------end--------------->8---
>> 
>> Does that tell you something?
>
> Does this problem still occur

No...


> and what remote repository are you pulling from? (cat .git/config) There are
> postings on the web that mention this error when pulling via http: protocol.

#+begin_src sh
[sva@MEDIACENTER] ~/src/Worg>cat .git/config
[core]
        repositoryformatversion = 0
        filemode = true
        bare = false
        logallrefupdates = true
        ignorecase = true
[remote "origin"]
        fetch = +refs/heads/*:refs/remotes/origin/*
        url = http://repo.or.cz/r/Worg.git
[branch "master"]
        remote = origin
        merge = refs/heads/master
#+end_src


> Pulling git+ssh://repo.or.cz/srv/git/Worg.git works fine here.

- Does using ssh give you compression for free?  Hence, a quicker way to
  download big repos?

- Can you use whatever protocol (git, http, git+ssh) in front of any "git
  URL"?  I mean, if I see on the Web, http://xxx.git, can I replace http by
  git with no impact?

Best regards,
  Seb

-- 
Sébastien Vauban


_______________________________________________
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode-mXXj517/zsQ@public.gmane.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

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

* Re: Re: Worg pull broken?
  2010-10-27  7:47   ` Sébastien Vauban
@ 2010-10-27 11:07     ` tycho garen
  0 siblings, 0 replies; 6+ messages in thread
From: tycho garen @ 2010-10-27 11:07 UTC (permalink / raw)
  To: Sébastien Vauban; +Cc: emacs-orgmode

On Wed, Oct 27, 2010 at 09:47:24AM +0200, Sébastien Vauban wrote:
> - Does using ssh give you compression for free?  Hence, a quicker way to
>   download big repos?

Git can interact with the remote repository differently, allowing it
to do some de-duplication over SSH that it can't do over HTTP. Also,
depending on your SSH configurations SSH can (and generally is, I
think, correct me if I'm wrong) somewhat compressed (But then, so is
HTTP with DEFLATE/gzip sometimes). This might not speed up the
operation both because of the processor overhead to do the
compression, but also because SSH's encryption takes a bit of
overhead. 

Basically, "it depends on what free is," and pragmatically git pull's
over SSH are quicker than git pulls over HTTP. 

> - Can you use whatever protocol (git, http, git+ssh) in front of any "git
>   URL"?  I mean, if I see on the Web, http://xxx.git, can I replace http by
>   git with no impact?

No. SSH (and git) protocols specify the path of the file based on
where the file lives on the host machines file system. Start at the
root / (or chroot) in the top level and go from there. The paths for
HTTP are dependent upon the configuration of the web server and are
often somewhat distinct from what is actually going on in the file
system given virtual hosting and URL rewriting. 

Hope this helps. 

Cheers,
tycho

-- 
tycho(ish) @
 garen@tychoish.com
  http://www.tychoish.com/
  http://www.cyborginstitute.com/
  "don't get it right, get it written" -- james thurber

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

* Re: Worg pull broken?
  2010-10-24 19:06 ` David Maus
  2010-10-27  7:47   ` Sébastien Vauban
@ 2010-11-05  9:32   ` Sébastien Vauban
  2010-11-05 18:48     ` David Maus
  1 sibling, 1 reply; 6+ messages in thread
From: Sébastien Vauban @ 2010-11-05  9:32 UTC (permalink / raw)
  To: emacs-orgmode-mXXj517/zsQ

Hello David,

David Maus wrote:
> At Fri, 22 Oct 2010 17:55:28 +0200, Sébastien Vauban wrote:
>> Just wanted to update my local repo of Worg:
>> 
>> --8<---------------cut here---------------start------------->8---
>> [sva@MEDIACENTER] ~/src/Worg>git pull
>> error: Unable to find 9a6e35ee0276b7736f5a08dccba52a4374574892 under http://repo.or.cz/r/Worg.git
>> Cannot obtain needed blob 9a6e35ee0276b7736f5a08dccba52a4374574892
>> while processing commit f58d7c210e22c66d18dae80f45280e32c086b7c3.
>> error: Fetch failed.
>> --8<---------------cut here---------------end--------------->8---
>> 
>> Does that tell you something?
>
> Does this problem still occur

It still does, today[1], after having worked a couple of times.

--8<---------------cut here---------------start------------->8---
error: Unable to find c0e143bc0feb7275eb16f079ed70adafb6b74034 under http://repo.or.cz/r/Worg.git
Cannot obtain needed blob c0e143bc0feb7275eb16f079ed70adafb6b74034
while processing commit f50499d14f78caeb56208c3a6c392c6d5a5729b2.
error: Fetch failed.
--8<---------------cut here---------------end--------------->8---

> and what remote repository are you pulling from? (cat .git/config) There are
> postings on the web that mention this error when pulling via http: protocol.

--8<---------------cut here---------------start------------->8---
[core]
        repositoryformatversion = 0
        filemode = true
        bare = false
        logallrefupdates = true
        ignorecase = true
[remote "origin"]
        fetch = +refs/heads/*:refs/remotes/origin/*
        url = http://repo.or.cz/r/Worg.git
[branch "master"]
        remote = origin
        merge = refs/heads/master
--8<---------------cut here---------------end--------------->8---


> Pulling git+ssh://repo.or.cz/srv/git/Worg.git works fine here.

To do this, I need a password on repo.or.cz. Who do I have to ask for this?

Best regards,
  Seb

Footnotes:
[1] Proxy is correctly set up via =export http_proxy=myproxy:8080=.
-- 
Sébastien Vauban


_______________________________________________
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode-mXXj517/zsQ@public.gmane.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

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

* Re: Re: Worg pull broken?
  2010-11-05  9:32   ` Sébastien Vauban
@ 2010-11-05 18:48     ` David Maus
  0 siblings, 0 replies; 6+ messages in thread
From: David Maus @ 2010-11-05 18:48 UTC (permalink / raw)
  To: Sébastien Vauban; +Cc: emacs-orgmode


[-- Attachment #1.1: Type: text/plain, Size: 629 bytes --]

At Fri, 05 Nov 2010 10:32:28 +0100,
Sébastien Vauban wrote:
> > Pulling git+ssh://repo.or.cz/srv/git/Worg.git works fine here.
> 
> To do this, I need a password on repo.or.cz. Who do I have to ask for this?
> 

Just register a user at [1] with a SSH public key.  IIRC the user name
in the key comment must be the email adress.

E.g.

ssh-keygen -C "you@somewhere.tld"

Or instead of git+ssh you can use the native Git protocol: 

git://repo.or.cz/org-mode

Best,
  -- David

[1] http://repo.or.cz/reguser.cgi

-- 
OpenPGP... 0x99ADB83B5A4478E6
Jabber.... dmjena@jabber.org
Email..... dmaus@ictsoc.de

[-- Attachment #1.2: Type: application/pgp-signature, Size: 230 bytes --]

[-- Attachment #2: Type: text/plain, Size: 201 bytes --]

_______________________________________________
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

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

end of thread, other threads:[~2010-11-05 18:49 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-10-22 15:55 Worg pull broken? Sébastien Vauban
2010-10-24 19:06 ` David Maus
2010-10-27  7:47   ` Sébastien Vauban
2010-10-27 11:07     ` tycho garen
2010-11-05  9:32   ` Sébastien Vauban
2010-11-05 18:48     ` David Maus

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).