git@vger.kernel.org mailing list mirror (one of many)
 help / color / mirror / code / Atom feed
From: "Gábor Farkas" <gabor@nekomancer.net>
To: git@vger.kernel.org
Subject: git + davfs2, is it safe?
Date: Tue, 9 Feb 2010 17:39:32 +0100	[thread overview]
Message-ID: <2c173a351002090839v45d01d5dt17e4b4af37e84615@mail.gmail.com> (raw)

hi,

for various reasons our git repositories are hosted using https (webdav),
which is http-auth and client-certificate authenticated.

(linux on both the server and the client)

it's possible to somehow persuade git to push/fetch from such repositories,
but it's very annoying because either you have to enter your
username+password+cert_password
on every fetch and twice on every push, or you have to write them down
in $HOME/.netrc .

an alternative that seems to work is to mount the webdav directory using davfs2,
and then use it with git as a normal mounted filesystem.

it seems to work ok (a little slow, but usable), but i'm a little
worried about possible corner-cases.
for example, will it be ok if two people are trying to push into it at
the same time, etc?

so generally, is it safe/recommended to use git in such a deployment, or not?

p.s: or, does anyone know about a better way to handle the
username/password/cert_password
when accessing the webdav-repo directly (without davfs2)?

thanks,
gabor

             reply	other threads:[~2010-02-09 16:39 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-02-09 16:39 Gábor Farkas [this message]
2010-02-09 17:57 ` git + davfs2, is it safe? Shawn O. Pearce

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

  List information: http://vger.kernel.org/majordomo-info.html

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

  git send-email \
    --in-reply-to=2c173a351002090839v45d01d5dt17e4b4af37e84615@mail.gmail.com \
    --to=gabor@nekomancer.net \
    --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.
Code repositories for project(s) associated with this public inbox

	https://80x24.org/mirrors/git.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).