From: Ingo Oeser <ioe-git@rameria.de>
To: Daniel Barkalow <barkalow@iabervon.org>
Cc: Ingo Oeser <ioe-git@rameria.de>, git@vger.kernel.org
Subject: Re: Using git for code deployment on webservers?
Date: Wed, 17 Jun 2009 19:23:07 +0200 [thread overview]
Message-ID: <200906171923.08034.ioe-git@rameria.de> (raw)
In-Reply-To: <alpine.LNX.2.00.0906161332080.2147@iabervon.org>
Hi Daniel,
On Tuesday 16 June 2009, Daniel Barkalow wrote:
> You should be able to have the slave repositories store tags for tree
> objects (instead of commit objects), and have the webservers fetch those.
> You'll still have the object database, but it will only contain stuff
> that's been deployed to that webserver, not intermediate versions or
> historical versions.
Ah, that sound like a great solution. I'll try that.
> You'll still have to store both the repo and the checked out data
> (but git stores the content delta-compressed against each
> other in one big file, normally, so there really aren't files to hard link
> to.
Ok. That was under the assumption, that the core of git is basically a
content addressable file system. But that seems to be history :-)
> Of course, the other possibility is to check out versions on the slaves,
> and rsync that to the webservers, which is probably the optimal method if
> you're not in a situation where you benefit from anything git does in
> transit.
I would benefit from noticing local changes. But simple rsync is what is tried now.
Problem is, we get no de-duplication from rsync, which git could do.
Many thanks for your suggestions!
Best Regards
Ingo Oeser
next prev parent reply other threads:[~2009-06-17 17:20 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-06-15 23:11 Using git for code deployment on webservers? Ingo Oeser
2009-06-16 7:13 ` Allan Wind
2009-06-17 17:42 ` Ingo Oeser
2009-06-16 8:01 ` Thomas Koch
2009-06-17 17:27 ` Ingo Oeser
2009-06-16 17:49 ` Daniel Barkalow
2009-06-17 17:23 ` Ingo Oeser [this message]
2009-06-17 19:26 ` Daniel Barkalow
2009-06-17 20:26 ` Alex Riesen
2009-06-17 20:33 ` Alex Riesen
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=200906171923.08034.ioe-git@rameria.de \
--to=ioe-git@rameria.de \
--cc=barkalow@iabervon.org \
--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;
as well as URLs for NNTP newsgroup(s).