Re: [O] Can I clone worg using http protocol?

2013-03-25 Thread Achim Gratz

Am 24.03.2013 18:52, schrieb John Hendy:

$ git clone http://orgmode.org/w/worg.git


Try

$ git clone http://orgmode.org/r/worg.git

(note how the w/ changes to an r/).


Regards,
--
Achim.

(on the road :-)




Re: [O] Can I clone worg using http protocol?

2013-03-25 Thread John Hendy
On Mon, Mar 25, 2013 at 4:17 AM, Achim Gratz strom...@nexgo.de wrote:
 Am 24.03.2013 18:52, schrieb John Hendy:

 $ git clone http://orgmode.org/w/worg.git


 Try

 $ git clone http://orgmode.org/r/worg.git

 (note how the w/ changes to an r/).


#+begin_example

$ git clone http://orgmode.org/r/worg.git
Cloning into 'worg'...
fatal: http://orgmode.org/r/worg.git/info/refs?service=git-upload-pack
not found: did you run git update-server-info on the server?

#+end_example

Having not much of an idea of what I'm doing, I also tried:

#+begin_example

$ git update-server-info http://orgmode.org/r/worg.git
fatal: Not a git repository (or any of the parent directories): .git

#+end_example


Thoughts?
John

P.S. Ideally, I'd like to clone with ssh/push access via http as well.
I'd love the http alternative to (if that's possible):

$ git clone w...@orgmode.org:worg.git


 Regards,
 --
 Achim.

 (on the road :-)





Re: [O] Can I clone worg using http protocol?

2013-03-25 Thread Achim Gratz

Am 25.03.2013 14:49, schrieb John Hendy:

$ git clone http://orgmode.org/r/worg.git
Cloning into 'worg'...
fatal: http://orgmode.org/r/worg.git/info/refs?service=git-upload-pack
not found: did you run git update-server-info on the server?


It looks like thios for of HTTP access has been switched off in 
preference to cgit.



$ git update-server-info http://orgmode.org/r/worg.git
fatal: Not a git repository (or any of the parent directories): .git


This is something that should be done on the server.  It generates some 
files with info that can otherwise be obtained via the Git protocol.



P.S. Ideally, I'd like to clone with ssh/push access via http as well.
I'd love the http alternative to (if that's possible):


You can't have authenticated push access via HTTP using SSH keys.  You 
could maybew use SSH tunneling via HTTP.



Regards,
--
Achim.

(on the road :-)




Re: [O] Can I clone worg using http protocol?

2013-03-25 Thread John Hendy
On Mon, Mar 25, 2013 at 9:33 AM, Achim Gratz strom...@nexgo.de wrote:
 Am 25.03.2013 14:49, schrieb John Hendy:

 $ git clone http://orgmode.org/r/worg.git
 Cloning into 'worg'...
 fatal: http://orgmode.org/r/worg.git/info/refs?service=git-upload-pack
 not found: did you run git update-server-info on the server?


 It looks like thios for of HTTP access has been switched off in preference
 to cgit.


 $ git update-server-info http://orgmode.org/r/worg.git
 fatal: Not a git repository (or any of the parent directories): .git


 This is something that should be done on the server.  It generates some
 files with info that can otherwise be obtained via the Git protocol.


 P.S. Ideally, I'd like to clone with ssh/push access via http as well.
 I'd love the http alternative to (if that's possible):

Good to know. So the definitive answer is, No.

 You can't have authenticated push access via HTTP using SSH keys.  You could
 maybew use SSH tunneling via HTTP.

Eh. Not that critical. I'll just have to not be at work to push or
pull. I imagine that the majority of Worg pullers are wanting to push
as well, so there probably isn't a huge motivation to have http
enabled for pull if you can only push with git.


Thanks!
John




 Regards,
 --
 Achim.

 (on the road :-)





[O] Can I clone worg using http protocol?

2013-03-24 Thread John Hendy
I can't use git protocol due to being behind a firewall at work,
otherwise I would. I was trying to clone Worg via http protocol and am
getting an error

#+begin_src bash

$ git clone http://orgmode.org/w/worg.git
Cloning into 'worg'...
error: The requested URL returned error: 403 Forbidden while accessing
http://orgmode.org/w/worg.git/info/refs?service=git-upload-pack
fatal: HTTP request failed

