On Jan 17, 2008 6:42 PM, Mike <fromlists@talkingspider.com> wrote:Plenty here use git for web apps. *First* - people here have pointed out various ways of doing this with the GIT_DIR env variable. Nothing is being violated. In terms of the best-practice you mention of publishing only the reachable files, your checkout is one directory higher. The top-level dir of your checkout should look like: .git htdocs # this is published conf # configuration files lib # libraries if you publish the top of your checkout, your libraries sit in there. Along your .git and your config files. Well -- I routinely add .git CVS and .svn to http.conf with a directorymatch clause to prevent access to them. Just in case, belts-and-suspenders. Nah! It'll be because of a long list of things, including temp files, backup files that developers make, all sorts of things in your *work* dir that you really need there and you really should _not_ have in the production checkout. BTW, I also add common patterns for those temp files to httpd.conf to restrict access to them. C produces a ton of intermediary files that git never commits, and C projects usually get an "installer" too (debian's apt/dpkg, rpm, etc). Writing PHP/Ruby/Python produces less "intermediary" files, but it still creates some, so there's plenty of good reasons to have an "installer". GIT does the SCM thing, but for handling your deployment you need something else. I normally use scripts that use git internally, written in make, perl or shell. cheers, martin - To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
| Greg KH | Re: Dual-Licensing Linux Kernel with GPL V2 and GPL V3 |
| Greg KH | [GIT PATCH] driver core patches against 2.6.24 |
| Andrew Morton | Re: 2.6.23-rc6-mm1 |
| Luciano Rocha | usb hdd problems with 2.6.27.2 |
git: | |
| Gerrit Renker | [PATCH 15/37] dccp: Set per-connection CCIDs via socket options |
| Andrew Morton | Re: [BUG] New Kernel Bugs |
| David Miller | [GIT]: Networking |
| Jarek Poplawski | [PATCH take 2] pkt_sched: Protect gen estimators under est_lock. |
