Hey Glenn, The Git file I submitted last is only compatible with Cap2. Jamis and I spoke briefly at RailsConf and he indicated that he would like to get support in, but I don't think he's had time to go over the code yet. I also have some changes I would like to make - there is a way to emulate an export better (shallow clone) and I would like to try to set an environment variable rather than a command line switch to the git commands to tell it where the local repo is. I would appreciate any feedback you have, too. Right now (because of the command line switch thing) the file only seems to work with Git 1.5, not previous versions. In the next few days I'll submit another version, but again, feel free to let me know about any problems you have using it.
Thanks, Scott On 6/5/07, Glenn Rempe <[EMAIL PROTECTED]> wrote: > > Hi Scott and Jamis, > > I am experimenting with moving to Git from SVN/SVK. I am curious. Is > the Git scm file that was attached to Scott's email compatible with > the new Capistrano 2? If so, will it be included in the new release? > I noticed it is not there in the Cap source yet AFAIK... > > Thanks! > > Glenn > > > On May 10, 2:57 pm, "Scott Chacon" <[EMAIL PROTECTED]> wrote: > > Hey, I fixed a couple of problems I noticed with the git.rb file I > > posted earlier, so I've fixed them and here is the new file. I was > > working on a thing to have a different local git_dir than the remote > > servers, but it turns out the 'local' thing you introduced yesterday > > is a better fit, so I changed all the 'configuration' calls to > > 'variable' calls, which seems to work for what I was trying to do. > > > > I also have it querying the current head properly and calling a > > 'update-ref' on the fetch, which was preventing it from pulling the > > current head every time before, plus some other things for the calls > > working properly in a local environment. > > > > I've attached the new file. > > > > Scott > > > > git.rb > > 5KDownload > > > > > --~--~---------~--~----~------------~-------~--~----~ To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/capistrano -~----------~----~----~----~------~----~------~--~---