#+end_src

I guess I figured I could given the line later on, which says, If you
already have your local clone of Worg obtained via http protocol,...

As a side note (forgive being a git novice if this should be evident),
I don't get this setting suggestion for .gitconfig:

#+begin_example
[url git://w...@orgmode.org:worg.git]
  pushInsteadOf = http://repo.or.cz/r/
#+end_example

If the pull was from orgmode.org/w/worg.git, why am I setting an
option to push with git to repo.or.cz?

Any suggestions?


John



Re: [O] Can I clone worg using http protocol?

2013-03-24 Thread Vladimir Lomov
Hello,
** John Hendy [2013-03-24 12:52:34 -0500]:

 I can't use git protocol due to being behind a firewall at work,
 otherwise I would. I was trying to clone Worg via http protocol and am
 getting an error

 #+begin_src bash

 $ git clone http://orgmode.org/w/worg.git
 Cloning into 'worg'...
 error: The requested URL returned error: 403 Forbidden while accessing
 http://orgmode.org/w/worg.git/info/refs?service=git-upload-pack
 fatal: HTTP request failed

 #+end_src

 I guess I figured I could given the line later on, which says, If you
 already have your local clone of Worg obtained via http protocol,...

 As a side note (forgive being a git novice if this should be evident),
 I don't get this setting suggestion for .gitconfig:

 #+begin_example
 [url git://w...@orgmode.org:worg.git]
   pushInsteadOf = http://repo.or.cz/r/
 #+end_example

 If the pull was from orgmode.org/w/worg.git, why am I setting an
 option to push with git to repo.or.cz?

 Any suggestions?

This works for me

git clone http://orgmode.org/org-mode.git

It may take some time to clone.

 John

---
WBR, Vladimir Lomov

-- 
'Tis true, 'tis pity, and pity 'tis 'tis true.
-- Poloniouius, in Willie the Shake's _Hamlet, Prince of Darkness_




Re: [O] Can I clone worg using http protocol?

2013-03-24 Thread John Hendy
On Sun, Mar 24, 2013 at 7:54 PM, Vladimir Lomov lomov...@gmail.com wrote:
 Hello,
 ** John Hendy [2013-03-24 12:52:34 -0500]:

 I can't use git protocol due to being behind a firewall at work,
 otherwise I would. I was trying to clone Worg via http protocol and am
 getting an error

 #+begin_src bash

 $ git clone http://orgmode.org/w/worg.git
 Cloning into 'worg'...
 error: The requested URL returned error: 403 Forbidden while accessing
 http://orgmode.org/w/worg.git/info/refs?service=git-upload-pack
 fatal: HTTP request failed

 #+end_src

 I guess I figured I could given the line later on, which says, If you
 already have your local clone of Worg obtained via http protocol,...

 As a side note (forgive being a git novice if this should be evident),
 I don't get this setting suggestion for .gitconfig:

 #+begin_example
 [url git://w...@orgmode.org:worg.git]
   pushInsteadOf = http://repo.or.cz/r/
 #+end_example

 If the pull was from orgmode.org/w/worg.git, why am I setting an
 option to push with git to repo.or.cz?

 Any suggestions?

 This works for me

 git clone http://orgmode.org/org-mode.git


I have been accessing orgmode git via http (I have to since I update
at work) for some time. But can you do the same with worg (the Orgmode
wiki, not orgmode itself)?

Thanks,
John

 It may take some time to clone.

 John

 ---
 WBR, Vladimir Lomov

 --
 'Tis true, 'tis pity, and pity 'tis 'tis true.
 -- Poloniouius, in Willie the Shake's _Hamlet, Prince of Darkness_





Re: [O] Can I clone worg using http protocol?

2013-03-24 Thread Vladimir Lomov
Hello,
** John Hendy [2013-03-24 20:34:09 -0500]:

 On Sun, Mar 24, 2013 at 7:54 PM, Vladimir Lomov lomov...@gmail.com wrote:
 Hello,
 ** John Hendy [2013-03-24 12:52:34 -0500]:

 I can't use git protocol due to being behind a firewall at work,
 otherwise I would. I was trying to clone Worg via http protocol and am
 getting an error

 #+begin_src bash

 $ git clone http://orgmode.org/w/worg.git
 Cloning into 'worg'...
 error: The requested URL returned error: 403 Forbidden while accessing
 http://orgmode.org/w/worg.git/info/refs?service=git-upload-pack
 fatal: HTTP request failed

 #+end_src

 I guess I figured I could given the line later on, which says, If you
 already have your local clone of Worg obtained via http protocol,...

 As a side note (forgive being a git novice if this should be evident),
 I don't get this setting suggestion for .gitconfig:

 #+begin_example
 [url git://w...@orgmode.org:worg.git]
   pushInsteadOf = http://repo.or.cz/r/
 #+end_example

 If the pull was from orgmode.org/w/worg.git, why am I setting an
 option to push with git to repo.or.cz?

 Any suggestions?

 This works for me

 git clone http://orgmode.org/org-mode.git

 I have been accessing orgmode git via http (I have to since I update
 at work) for some time. But can you do the same with worg (the Orgmode
 wiki, not orgmode itself)?

Sorry, didn't read your message carefully. There is way to just clone
worg repository but not, AFAIK, to push to it:

git clone http://orgmode.org/cgit.cgi/worg.git

I have successfully clone worg repo (takes ages to complete it).
AFAIU, in order to push to worg it must be accessible over https, but
seems https://orgmode.org/cgit.cgi/worg.git don't work.

 Thanks,
 John

---
WBR, Vladimir Lomov

-- 
Probable-Possible, my black hen,
She lays eggs in the Relative When.
She doesn't lay eggs in the Positive Now
Because she's unable to postulate How.
-- Frederick Winsor



Re: [O] Can I clone worg using http protocol?

2013-03-24 Thread John Hendy
On Sun, Mar 24, 2013 at 10:11 PM, Vladimir Lomov lomov...@gmail.com wrote:
 Hello,
 ** John Hendy [2013-03-24 20:34:09 -0500]:

 On Sun, Mar 24, 2013 at 7:54 PM, Vladimir Lomov lomov...@gmail.com wrote:
 Hello,
 ** John Hendy [2013-03-24 12:52:34 -0500]:

 I can't use git protocol due to being behind a firewall at work,
 otherwise I would. I was trying to clone Worg via http protocol and am
 getting an error

 #+begin_src bash

 $ git clone http://orgmode.org/w/worg.git
 Cloning into 'worg'...
 error: The requested URL returned error: 403 Forbidden while accessing
 http://orgmode.org/w/worg.git/info/refs?service=git-upload-pack
 fatal: HTTP request failed

 #+end_src

 I guess I figured I could given the line later on, which says, If you
 already have your local clone of Worg obtained via http protocol,...

 As a side note (forgive being a git novice if this should be evident),
 I don't get this setting suggestion for .gitconfig:

 #+begin_example
 [url git://w...@orgmode.org:worg.git]
   pushInsteadOf = http://repo.or.cz/r/
 #+end_example

 If the pull was from orgmode.org/w/worg.git, why am I setting an
 option to push with git to repo.or.cz?

 Any suggestions?

 This works for me

 git clone http://orgmode.org/org-mode.git

 I have been accessing orgmode git via http (I have to since I update
 at work) for some time. But can you do the same with worg (the Orgmode
 wiki, not orgmode itself)?

 Sorry, didn't read your message carefully. There is way to just clone
 worg repository but not, AFAIK, to push to it:

 git clone http://orgmode.org/cgit.cgi/worg.git

 I have successfully clone worg repo (takes ages to complete it).
 AFAIU, in order to push to worg it must be accessible over https, but
 seems https://orgmode.org/cgit.cgi/worg.git don't work.

I was also looking for push access. Thinking that other git sites I'd
seen with the look of Orgmode's don't have http protocol abilities.
For example, I once tried to inquire about this exact thing for the
zathura PDF reader project:
- https://bbs.archlinux.org/viewtopic.php?pid=921128#p921128

Their git repo has the same look of Org's, so I'm thinking the
frontend is provided by the same thing:
- http://git.pwmt.org/

No one had any solutions for me.

I just went ahead and used git today and can just deal with pushing
from home, I suppose :)


John


 Thanks,
 John

 ---
 WBR, Vladimir Lomov

 --
 Probable-Possible, my black hen,
 She lays eggs in the Relative When.
 She doesn't lay eggs in the Positive Now
 Because she's unable to postulate How.
 -- Frederick Winsor