Git development
 help / color / mirror / Atom feed
From: Petr Baudis <pasky@suse.cz>
To: git@vger.kernel.org
Subject: Re: git and "dumb protocols"
Date: Thu, 2 Nov 2006 11:48:48 +0100	[thread overview]
Message-ID: <20061102104848.GH20017@pasky.or.cz> (raw)
In-Reply-To: <vpqu01i16g8.fsf@ecrins.imag.fr>

  Hi,

Dear diary, on Thu, Nov 02, 2006 at 11:36:07AM CET, I got a letter
where Matthieu Moy <Matthieu.Moy@imag.fr> said that...
> Is it possible with git to push to a server on which git is not
> installed, and if so, how?

  yes, you can push using HTTP DAV - just push to an HTTP URL; make sure
you have git-http-push compiled, it is sometimes not compiled because it
unfortunately adds dependencies on couple of more libraries.

  Beware that this is inherently not safe for anonymous push access,
since malicious client with write access can destroy the repository. You
will want to protect write access to the repository by .htaccess file.

  I think a patch that would add support for pushing over sftp or some
other dumb protocol would be welcome. One problem is with proper locking
of ref updates (not sure how well would sftp cope with that), another is
that you will need to do git-update-server-info's job on the server
side.

  If you already have SSH access to the server, why not compile Git
there and install it to your $HOME, though?

-- 
				Petr "Pasky" Baudis
Stuff: http://pasky.or.cz/
#!/bin/perl -sp0777i<X+d*lMLa^*lN%0]dsXx++lMlN/dsM0<j]dsj
$/=unpack('H*',$_);$_=`echo 16dio\U$k"SK$/SM$n\EsN0p[lN*1

  parent reply	other threads:[~2006-11-02 10:48 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-11-02 10:36 git and "dumb protocols" Matthieu Moy
2006-11-02 10:42 ` Andy Whitcroft
2006-11-02 10:48 ` Petr Baudis [this message]
2006-11-02 10:57   ` Johannes Schindelin
2006-11-02 11:02     ` Petr Baudis
2006-11-02 12:04   ` Matthieu Moy
2006-11-02 12:12     ` Jakub Narebski
2006-11-02 12:21     ` Petr Baudis
2006-11-03 23:27     ` Daniel Barkalow
2006-11-02 10:51 ` Johannes Schindelin

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=20061102104848.GH20017@pasky.or.cz \
    --to=pasky@suse.cz \
    --cc=git@vger.kernel.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox