{"thread":{"id":"11233","subject":"Using git with Eclipse","startedAt":"2007-12-10T22:42:22Z","lastAt":"2007-12-13T22:41:25Z","messageCount":8,"participants":["Wink Saville","Shawn O. Pearce","Jing Xue","Robin Rosenberg"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"62627","messageId":"475DC0CE.9070109@saville.com","threadId":"11233","inReplyTo":null,"subject":"Using git with Eclipse","fromName":"Wink Saville","fromEmail":"wink@saville.com","sentAt":"2007-12-10T22:42:22Z","receivedAt":"2007-12-10T22:42:22Z","isPatch":false,"sender":{"key":"wink@saville.com","avatar":"https://avatars.githubusercontent.com/u/1024284?v=4"},"body":"Hello,\n\nI'm trying to use git on an Eclipse workspace and the .metadata \ndirectory is chock full of files and was wondering what, if anything, \nshould be ignored. At the moment .history looks like a candidate for \nignoring there are probably others.\n\nWink Saville\n"},{"id":"62638","messageId":"20071211024442.GJ14735@spearce.org","threadId":"11233","inReplyTo":"475DC0CE.9070109@saville.com","subject":"Re: Using git with Eclipse","fromName":"Shawn O. Pearce","fromEmail":"spearce@spearce.org","sentAt":"2007-12-11T02:44:42Z","receivedAt":"2007-12-11T02:44:42Z","isPatch":false,"sender":{"key":"spearce@spearce.org","avatar":"https://avatars.githubusercontent.com/u/34844?v=4"},"body":"Wink Saville <wink@saville.com> wrote:\n> I'm trying to use git on an Eclipse workspace and the .metadata \n> directory is chock full of files and was wondering what, if anything, \n> should be ignored. At the moment .history looks like a candidate for \n> ignoring there are probably others.\n\nIgnore all of .metadata; its Eclipse private state that you don't\nwant to version.  I'd add it to .git/info/exclude so its ignored only\nin the repository that is using Eclipse, rather than in .gitignore\n(which is published).\n\n-- \nShawn.\n"},{"id":"62655","messageId":"475E265D.5090106@saville.com","threadId":"11233","inReplyTo":"20071211024442.GJ14735@spearce.org","subject":"Re: Using git with Eclipse","fromName":"Wink Saville","fromEmail":"wink@saville.com","sentAt":"2007-12-11T05:55:41Z","receivedAt":"2007-12-11T05:55:41Z","isPatch":false,"sender":{"key":"wink@saville.com","avatar":"https://avatars.githubusercontent.com/u/1024284?v=4"},"body":"Shawn O. Pearce wrote:\n> Wink Saville <wink@saville.com> wrote:\n>   \n>> I'm trying to use git on an Eclipse workspace and the .metadata \n>> directory is chock full of files and was wondering what, if anything, \n>> should be ignored. At the moment .history looks like a candidate for \n>> ignoring there are probably others.\n>>     \n>\n> Ignore all of .metadata; its Eclipse private state that you don't\n> want to version.  I'd add it to .git/info/exclude so its ignored only\n> in the repository that is using Eclipse, rather than in .gitignore\n> (which is published).\n>\n>   \nShawn,\n\nI added .metadata to exclude then used git rm to remove\n.metadata from the repository. I then cloned that\nrepository to see how Eclipse would work. (As part of  my\nworkflow I use git as a backup so I wanted to see what would\nhappen when I \"restored\".)\n\nAs I'm sure you know with the metadata gone my existing projects\nin the Ui were gone and they have to be recreated as well as\nsome Eclipse and plugin specific configuration.\nI understand you and others are working on an Eclipse plugin\nfor git, will it also ignore . metadata?\n\nDo you need any testing done or is it too early? I'd be glad to\ntest if you feel its solid enough that I won't lose data or if it\nuses a separate different repo then I could use both.\n\nRegards,\n\nWink Saville\n"},{"id":"62731","messageId":"20071211101449.uqnyht2e8kcc00ww@intranet.digizenstudio.com","threadId":"11233","inReplyTo":"475E265D.5090106@saville.com","subject":"Re: Using git with Eclipse","fromName":"Jing Xue","fromEmail":"jingxue@digizenstudio.com","sentAt":"2007-12-11T15:14:49Z","receivedAt":"2007-12-11T15:14:49Z","isPatch":false,"sender":{"key":"jingxue@digizenstudio.com","avatar":null},"body":"\nQuoting Wink Saville <wink@saville.com>:\n\n> Shawn,\n> I added .metadata to exclude then used git rm to remove\n> .metadata from the repository. I then cloned that\n> repository to see how Eclipse would work. (As part of  my\n> workflow I use git as a backup so I wanted to see what would\n> happen when I \"restored\".)\n\nOne way to deal with this might be (after excluding it from the  \nworkspace repository) creating a sub-repository under .metadata, and  \nuse that one for your local backup.\n\n> As I'm sure you know with the metadata gone my existing projects\n> in the Ui were gone and they have to be recreated as well as\n> some Eclipse and plugin specific configuration.\n> I understand you and others are working on an Eclipse plugin\n> for git, will it also ignore . metadata?\n>\n> Do you need any testing done or is it too early? I'd be glad to\n> test if you feel its solid enough that I won't lose data or if it\n> uses a separate different repo then I could use both.\n\nEgit is an Eclipse plugin, so you can always test it in an isolated  \n\"sandbox\" workspace.\n\nCheers.\n-- \nJing Xue\n"},{"id":"62836","messageId":"200712120129.43878.robin.rosenberg.lists@dewire.com","threadId":"11233","inReplyTo":"475E265D.5090106@saville.com","subject":"Re: Using git with Eclipse","fromName":"Robin Rosenberg","fromEmail":"robin.rosenberg.lists@dewire.com","sentAt":"2007-12-12T00:29:43Z","receivedAt":"2007-12-12T00:29:43Z","isPatch":false,"sender":{"key":"robin.rosenberg@dewire.com","avatar":"https://avatars.githubusercontent.com/u/46357?v=4"},"body":"tisdag 11 december 2007 skrev Wink Saville:\n> Shawn O. Pearce wrote:\n> > Wink Saville <wink@saville.com> wrote:\n> >   \n> >> I'm trying to use git on an Eclipse workspace and the .metadata \n> >> directory is chock full of files and was wondering what, if anything, \n> >> should be ignored. At the moment .history looks like a candidate for \n> >> ignoring there are probably others.\n> >>     \n> >\n> > Ignore all of .metadata; its Eclipse private state that you don't\n> > want to version.  I'd add it to .git/info/exclude so its ignored only\n> > in the repository that is using Eclipse, rather than in .gitignore\n> > (which is published).\n> >\n> >   \n> Shawn,\n> \n> I added .metadata to exclude then used git rm to remove\n> .metadata from the repository. I then cloned that\n> repository to see how Eclipse would work. (As part of  my\n> workflow I use git as a backup so I wanted to see what would\n> happen when I \"restored\".)\n> \n> As I'm sure you know with the metadata gone my existing projects\n> in the Ui were gone and they have to be recreated as well as\n> some Eclipse and plugin specific configuration.\n> I understand you and others are working on an Eclipse plugin\n> for git, will it also ignore . metadata?\n\nI don't put my projects into the workspace directory so I don't have\nthat problem. I think mixing projects and workspaces is a bad idea\n(from experience, especially when testing different Eclipse versions\non the same projects.\n\nAs for settings you can configure project specific settings,\nrather than workspace settings for most interesting settings. You can\nalso export/import settings. Getting projects into a new workspace\nis best done using import. Point import to a directory  and it will scan\nfor all projects and let you import them all in one go.\n\nEgit doesn't ignore .metadata by default, I think. Probably should. For now\nyou can tell egit to ignore it via the workspace settings, which egit honors.\nEventually it will honor .git/info/exclude etc, but currently it doesn't.\n\n> \n> Do you need any testing done or is it too early? I'd be glad to\n> test if you feel its solid enough that I won't lose data or if it\n> uses a separate different repo then I could use both.\n\nSure testing is needed. It's solid enough to be usable, but probably not\nbug free and isn't feature complete. So if we can root out some bugs and not \njust introduce new buggy features that helps. Not that development is very \nfast nowadays, but having real users spurs development and hopefully gets \nmore contributors.\n\nThe likelyhood of loosing data is probably very low as few operations are\ndangerous. Of course, there is no warranty etc. etc. and we haven't done\nvery much monkey testing (unless using the plugin on windows counts).\n\nI use egit and git on the same work dir in parallel, sometimes using egit, \nsometimes git-gui and sometimes plain git depending on which does the\nwork better.\n\n-- robin\n"},{"id":"62859","messageId":"475F7A94.4000209@saville.com","threadId":"11233","inReplyTo":"200712120129.43878.robin.rosenberg.lists@dewire.com","subject":"Re: Using git with Eclipse","fromName":"Wink Saville","fromEmail":"wink@saville.com","sentAt":"2007-12-12T06:07:16Z","receivedAt":"2007-12-12T06:07:16Z","isPatch":false,"sender":{"key":"wink@saville.com","avatar":"https://avatars.githubusercontent.com/u/1024284?v=4"},"body":"Robin Rosenberg wrote:\n> tisdag 11 december 2007 skrev Wink Saville:\n>   \n> <snip>\n> -- robin\n>   \n\nI case I'll take the bait and a guinea pig:)\nPlease send me a link to what you'd like me to test.\n\nThanks,\n\nWink\n"},{"id":"63054","messageId":"200712132223.31109.robin.rosenberg.lists@dewire.com","threadId":"11233","inReplyTo":"475F7A94.4000209@saville.com","subject":"Re: Using git with Eclipse","fromName":"Robin Rosenberg","fromEmail":"robin.rosenberg.lists@dewire.com","sentAt":"2007-12-13T21:23:30Z","receivedAt":"2007-12-13T21:23:30Z","isPatch":false,"sender":{"key":"robin.rosenberg@dewire.com","avatar":"https://avatars.githubusercontent.com/u/46357?v=4"},"body":"onsdag 12 december 2007 skrev Wink Saville:\n> Robin Rosenberg wrote:\n> > tisdag 11 december 2007 skrev Wink Saville:\n> >   \n> > <snip>\n> > -- robin\n> >   \n> \n> I case I'll take the bait and a guinea pig:)\n> Please send me a link to what you'd like me to test.\n\nGreat! Please start with http://repo.or.cz/w/egit.git and test the INSTALL\ninstructions first. We do not provide an updatesite or prebuilt plugins yet.\n\n-- robin\n"},{"id":"63060","messageId":"4761B515.5070805@saville.com","threadId":"11233","inReplyTo":"200712132223.31109.robin.rosenberg.lists@dewire.com","subject":"Re: Using git with Eclipse","fromName":"Wink Saville","fromEmail":"wink@saville.com","sentAt":"2007-12-13T22:41:25Z","receivedAt":"2007-12-13T22:41:25Z","isPatch":false,"sender":{"key":"wink@saville.com","avatar":"https://avatars.githubusercontent.com/u/1024284?v=4"},"body":"Robin Rosenberg wrote:\n> onsdag 12 december 2007 skrev Wink Saville:\n>   \n>> Robin Rosenberg wrote:\n>>     \n>>> tisdag 11 december 2007 skrev Wink Saville:\n>>>   \n>>> <snip>\n>>> -- robin\n>>>   \n>>>       \n>> I case I'll take the bait and a guinea pig:)\n>> Please send me a link to what you'd like me to test.\n>>     \n>\n> Great! Please start with http://repo.or.cz/w/egit.git and test the INSTALL\n> instructions first. We do not provide an updatesite or prebuilt plugins yet.\n>\n> -- robin\n>\n>   \nRobin, I'm having a little trouble following the install instructions\ndue to my inexperience with Eclipse. Anyway see my \"[egit] How-to use egit\".\nI might have it installed correctly now, but not sure how to use,\nI just made a reply to Jing with some details.\n\nCheers,\n\nWink\n"}]}