Hi How do you guys deal with TFS? My guys have settled on Rubymine as their IDE, but their SCM is TFS of course as it''s a .NET shop. As you''re well aware off TFS has the unfortunate habit of marking files as read-only and AFAIK there isn''t an easy way to make it detect new files short of going through all the folders and manually adding the new files. When you''re on a roll with a rails app for example this can mean there are quite a few files that need to be added. What is the workflow you settled on? use git for everything and once in a while make it sync with TFS? --- Met vriendelijke groeten - Best regards - Salutations Ivan Porto Carrero Blog: http://flanders.co.nz Twitter: http://twitter.com/casualjim Author of IronRuby in Action (http://manning.com/carrero) -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://rubyforge.org/pipermail/ironruby-core/attachments/20100123/2212932c/attachment.html>
I know some people who like "tfpt online" (from TFS Power Tools<http://www.microsoft.com/downloads/details.aspx?FamilyId=FBD14EEA-781F-45A1-8C46-9F6BA2F68BF0&displaylang=en>) for the purpose of adding a bunch of new files to a preexisting enlistment. I''ve never used it myself. From: ironruby-core-bounces at rubyforge.org [mailto:ironruby-core-bounces at rubyforge.org] On Behalf Of Ivan Porto Carrero Sent: Saturday, January 23, 2010 7:28 AM To: ironruby-core Subject: [Ironruby-core] dealing with TFS Hi How do you guys deal with TFS? My guys have settled on Rubymine as their IDE, but their SCM is TFS of course as it''s a .NET shop. As you''re well aware off TFS has the unfortunate habit of marking files as read-only and AFAIK there isn''t an easy way to make it detect new files short of going through all the folders and manually adding the new files. When you''re on a roll with a rails app for example this can mean there are quite a few files that need to be added. What is the workflow you settled on? use git for everything and once in a while make it sync with TFS? --- Met vriendelijke groeten - Best regards - Salutations Ivan Porto Carrero Blog: http://flanders.co.nz Twitter: http://twitter.com/casualjim Author of IronRuby in Action (http://manning.com/carrero) -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://rubyforge.org/pipermail/ironruby-core/attachments/20100123/85c5f25f/attachment.html>
Tfpt online is nice for that purpose. tf folderdiff . /r (recursive on this directory) is another way to detect changes, but it?s a pain since it re-syncs everytime you make a change. Rails would make it hard, but a few other options I can think of to help: a) If it?s a new project, maybe Codeplex?s new Mercurial support can convince them to use something different b) I can help you get setup to sync Git with TFS like we do for IronRuby. It?s a bit of a kludge right now, but it works. Jimmy and I are both trying to make it better, but neither of us have the time yet. c) Write a plugin for rails that hooks into the generator?s SCM support (-g and ?s options) to add and edit files as it works. One other thing I have for working within TFS. I map :w to :w! (to overwrite read-only files). And I have defined <leader>te and <leader>ta which simply call :!tf edit % and :!tf add %. The percent expands to the current file. Whenever I touch a file I run this command, of course, this requires you to launch vim from a command line that has TF in the path. JD From: ironruby-core-bounces at rubyforge.org [mailto:ironruby-core-bounces at rubyforge.org] On Behalf Of Curt Hagenlocher Sent: Saturday, January 23, 2010 8:02 AM To: ironruby-core at rubyforge.org Subject: Re: [Ironruby-core] dealing with TFS I know some people who like "tfpt online" (from TFS Power Tools<http://www.microsoft.com/downloads/details.aspx?FamilyId=FBD14EEA-781F-45A1-8C46-9F6BA2F68BF0&displaylang=en>) for the purpose of adding a bunch of new files to a preexisting enlistment. I''ve never used it myself. From: ironruby-core-bounces at rubyforge.org [mailto:ironruby-core-bounces at rubyforge.org] On Behalf Of Ivan Porto Carrero Sent: Saturday, January 23, 2010 7:28 AM To: ironruby-core Subject: [Ironruby-core] dealing with TFS Hi How do you guys deal with TFS? My guys have settled on Rubymine as their IDE, but their SCM is TFS of course as it''s a .NET shop. As you''re well aware off TFS has the unfortunate habit of marking files as read-only and AFAIK there isn''t an easy way to make it detect new files short of going through all the folders and manually adding the new files. When you''re on a roll with a rails app for example this can mean there are quite a few files that need to be added. What is the workflow you settled on? use git for everything and once in a while make it sync with TFS? --- Met vriendelijke groeten - Best regards - Salutations Ivan Porto Carrero Blog: http://flanders.co.nz Twitter: http://twitter.com/casualjim Author of IronRuby in Action (http://manning.com/carrero) -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://rubyforge.org/pipermail/ironruby-core/attachments/20100123/3e05706f/attachment-0001.html>
We''ve got a couple of people using the TFS->SVN bridge, which I think is made by the codeplex guys. It''s SLOW, but it works well for them, as they''re on smaller projects. On 24/01/2010, at 4:28 AM, Ivan Porto Carrero wrote:> Hi > > How do you guys deal with TFS? > > My guys have settled on Rubymine as their IDE, but their SCM is TFS of course as it''s a .NET shop. > As you''re well aware off TFS has the unfortunate habit of marking files as read-only and AFAIK there isn''t an easy way to make it detect new files short of going through all the folders and manually adding the new files. When you''re on a roll with a rails app for example this can mean there are quite a few files that need to be added. > > What is the workflow you settled on? use git for everything and once in a while make it sync with TFS? > --- > Met vriendelijke groeten - Best regards - Salutations > Ivan Porto Carrero > Blog: http://flanders.co.nz > Twitter: http://twitter.com/casualjim > Author of IronRuby in Action (http://manning.com/carrero) > > _______________________________________________ > Ironruby-core mailing list > Ironruby-core at rubyforge.org > http://rubyforge.org/mailman/listinfo/ironruby-core-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://rubyforge.org/pipermail/ironruby-core/attachments/20100124/f68a3a0a/attachment.html>
svnbridge doesn''t work with rubymine or git-svn but it does with tortoise etc. The source control needs to work from within the environment, at least that''s what the boss told me. this looks promising too with a few rake tasks perhaps: http://jeroen.haegebaert.com/post/2008/08/23/Dealing-with-the-quirks-of-TFS-using-git-take-2 I''ll check out the ironruby source code too on how you do it. --- Met vriendelijke groeten - Best regards - Salutations Ivan Porto Carrero Blog: http://flanders.co.nz Twitter: http://twitter.com/casualjim Author of IronRuby in Action (http://manning.com/carrero) On Sat, Jan 23, 2010 at 11:38 PM, Orion Edwards <orion.edwards at gmail.com>wrote:> We''ve got a couple of people using the TFS->SVN bridge, which I think is > made by the codeplex guys. It''s SLOW, but it works well for them, as they''re > on smaller projects. > > On 24/01/2010, at 4:28 AM, Ivan Porto Carrero wrote: > > Hi > > How do you guys deal with TFS? > > My guys have settled on Rubymine as their IDE, but their SCM is TFS of > course as it''s a .NET shop. > As you''re well aware off TFS has the unfortunate habit of marking files as > read-only and AFAIK there isn''t an easy way to make it detect new files > short of going through all the folders and manually adding the new files. > When you''re on a roll with a rails app for example this can mean there are > quite a few files that need to be added. > > What is the workflow you settled on? use git for everything and once in a > while make it sync with TFS? > --- > Met vriendelijke groeten - Best regards - Salutations > Ivan Porto Carrero > Blog: http://flanders.co.nz > Twitter: http://twitter.com/casualjim > Author of IronRuby in Action (http://manning.com/carrero) > > _______________________________________________ > Ironruby-core mailing list > Ironruby-core at rubyforge.org > http://rubyforge.org/mailman/listinfo/ironruby-core > > > > _______________________________________________ > Ironruby-core mailing list > Ironruby-core at rubyforge.org > http://rubyforge.org/mailman/listinfo/ironruby-core > >-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://rubyforge.org/pipermail/ironruby-core/attachments/20100124/d9fdc4df/attachment.html>
That blogpost is basically all Jim and I would want to do ? wrap the GIT and TFS command-lines. A step above that would be to use grit (GIT implementation in Ruby ? or even Git#) as well as the TFS APIs. But as Jim said, we haven?t found the time to make this really nice, so I welcome anyone else to do so. As a starter, here?s my notes on using TFS and GIT together; it?d be great to just get some easy-to-use scripts to wrap this up: http://gist.github.com/286677 ~Jimmy From: ironruby-core-bounces at rubyforge.org [mailto:ironruby-core-bounces at rubyforge.org] On Behalf Of Ivan Porto Carrero Sent: Saturday, January 23, 2010 3:06 PM To: ironruby-core at rubyforge.org Subject: Re: [Ironruby-core] dealing with TFS svnbridge doesn''t work with rubymine or git-svn but it does with tortoise etc. The source control needs to work from within the environment, at least that''s what the boss told me. this looks promising too with a few rake tasks perhaps: http://jeroen.haegebaert.com/post/2008/08/23/Dealing-with-the-quirks-of-TFS-using-git-take-2 I''ll check out the ironruby source code too on how you do it. --- Met vriendelijke groeten - Best regards - Salutations Ivan Porto Carrero Blog: http://flanders.co.nz Twitter: http://twitter.com/casualjim Author of IronRuby in Action (http://manning.com/carrero) On Sat, Jan 23, 2010 at 11:38 PM, Orion Edwards <orion.edwards at gmail.com<mailto:orion.edwards at gmail.com>> wrote: We''ve got a couple of people using the TFS->SVN bridge, which I think is made by the codeplex guys. It''s SLOW, but it works well for them, as they''re on smaller projects. On 24/01/2010, at 4:28 AM, Ivan Porto Carrero wrote: Hi How do you guys deal with TFS? My guys have settled on Rubymine as their IDE, but their SCM is TFS of course as it''s a .NET shop. As you''re well aware off TFS has the unfortunate habit of marking files as read-only and AFAIK there isn''t an easy way to make it detect new files short of going through all the folders and manually adding the new files. When you''re on a roll with a rails app for example this can mean there are quite a few files that need to be added. What is the workflow you settled on? use git for everything and once in a while make it sync with TFS? --- Met vriendelijke groeten - Best regards - Salutations Ivan Porto Carrero Blog: http://flanders.co.nz<http://flanders.co.nz/> Twitter: http://twitter.com/casualjim Author of IronRuby in Action (http://manning.com/carrero) _______________________________________________ Ironruby-core mailing list Ironruby-core at rubyforge.org<mailto:Ironruby-core at rubyforge.org> http://rubyforge.org/mailman/listinfo/ironruby-core _______________________________________________ Ironruby-core mailing list Ironruby-core at rubyforge.org<mailto:Ironruby-core at rubyforge.org> http://rubyforge.org/mailman/listinfo/ironruby-core -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://rubyforge.org/pipermail/ironruby-core/attachments/20100126/d5ee9bba/attachment.html>
I''ve not gone through the full post, but based on the title this might help: http://richardsbraindump.blogspot.com/2010/01/how-to-get-git-and-tfs-working-together.html On Tue, Jan 26, 2010 at 7:37 PM, Jimmy Schementi < Jimmy.Schementi at microsoft.com> wrote:> That blogpost is basically all Jim and I would want to do ? wrap the GIT > and TFS command-lines. A step above that would be to use grit (GIT > implementation in Ruby ? or even Git#) as well as the TFS APIs. But as Jim > said, we haven?t found the time to make this really nice, so I welcome > anyone else to do so. > > > > As a starter, here?s my notes on using TFS and GIT together; it?d be great > to just get some easy-to-use scripts to wrap this up: > > http://gist.github.com/286677 > > > > ~Jimmy > > > > *From:* ironruby-core-bounces at rubyforge.org [mailto: > ironruby-core-bounces at rubyforge.org] *On Behalf Of *Ivan Porto Carrero > *Sent:* Saturday, January 23, 2010 3:06 PM > *To:* ironruby-core at rubyforge.org > *Subject:* Re: [Ironruby-core] dealing with TFS > > > > svnbridge doesn''t work with rubymine or git-svn but it does with tortoise > etc. > > > > The source control needs to work from within the environment, at least > that''s what the boss told me. > > > > this looks promising too with a few rake tasks perhaps: > > > http://jeroen.haegebaert.com/post/2008/08/23/Dealing-with-the-quirks-of-TFS-using-git-take-2 > > > > I''ll check out the ironruby source code too on how you do it. > > > > --- > Met vriendelijke groeten - Best regards - Salutations > Ivan Porto Carrero > Blog: http://flanders.co.nz > Twitter: http://twitter.com/casualjim > Author of IronRuby in Action (http://manning.com/carrero) > > > On Sat, Jan 23, 2010 at 11:38 PM, Orion Edwards <orion.edwards at gmail.com> > wrote: > > We''ve got a couple of people using the TFS->SVN bridge, which I think is > made by the codeplex guys. It''s SLOW, but it works well for them, as they''re > on smaller projects. > > > > On 24/01/2010, at 4:28 AM, Ivan Porto Carrero wrote: > > > > Hi > > > > How do you guys deal with TFS? > > > > My guys have settled on Rubymine as their IDE, but their SCM is TFS of > course as it''s a .NET shop. > > As you''re well aware off TFS has the unfortunate habit of marking files as > read-only and AFAIK there isn''t an easy way to make it detect new files > short of going through all the folders and manually adding the new files. > When you''re on a roll with a rails app for example this can mean there are > quite a few files that need to be added. > > > > What is the workflow you settled on? use git for everything and once in a > while make it sync with TFS? > --- > Met vriendelijke groeten - Best regards - Salutations > Ivan Porto Carrero > Blog: http://flanders.co.nz > Twitter: http://twitter.com/casualjim > Author of IronRuby in Action (http://manning.com/carrero) > > _______________________________________________ > Ironruby-core mailing list > Ironruby-core at rubyforge.org > http://rubyforge.org/mailman/listinfo/ironruby-core > > > > > _______________________________________________ > Ironruby-core mailing list > Ironruby-core at rubyforge.org > http://rubyforge.org/mailman/listinfo/ironruby-core > > > > _______________________________________________ > Ironruby-core mailing list > Ironruby-core at rubyforge.org > http://rubyforge.org/mailman/listinfo/ironruby-core-- Miguel A. Madero Reyes www.miguelmadero.com (blog) me at miguelmadero.com -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://rubyforge.org/pipermail/ironruby-core/attachments/20100127/4caa1b77/attachment.html>