{"thread":{"id":"4016","subject":"cvsserver problem with eclipse?","startedAt":"2006-05-01T07:27:31Z","lastAt":"2006-05-03T12:01:01Z","messageCount":6,"participants":["Bill Burdick","Martin Langhoff"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"19329","messageId":"4455B863.8040808@mobilereasoning.com","threadId":"4016","inReplyTo":null,"subject":"cvsserver problem with eclipse?","fromName":"Bill Burdick","fromEmail":"bill@mobilereasoning.com","sentAt":"2006-05-01T07:27:31Z","receivedAt":"2006-05-01T07:27:31Z","isPatch":false,"sender":{"key":"bill@mobilereasoning.com","avatar":null},"body":"[taking this conversation to the list]\n\nOK, I changed the way I was testing this to match your usage plan and I \nstill got the same results.  It works just fine for vanilla CVS; cvs \nstatus shows the re revision in the repo and cvs update brings it in.  \nEclipse has the same funky behavior: Compare with latest at the project \nlevel shows no differences, but compare with latest on the changed file \nactually does an update instead of popping up the Eclipse diff viewer.\n\nBy the way, I had trouble at first accessing the repo with SSH because \nof permissions on the sqlite db.  I'm not totally sure about the \nimplications for multiple users, but maybe just using a common group \nwill work fine?\n\nI'm really happy with git and git-cvsserver!  I'm hoping to be able to \nstandardize on it for our Eclipse work.  It seems like it should be \npossible for us to continue to do integrations in Eclipse if we manage \ngit properly.  I've been waiting on arch, baz, and bzr for so long and \nthen suddenly, Linus pulls this out of his butt!\n\n\nBill Burdick\n\n\n\n---------- Forwarded message ----------\nFrom: *Martin Langhoff (CatalystIT)* < martin@catalyst.net.nz \n<mailto:martin@catalyst.net.nz>>\nDate: May 1, 2006 6:41 AM\nSubject: Re: cvsserver problem with eclipse?\nTo: Bill Burdick <bill.burdick@gmail.com <mailto:bill.burdick@gmail.com>>\nCc: Martyn Smith < martyn@catalyst.net.nz <mailto:martyn@catalyst.net.nz>>\n\nHi Bill,\n\nthe git repo you are using, did you set it up to just be a \"naked\" or\n\"bare\" repo, and enabled cvsserver alright? What version of git are you\nusing?\n\nMy usage plan would be to\n\n1 - Have a git test project\n2 - Publish it to a naked/bare repository where git-cvsserver is enabled\n3 - Get the cvs checkout (try commandline cvs to make sure things work)\n4 - Add commits in the git test project and push them to the repo\n5 - Run cvs update\n\nIf it's running ok with old school CVS client, then try with Eclipse. We\nhave tested the update scenario quite a bit, and it works for us, so we\nneed a bit more info.\n\nBTW, can I ask you to bounce these questions off the git@vger.kernel.org \n<mailto:git@vger.kernel.org>\nmailing list? We will be happier answering these questions in a way that\ngets archived publicly. (Unless you are a direct client of Catalyst IT,\nthat is! Are you at OpenUniversity perhaps?)\n\ncheers,\n\n\nmartin\n\nBill Burdick wrote:\n>  I made a test git repo with a branch called WillyTest and slurped it\n>  into Eclipse.  Then I checked out WillyTest into the git directory and\n>  committed a change.  A synchronize in Eclipse did not detect the change,\n>  nor did comparing with the latest on the head.  Showing history on the\n>  changed file did, however, list the new revision and I could access the\n>  contents from that view.  Compare with latest on the changed file\n>  actually replaces the current contents with the repository version.\n>\n>  Bill Burdick\n>\n\n\n--\n-----------------------------------------------------------------------\nMartin @ Catalyst .Net .NZ  Ltd, PO Box 11-053, Manners St,  Wellington\nWEB: http://catalyst.net.nz/           PHYS: Level 2, 150-154 Willis St\nOFFICE: +64(4)916-7224                              MOB: +64(21)364-017\n       Make things as simple as possible, but no simpler - Einstein\n-----------------------------------------------------------------------\n\n\nbegin:vcard\nfn:Bill Burdick\nn:Burdick;Bill\norg:Mobile Reasoning\nemail;internet:bill@mobilereasoning.com\ntitle:Chief Scientist\ntel;work:913-484-0172\nx-mozilla-html:FALSE\nversion:2.1\nend:vcard\n\n"},{"id":"19330","messageId":"445607BE.3090503@mobilereasoning.com","threadId":"4016","inReplyTo":"4455B863.8040808@mobilereasoning.com","subject":"Re: cvsserver problem with eclipse?","fromName":"Bill Burdick","fromEmail":"bill@mobilereasoning.com","sentAt":"2006-05-01T13:06:06Z","receivedAt":"2006-05-01T13:06:06Z","isPatch":false,"sender":{"key":"bill@mobilereasoning.com","avatar":null},"body":"FWIW, I'm using Eclipse 3.2RC1a.\n\nBill\n\n\nBill Burdick wrote:\n\n> [taking this conversation to the list]\n>\n> OK, I changed the way I was testing this to match your usage plan and \n> I still got the same results.  It works just fine for vanilla CVS; cvs \n> status shows the re revision in the repo and cvs update brings it in.  \n> Eclipse has the same funky behavior: Compare with latest at the \n> project level shows no differences, but compare with latest on the \n> changed file actually does an update instead of popping up the Eclipse \n> diff viewer.\n>\n> By the way, I had trouble at first accessing the repo with SSH because \n> of permissions on the sqlite db.  I'm not totally sure about the \n> implications for multiple users, but maybe just using a common group \n> will work fine?\n>\n> I'm really happy with git and git-cvsserver!  I'm hoping to be able to \n> standardize on it for our Eclipse work.  It seems like it should be \n> possible for us to continue to do integrations in Eclipse if we manage \n> git properly.  I've been waiting on arch, baz, and bzr for so long and \n> then suddenly, Linus pulls this out of his butt!\n>\n>\n> Bill Burdick\n>\n>\n>\n> ---------- Forwarded message ----------\n> From: *Martin Langhoff (CatalystIT)* < martin@catalyst.net.nz \n> <mailto:martin@catalyst.net.nz>>\n> Date: May 1, 2006 6:41 AM\n> Subject: Re: cvsserver problem with eclipse?\n> To: Bill Burdick <bill.burdick@gmail.com <mailto:bill.burdick@gmail.com>>\n> Cc: Martyn Smith < martyn@catalyst.net.nz \n> <mailto:martyn@catalyst.net.nz>>\n>\n> Hi Bill,\n>\n> the git repo you are using, did you set it up to just be a \"naked\" or\n> \"bare\" repo, and enabled cvsserver alright? What version of git are you\n> using?\n>\n> My usage plan would be to\n>\n> 1 - Have a git test project\n> 2 - Publish it to a naked/bare repository where git-cvsserver is enabled\n> 3 - Get the cvs checkout (try commandline cvs to make sure things work)\n> 4 - Add commits in the git test project and push them to the repo\n> 5 - Run cvs update\n>\n> If it's running ok with old school CVS client, then try with Eclipse. We\n> have tested the update scenario quite a bit, and it works for us, so we\n> need a bit more info.\n>\n> BTW, can I ask you to bounce these questions off the \n> git@vger.kernel.org <mailto:git@vger.kernel.org>\n> mailing list? We will be happier answering these questions in a way that\n> gets archived publicly. (Unless you are a direct client of Catalyst IT,\n> that is! Are you at OpenUniversity perhaps?)\n>\n> cheers,\n>\n>\n> martin\n>\n> Bill Burdick wrote:\n>\n>>  I made a test git repo with a branch called WillyTest and slurped it\n>>  into Eclipse.  Then I checked out WillyTest into the git directory and\n>>  committed a change.  A synchronize in Eclipse did not detect the \n>> change,\n>>  nor did comparing with the latest on the head.  Showing history on the\n>>  changed file did, however, list the new revision and I could access the\n>>  contents from that view.  Compare with latest on the changed file\n>>  actually replaces the current contents with the repository version.\n>>\n>>  Bill Burdick\n>>\n>\n>\n> -- \n> -----------------------------------------------------------------------\n> Martin @ Catalyst .Net .NZ  Ltd, PO Box 11-053, Manners St,  Wellington\n> WEB: http://catalyst.net.nz/           PHYS: Level 2, 150-154 Willis St\n> OFFICE: +64(4)916-7224                              MOB: +64(21)364-017\n>       Make things as simple as possible, but no simpler - Einstein\n> -----------------------------------------------------------------------\n\n\n\n\nbegin:vcard\nfn:Bill Burdick\nn:Burdick;Bill\norg:Mobile Reasoning\nemail;internet:bill@mobilereasoning.com\ntitle:Chief Scientist\ntel;work:913-484-0172\nx-mozilla-html:FALSE\nversion:2.1\nend:vcard\n\n"},{"id":"19337","messageId":"4456360E.8060305@mobilereasoning.com","threadId":"4016","inReplyTo":"46a038f90605011338i5498f857lf230d9a965aa759@mail.gmail.com","subject":"Re: cvsserver problem with eclipse?","fromName":"Bill Burdick","fromEmail":"bill@mobilereasoning.com","sentAt":"2006-05-01T16:23:42Z","receivedAt":"2006-05-01T16:23:42Z","isPatch":false,"sender":{"key":"bill@mobilereasoning.com","avatar":null},"body":"OK, I replaced the eclipse file (yoda) with the latest from the head.  \nThen I changed it in my git project, committed it, and pushed it to the \nshared repo.  Finally, I did a \"compare with latest from head\" and it \nproceeded to update the file and then said that there were no changes.  \nHere's the log:\n\nValid-responses ok error M E Checked-in Valid-requests Template \nSet-sticky MT Clear-static-directory Module-expansion \nSet-static-directory Clear-sticky New-entry Merged Removed Updated \nRemove-entry Update-existing Copy-file Created Notified Mod-time\nvalid-requests\nValid-requests remove add status Entry watchers ci tag log co Modified \nQuestionable admin Root history valid-requests Global_option Argumentx \nannotate Valid-responses Unchanged Directory rlog Argument \nexpand-modules diff editors update\nok\nRoot /tmp/public.git\nCMD> cvs -n update -d \"/yoda/yoda\"\nGlobal_option -n\nArgument -d\nDirectory .\n/tmp/public.git/yoda\nEntry /yoda/1.9///\nModified yoda\nu=rw,g=rw,o=r\n48\nArgument yoda\nDirectory .\n/tmp/public.git/yoda\nupdate\nM C yoda\nUpdate-existing ./\n/tmp/public.git/yoda/yoda\n/yoda/1.10/+//\nu=rw,g=rw,o=rw\n95\nok\nRESULT> Status OK: org.eclipse.team.cvs.core code=0 ok null\nValid-responses ok error M E Checked-in Valid-requests Template \nSet-sticky MT Clear-static-directory Module-expansion \nSet-static-directory Clear-sticky New-entry Merged Removed Updated \nRemove-entry Update-existing Copy-file Created Notified Mod-time\nvalid-requests\nValid-requests remove add status Entry watchers ci tag log co Modified \nQuestionable admin Root history valid-requests Global_option Argumentx \nannotate Valid-responses Unchanged Directory rlog Argument \nexpand-modules diff editors update\nok\nRoot /tmp/public.git\nCMD> cvs status \"yoda\"\nDirectory .\n/tmp/public.git/yoda\nEntry /yoda/0///\nModified yoda\nu=rw,g=rw,o=r\n0\nArgument yoda\nDirectory .\n/tmp/public.git/yoda\nstatus\nM ===================================================================\nM File: yoda    Status: Needs Checkout\nM Working revision:    0\nM Repository revision:    1.10    /tmp/public.git/yoda/yoda,v\nM Sticky Tag:        (none)\nM Sticky Date:        (none)\nM Sticky Options:        (none)\nM\nok\nRESULT> Status OK: org.eclipse.team.cvs.core code=0 ok null\n\n\nMartin Langhoff wrote:\n\n> On 5/1/06, Bill Burdick <bill@mobilereasoning.com> wrote:\n>\n>> OK, I changed the way I was testing this to match your usage plan and I\n>> still got the same results.  It works just fine for vanilla CVS; cvs\n>> status shows the re revision in the repo and cvs update brings it in.\n>\n>\n> That's a good start!\n>\n>> Eclipse has the same funky behavior: Compare with latest at the project\n>> level shows no differences, but compare with latest on the changed file\n>> actually does an update instead of popping up the Eclipse diff viewer.\n>\n>\n> Hmmm. Eclipse does some weird funky sh*t sometimes. Can you ask it to\n> get you a log? There's an option in Eclipse CVS control settings that\n> will enable logging of cvs commands to the console. Enable it, and\n> then start Eclipse from the commandline, piping stderr and stdout to a\n> logfile.\n>\n> There are also some weird differences depending on how you ask for the\n> update or diff. I hate doing this but I'll have to ask you to tell me\n> exactly how you ask for the diff and for the update.\n>\n> And the platform you are running Eclipse on.\n>\n>> By the way, I had trouble at first accessing the repo with SSH because\n>> of permissions on the sqlite db.  I'm not totally sure about the\n>> implications for multiple users, but maybe just using a common group\n>> will work fine?\n>\n>\n> Yes, a common group is the thing to do.\n>\n>  $ chgrp gitusers *sqlite\n>  $ chmod g+w *sqlite\n>\n>> I'm really happy with git and git-cvsserver!  I'm hoping to be able to\n>> standardize on it for our Eclipse work.  It seems like it should be\n>\n>\n> Great to hear that!\n>\n> cheers,\n>\n>\n>\n> martin\n>\n\n\n\nbegin:vcard\nfn:Bill Burdick\nn:Burdick;Bill\norg:Mobile Reasoning\nemail;internet:bill@mobilereasoning.com\ntitle:Chief Scientist\ntel;work:913-484-0172\nx-mozilla-html:FALSE\nversion:2.1\nend:vcard\n\n"},{"id":"19334","messageId":"46a038f90605011338i5498f857lf230d9a965aa759@mail.gmail.com","threadId":"4016","inReplyTo":"4455B863.8040808@mobilereasoning.com","subject":"Re: cvsserver problem with eclipse?","fromName":"Martin Langhoff","fromEmail":"martin.langhoff@gmail.com","sentAt":"2006-05-01T20:38:45Z","receivedAt":"2006-05-01T20:38:45Z","isPatch":false,"sender":{"key":"martin.langhoff@gmail.com","avatar":"https://gravatar.com/avatar/1e3f311b6c4c15836501901ca58f8c0b0667246488084ba524d8bc9867e22fd9?d=mp&s=160"},"body":"On 5/1/06, Bill Burdick <bill@mobilereasoning.com> wrote:\n> OK, I changed the way I was testing this to match your usage plan and I\n> still got the same results.  It works just fine for vanilla CVS; cvs\n> status shows the re revision in the repo and cvs update brings it in.\n\nThat's a good start!\n\n> Eclipse has the same funky behavior: Compare with latest at the project\n> level shows no differences, but compare with latest on the changed file\n> actually does an update instead of popping up the Eclipse diff viewer.\n\nHmmm. Eclipse does some weird funky sh*t sometimes. Can you ask it to\nget you a log? There's an option in Eclipse CVS control settings that\nwill enable logging of cvs commands to the console. Enable it, and\nthen start Eclipse from the commandline, piping stderr and stdout to a\nlogfile.\n\nThere are also some weird differences depending on how you ask for the\nupdate or diff. I hate doing this but I'll have to ask you to tell me\nexactly how you ask for the diff and for the update.\n\nAnd the platform you are running Eclipse on.\n\n> By the way, I had trouble at first accessing the repo with SSH because\n> of permissions on the sqlite db.  I'm not totally sure about the\n> implications for multiple users, but maybe just using a common group\n> will work fine?\n\nYes, a common group is the thing to do.\n\n  $ chgrp gitusers *sqlite\n  $ chmod g+w *sqlite\n\n> I'm really happy with git and git-cvsserver!  I'm hoping to be able to\n> standardize on it for our Eclipse work.  It seems like it should be\n\nGreat to hear that!\n\ncheers,\n\n\n\nmartin\n"},{"id":"19432","messageId":"445878CD.8070707@mobilereasoning.com","threadId":"4016","inReplyTo":"46a038f90605030501x1d97f60at4d10c8e2c7b4304c@mail.gmail.com","subject":"Re: cvsserver problem with eclipse?","fromName":"Bill Burdick","fromEmail":"bill@mobilereasoning.com","sentAt":"2006-05-03T09:33:01Z","receivedAt":"2006-05-03T09:33:01Z","isPatch":false,"sender":{"key":"bill@mobilereasoning.com","avatar":null},"body":"my version is 1.3.1.  I'll d/l 1.3.0 and test with that.\n\nMartin Langhoff wrote:\n\n> Bill,\n>\n> haven't been able to repro your problem at this end. Can you check\n> your git version? Apparently cvsserver was broken soon after 1.3.0.\n> Can you try with v1.3.0?\n>\n> cheers,\n>\n>\n> martin\n>\n\n\n\nbegin:vcard\nfn:Bill Burdick\nn:Burdick;Bill\norg:Mobile Reasoning\nemail;internet:bill@mobilereasoning.com\ntitle:Chief Scientist\ntel;work:913-484-0172\nx-mozilla-html:FALSE\nversion:2.1\nend:vcard\n\n"},{"id":"19423","messageId":"46a038f90605030501x1d97f60at4d10c8e2c7b4304c@mail.gmail.com","threadId":"4016","inReplyTo":"4456360E.8060305@mobilereasoning.com","subject":"Re: cvsserver problem with eclipse?","fromName":"Martin Langhoff","fromEmail":"martin.langhoff@gmail.com","sentAt":"2006-05-03T12:01:01Z","receivedAt":"2006-05-03T12:01:01Z","isPatch":false,"sender":{"key":"martin.langhoff@gmail.com","avatar":"https://gravatar.com/avatar/1e3f311b6c4c15836501901ca58f8c0b0667246488084ba524d8bc9867e22fd9?d=mp&s=160"},"body":"Bill,\n\nhaven't been able to repro your problem at this end. Can you check\nyour git version? Apparently cvsserver was broken soon after 1.3.0.\nCan you try with v1.3.0?\n\ncheers,\n\n\nmartin\n"}]}