* Can I clone worg using http protocol? @ 2013-03-24 17:52 John Hendy 2013-03-25 0:54 ` Vladimir Lomov 2013-03-25 9:17 ` Achim Gratz 0 siblings, 2 replies; 9+ messages in thread From: John Hendy @ 2013-03-24 17:52 UTC (permalink / raw) To: emacs-orgmode 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://worg@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 ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Can I clone worg using http protocol? 2013-03-24 17:52 Can I clone worg using http protocol? John Hendy @ 2013-03-25 0:54 ` Vladimir Lomov 2013-03-25 1:34 ` John Hendy 2013-03-25 9:17 ` Achim Gratz 1 sibling, 1 reply; 9+ messages in thread From: Vladimir Lomov @ 2013-03-25 0:54 UTC (permalink / raw) To: emacs-orgmode 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://worg@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_ ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Can I clone worg using http protocol? 2013-03-25 0:54 ` Vladimir Lomov @ 2013-03-25 1:34 ` John Hendy 2013-03-25 3:11 ` Vladimir Lomov 0 siblings, 1 reply; 9+ messages in thread From: John Hendy @ 2013-03-25 1:34 UTC (permalink / raw) To: Vladimir Lomov; +Cc: emacs-orgmode On Sun, Mar 24, 2013 at 7:54 PM, Vladimir Lomov <lomov.vl@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://worg@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_ > > ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Can I clone worg using http protocol? 2013-03-25 1:34 ` John Hendy @ 2013-03-25 3:11 ` Vladimir Lomov 2013-03-25 3:36 ` John Hendy 0 siblings, 1 reply; 9+ messages in thread From: Vladimir Lomov @ 2013-03-25 3:11 UTC (permalink / raw) To: John Hendy; +Cc: Emacs Org mode Hello, ** John Hendy [2013-03-24 20:34:09 -0500]: > On Sun, Mar 24, 2013 at 7:54 PM, Vladimir Lomov <lomov.vl@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://worg@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 ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Can I clone worg using http protocol? 2013-03-25 3:11 ` Vladimir Lomov @ 2013-03-25 3:36 ` John Hendy 0 siblings, 0 replies; 9+ messages in thread From: John Hendy @ 2013-03-25 3:36 UTC (permalink / raw) To: Vladimir Lomov; +Cc: Emacs Org mode On Sun, Mar 24, 2013 at 10:11 PM, Vladimir Lomov <lomov.vl@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.vl@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://worg@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 ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Can I clone worg using http protocol? 2013-03-24 17:52 Can I clone worg using http protocol? John Hendy 2013-03-25 0:54 ` Vladimir Lomov @ 2013-03-25 9:17 ` Achim Gratz 2013-03-25 13:49 ` John Hendy 1 sibling, 1 reply; 9+ messages in thread From: Achim Gratz @ 2013-03-25 9:17 UTC (permalink / raw) To: emacs-orgmode 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 :-) ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Can I clone worg using http protocol? 2013-03-25 9:17 ` Achim Gratz @ 2013-03-25 13:49 ` John Hendy 2013-03-25 14:33 ` Achim Gratz 0 siblings, 1 reply; 9+ messages in thread From: John Hendy @ 2013-03-25 13:49 UTC (permalink / raw) To: Achim Gratz; +Cc: emacs-orgmode On Mon, Mar 25, 2013 at 4:17 AM, Achim Gratz <Stromeko@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 worg@orgmode.org:worg.git > > Regards, > -- > Achim. > > (on the road :-) > > ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Can I clone worg using http protocol? 2013-03-25 13:49 ` John Hendy @ 2013-03-25 14:33 ` Achim Gratz 2013-03-25 15:07 ` John Hendy 0 siblings, 1 reply; 9+ messages in thread From: Achim Gratz @ 2013-03-25 14:33 UTC (permalink / raw) To: emacs-orgmode 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 :-) ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Can I clone worg using http protocol? 2013-03-25 14:33 ` Achim Gratz @ 2013-03-25 15:07 ` John Hendy 0 siblings, 0 replies; 9+ messages in thread From: John Hendy @ 2013-03-25 15:07 UTC (permalink / raw) To: Achim Gratz; +Cc: emacs-orgmode On Mon, Mar 25, 2013 at 9:33 AM, Achim Gratz <Stromeko@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 :-) > > ^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2013-03-25 15:07 UTC | newest] Thread overview: 9+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2013-03-24 17:52 Can I clone worg using http protocol? John Hendy 2013-03-25 0:54 ` Vladimir Lomov 2013-03-25 1:34 ` John Hendy 2013-03-25 3:11 ` Vladimir Lomov 2013-03-25 3:36 ` John Hendy 2013-03-25 9:17 ` Achim Gratz 2013-03-25 13:49 ` John Hendy 2013-03-25 14:33 ` Achim Gratz 2013-03-25 15:07 ` John Hendy
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).