{"thread":{"id":"5028","subject":"Java GIT/Eclipse GIT version 0.1.1","startedAt":"2006-07-28T06:36:20Z","lastAt":"2006-07-31T04:22:00Z","messageCount":12,"participants":["Shawn Pearce","Peter Baumann","Pavel Roskin","Jakub Narebski","Daniel Barkalow"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"24284","messageId":"20060728063620.GD30783@spearce.org","threadId":"5028","inReplyTo":null,"subject":"Java GIT/Eclipse GIT version 0.1.1","fromName":"Shawn Pearce","fromEmail":"spearce@spearce.org","sentAt":"2006-07-28T06:36:20Z","receivedAt":"2006-07-28T06:36:20Z","isPatch":false,"sender":{"key":"spearce@spearce.org","avatar":"https://avatars.githubusercontent.com/u/34844?v=4"},"body":"My Java GIT library and Eclipse GIT team provider is now at a point\nwhere it may be partially useful to someone else who is also trying\nto write something which interacts with GIT.  Or who might also\nbe interested in seeing a pure-Java Eclipse team provider for GIT.\n\nSo I've posted my repository (currently ~200 KB) on my website:\n\n  http://www.spearce.org/projects/scm/egit.git\n\n\nThe underlying Java library is fairly functional and can read and\nwrite a repository.  Creating a series of Ant tasks for use in an\nautomated build environment would probably be pretty trivial with\nthis library.\n\nThe Eclipse plugin can't commit.  Or do a lot of other really\nuseful things.  So its not end-user ready.  :-)\n\n\nThe code is licensed under the Apache License, version 2.0.\n\n\nI would appreciate any and all input, feedback, etc. that anyone\nmight have on this library or plugin.  Patches are of course\ncertainly welcome.  :-)\n\nFor what its worth I'm trying to keep this library and Eclipse\nplugin 100% pure Java and avoid calling out to the canonical C\nimplementation of GIT.  However I have no plans to implement the\ndelta packing algorithm used by git-pack-objects.  Consequently if\nthis code ever produces packs it will be strictly zlib deflated\nobjects without delta compression.\n\n-- \nShawn.\n"},{"id":"24285","messageId":"slrnecjcsn.8td.Peter.B.Baumann@xp.machine.xx","threadId":"5028","inReplyTo":"20060728063620.GD30783@spearce.org","subject":"Re: Java GIT/Eclipse GIT version 0.1.1","fromName":"Peter Baumann","fromEmail":"peter.b.baumann@stud.informatik.uni-erlangen.de","sentAt":"2006-07-28T06:49:59Z","receivedAt":"2006-07-28T06:49:59Z","isPatch":false,"sender":{"key":"waste.manager@gmx.de","avatar":null},"body":"On 2006-07-28, Shawn Pearce <spearce@spearce.org> wrote:\n> My Java GIT library and Eclipse GIT team provider is now at a point\n> where it may be partially useful to someone else who is also trying\n> to write something which interacts with GIT.  Or who might also\n> be interested in seeing a pure-Java Eclipse team provider for GIT.\n>\n> So I've posted my repository (currently ~200 KB) on my website:\n>\n>   http://www.spearce.org/projects/scm/egit.git\n>\n\nDoesn't work for me.\n\ndevil:~/src git clone http://www.spearce.org/projects/scm/egit.git\nerror: File ac32c7cc2f7cf87a1ed80d0cdfca2af2a0385bb2 (http://www.spearce.org/projects/scm/egit.git/objects/ac/32c7cc2f7cf87a1ed80d0cdfca2af2a0385bb2) corrupt\nGetting pack list for http://www.spearce.org/projects/scm/egit.git/\nGetting alternates list for http://www.spearce.org/projects/scm/egit.git/\nAlso look at <html xmlns=\"http://www.w3.org/1999/\nAlso look at    <title>Insufficiently Random: The lonely musings of a loosely connected software developer.<\nAlso look at            @import url( http://www.spearce.org/wordpress/wp-content/themes/ir-classic/style\nAlso look at    <link rel=\"pingback\" href=\"http://www.spearce.org/wordpress/xmlrpc.\nAlso look at            <link rel='archives' title='April 2006' href='http://www.spearce.org/2006/\nAlso look at    <link rel='archives' title='February 2006' href='http://www.spearce.org/2006/\n[...]\nAlso look at <li><a href=\"feed:http://www.spearce.org/comments/feed/\" title=\"The latest comments to all posts in RSS\">Comments <abbr title=\"Really Simple Syndication\">RSS</abbr></\n*** glibc detected *** double free or corruption (!prev): 0x080933b0 ***\n/usr/bin/git-clone: line 29: 10712 Aborted                 git-http-fetch -v -a -w \"$tname\" \"$name\" \"$1/\"\n\n-Peter\n"},{"id":"24286","messageId":"20060728030859.n8ks44ck8884ss44@webmail.spamcop.net","threadId":"5028","inReplyTo":"slrnecjcsn.8td.Peter.B.Baumann@xp.machine.xx","subject":"Re: Java GIT/Eclipse GIT version 0.1.1","fromName":"Pavel Roskin","fromEmail":"proski@gnu.org","sentAt":"2006-07-28T07:08:59Z","receivedAt":"2006-07-28T07:08:59Z","isPatch":false,"sender":{"key":"proski@gnu.org","avatar":null},"body":"Quoting Peter Baumann <Peter.B.Baumann@stud.informatik.uni-erlangen.de>:\n\n> On 2006-07-28, Shawn Pearce <spearce@spearce.org> wrote:\n> > My Java GIT library and Eclipse GIT team provider is now at a point\n> > where it may be partially useful to someone else who is also trying\n> > to write something which interacts with GIT.  Or who might also\n> > be interested in seeing a pure-Java Eclipse team provider for GIT.\n> >\n> > So I've posted my repository (currently ~200 KB) on my website:\n> >\n> >   http://www.spearce.org/projects/scm/egit.git\n> >\n>\n> Doesn't work for me.\n\nNeither does it for me:\n\n$ git clone http://www.spearce.org/projects/scm/egit.git\nerror: File ac32c7cc2f7cf87a1ed80d0cdfca2af2a0385bb2\n(http://www.spearce.org/projects/scm/egit.git/objects/ac/32c7cc2f7cf87a1ed80d0cdfca2af2a0385bb2)\ncorrupt\nGetting pack list for http://www.spearce.org/projects/scm/egit.git/\nerror: XML error: not well-formed (invalid token)\n\n> *** glibc detected *** double free or corruption (!prev): 0x080933b0 ***\n> /usr/bin/git-clone: line 29: 10712 Aborted                 git-http-fetch -v\n> -a -w \"$tname\" \"$name\" \"$1/\"\n\nI'm not getting that.  I hope you are just using an obsolete version of git.\n\n--\nRegards,\nPavel Roskin\n"},{"id":"24287","messageId":"slrnecjeru.bou.Peter.B.Baumann@xp.machine.xx","threadId":"5028","inReplyTo":"20060728030859.n8ks44ck8884ss44@webmail.spamcop.net","subject":"Re: Java GIT/Eclipse GIT version 0.1.1","fromName":"Peter Baumann","fromEmail":"peter.b.baumann@stud.informatik.uni-erlangen.de","sentAt":"2006-07-28T07:23:42Z","receivedAt":"2006-07-28T07:23:42Z","isPatch":false,"sender":{"key":"waste.manager@gmx.de","avatar":null},"body":"On 2006-07-28, Pavel Roskin <proski@gnu.org> wrote:\n> Quoting Peter Baumann <Peter.B.Baumann@stud.informatik.uni-erlangen.de>:\n>\n>> On 2006-07-28, Shawn Pearce <spearce@spearce.org> wrote:\n>> > My Java GIT library and Eclipse GIT team provider is now at a point\n>> > where it may be partially useful to someone else who is also trying\n>> > to write something which interacts with GIT.  Or who might also\n>> > be interested in seeing a pure-Java Eclipse team provider for GIT.\n>> >\n>> > So I've posted my repository (currently ~200 KB) on my website:\n>> >\n>> >   http://www.spearce.org/projects/scm/egit.git\n>> >\n>>\n>> Doesn't work for me.\n>\n> Neither does it for me:\n>\n> $ git clone http://www.spearce.org/projects/scm/egit.git\n> error: File ac32c7cc2f7cf87a1ed80d0cdfca2af2a0385bb2\n> (http://www.spearce.org/projects/scm/egit.git/objects/ac/32c7cc2f7cf87a1ed80d0cdfca2af2a0385bb2)\n> corrupt\n> Getting pack list for http://www.spearce.org/projects/scm/egit.git/\n> error: XML error: not well-formed (invalid token)\n>\n>> *** glibc detected *** double free or corruption (!prev): 0x080933b0 ***\n>> /usr/bin/git-clone: line 29: 10712 Aborted                 git-http-fetch -v\n>> -a -w \"$tname\" \"$name\" \"$1/\"\n>\n> I'm not getting that.  I hope you are just using an obsolete version of git.\n\nNot _that_ old, me thinks. I'm using the debian unstable version.\n\ndevil:~ dpkg -l |grep git-core\nii  git-core       1.4.1-1        content addressable filesystem\n\n(Yes, I'am aware that this version has the timing bug on the server\nside, but I was just too lazy to compile git myself this time :-)\n\n-Peter\n"},{"id":"24323","messageId":"1154139012.3154.38.camel@dv","threadId":"5028","inReplyTo":"slrnecjeru.bou.Peter.B.Baumann@xp.machine.xx","subject":"Re: Java GIT/Eclipse GIT version 0.1.1","fromName":"Pavel Roskin","fromEmail":"proski@gnu.org","sentAt":"2006-07-29T02:10:12Z","receivedAt":"2006-07-29T02:10:12Z","isPatch":false,"sender":{"key":"proski@gnu.org","avatar":null},"body":"On Fri, 2006-07-28 at 09:23 +0200, Peter Baumann wrote:\n> >> *** glibc detected *** double free or corruption (!prev): 0x080933b0 ***\n> >> /usr/bin/git-clone: line 29: 10712 Aborted                 git-http-fetch -v\n> >> -a -w \"$tname\" \"$name\" \"$1/\"\n> >\n> > I'm not getting that.  I hope you are just using an obsolete version of git.\n> \n> Not _that_ old, me thinks. I'm using the debian unstable version.\n\nI tried to reproduce it but couldn't.  I tried valgrind (3.2.0 and\ncurrent) on two architectures, I tried _FORTIFY_SOURCE=2 to no avail -\nit just won't crash or report anything suspicious.  It's the current\nmaster branch of git.\n\nSo, it's up to you to debug it.\n\n-- \nRegards,\nPavel Roskin\n"},{"id":"24324","messageId":"20060729033214.GA28128@spearce.org","threadId":"5028","inReplyTo":"20060728030859.n8ks44ck8884ss44@webmail.spamcop.net","subject":"Re: Java GIT/Eclipse GIT version 0.1.1","fromName":"Shawn Pearce","fromEmail":"spearce@spearce.org","sentAt":"2006-07-29T03:32:14Z","receivedAt":"2006-07-29T03:32:14Z","isPatch":false,"sender":{"key":"spearce@spearce.org","avatar":"https://avatars.githubusercontent.com/u/34844?v=4"},"body":"Pavel Roskin <proski@gnu.org> wrote:\n> Quoting Peter Baumann <Peter.B.Baumann@stud.informatik.uni-erlangen.de>:\n> \n> > On 2006-07-28, Shawn Pearce <spearce@spearce.org> wrote:\n> > > My Java GIT library and Eclipse GIT team provider is now at a point\n> > > where it may be partially useful to someone else who is also trying\n> > > to write something which interacts with GIT.  Or who might also\n> > > be interested in seeing a pure-Java Eclipse team provider for GIT.\n> > >\n> > > So I've posted my repository (currently ~200 KB) on my website:\n> > >\n> > >   http://www.spearce.org/projects/scm/egit.git\n> > >\n> >\n> > Doesn't work for me.\n> \n> Neither does it for me:\n> \n> $ git clone http://www.spearce.org/projects/scm/egit.git\n> error: File ac32c7cc2f7cf87a1ed80d0cdfca2af2a0385bb2\n> (http://www.spearce.org/projects/scm/egit.git/objects/ac/32c7cc2f7cf87a1ed80d0cdfca2af2a0385bb2)\n> corrupt\n> Getting pack list for http://www.spearce.org/projects/scm/egit.git/\n> error: XML error: not well-formed (invalid token)\n\nHmm.  My website is known to return 200 OK status codes on missing\nfiles with HTML pages rather than proper 404 Not Found.  I guess\nI need to get that fixed.\n\nI just compiled and installed `next` (1.4.2.rc1.g802da) and it can\nclone this repository just fine over HTTP, despite my broken server.\nSo I'm not really sure what is going on.\n\nI should look into fixing my server, but its low on my priority list.\n\n-- \nShawn.\n"},{"id":"24326","messageId":"1154145355.26378.35.camel@dv","threadId":"5028","inReplyTo":"20060729033214.GA28128@spearce.org","subject":"Re: Java GIT/Eclipse GIT version 0.1.1","fromName":"Pavel Roskin","fromEmail":"proski@gnu.org","sentAt":"2006-07-29T03:55:55Z","receivedAt":"2006-07-29T03:55:55Z","isPatch":false,"sender":{"key":"proski@gnu.org","avatar":null},"body":"On Fri, 2006-07-28 at 23:32 -0400, Shawn Pearce wrote:\n\n> Hmm.  My website is known to return 200 OK status codes on missing\n> files with HTML pages rather than proper 404 Not Found.  I guess\n> I need to get that fixed.\n\nMaybe git-http-fetch could treat MIME type text/html like error 404?\nIt's not like any valid file git requests can be in HTML format.\n\n> I just compiled and installed `next` (1.4.2.rc1.g802da) and it can\n> clone this repository just fine over HTTP, despite my broken server.\n> So I'm not really sure what is going on.\n\nSorry, I was unclear.  I can clone the repository, I was just concerned\nthat something was missing from it.\n\n-- \nRegards,\nPavel Roskin\n"},{"id":"24328","messageId":"20060729040819.GD28128@spearce.org","threadId":"5028","inReplyTo":"1154145355.26378.35.camel@dv","subject":"Re: Java GIT/Eclipse GIT version 0.1.1","fromName":"Shawn Pearce","fromEmail":"spearce@spearce.org","sentAt":"2006-07-29T04:08:19Z","receivedAt":"2006-07-29T04:08:19Z","isPatch":false,"sender":{"key":"spearce@spearce.org","avatar":"https://avatars.githubusercontent.com/u/34844?v=4"},"body":"Pavel Roskin <proski@gnu.org> wrote:\n> On Fri, 2006-07-28 at 23:32 -0400, Shawn Pearce wrote:\n> \n> > Hmm.  My website is known to return 200 OK status codes on missing\n> > files with HTML pages rather than proper 404 Not Found.  I guess\n> > I need to get that fixed.\n> \n> Maybe git-http-fetch could treat MIME type text/html like error 404?\n> It's not like any valid file git requests can be in HTML format.\n\nThis has been discussed to death on the list, mostly due to my pg\nrepository causing the same error (its on the same server).\n\nThe solution turned out to be rather good in my opinion: if an\nobject is corrupt we log it, and skip to pack downloading.  At the\nend the bad object is logged and the user is encouraged to run\ngit-fsck-objects to verify there's no corrupt objects or objects\nwhich are missing things they point at (e.g. ancestor commits\nor trees).\n\nOf course the real solution here is for me to fix my server.  :-)\n\n> > I just compiled and installed `next` (1.4.2.rc1.g802da) and it can\n> > clone this repository just fine over HTTP, despite my broken server.\n> > So I'm not really sure what is going on.\n> \n> Sorry, I was unclear.  I can clone the repository, I was just concerned\n> that something was missing from it.\n\ngit-http-fetch recommends running git-fsck-objects to be sure,\nbut yea, usually its complete even though you get the error.\n\n-- \nShawn.\n"},{"id":"24336","messageId":"eafcf1$uuj$1@sea.gmane.org","threadId":"5028","inReplyTo":"20060728063620.GD30783@spearce.org","subject":"Re: Java GIT/Eclipse GIT version 0.1.1","fromName":"Jakub Narebski","fromEmail":"jnareb@gmail.com","sentAt":"2006-07-29T10:15:11Z","receivedAt":"2006-07-29T10:15:11Z","isPatch":false,"sender":{"key":"jnareb@gmail.com","avatar":"https://avatars.githubusercontent.com/u/2706?v=4"},"body":"Shawn Pearce wrote:\n\n> My Java GIT library and Eclipse GIT team provider is now at a point\n> where it may be partially useful to someone else who is also trying\n> to write something which interacts with GIT.  Or who might also\n> be interested in seeing a pure-Java Eclipse team provider for GIT.\n> \n> So I've posted my repository (currently ~200 KB) on my website:\n> \n>   http://www.spearce.org/projects/scm/egit.git\n\nCould you also provide some webpage and/or gitweb for this project?\nI have added some info about your work on GitWiki at\n  http://git.or.cz/gitwiki/InterfacesFrontendsAndTools#Eclipse\nPlease review, correct errors, and expand information as needed.\n\n-- \nJakub Narebski\nWarsaw, Poland\nShadeHawk on #git\n"},{"id":"24343","messageId":"slrnecn475.i60.Peter.B.Baumann@xp.machine.xx","threadId":"5028","inReplyTo":"1154139012.3154.38.camel@dv","subject":"Re: Java GIT/Eclipse GIT version 0.1.1","fromName":"Peter Baumann","fromEmail":"peter.b.baumann@stud.informatik.uni-erlangen.de","sentAt":"2006-07-29T16:46:29Z","receivedAt":"2006-07-29T16:46:29Z","isPatch":false,"sender":{"key":"waste.manager@gmx.de","avatar":null},"body":"On 2006-07-29, Pavel Roskin <proski@gnu.org> wrote:\n> On Fri, 2006-07-28 at 09:23 +0200, Peter Baumann wrote:\n>> >> *** glibc detected *** double free or corruption (!prev): 0x080933b0 ***\n>> >> /usr/bin/git-clone: line 29: 10712 Aborted                 git-http-fetch -v\n>> >> -a -w \"$tname\" \"$name\" \"$1/\"\n>> >\n>> > I'm not getting that.  I hope you are just using an obsolete version of git.\n>> \n>> Not _that_ old, me thinks. I'm using the debian unstable version.\n>\n> I tried to reproduce it but couldn't.  I tried valgrind (3.2.0 and\n> current) on two architectures, I tried _FORTIFY_SOURCE=2 to no avail -\n> it just won't crash or report anything suspicious.  It's the current\n> master branch of git.\n>\n> So, it's up to you to debug it.\n>\n\nStrange. Running git-clone now works.\n\ndevil:~ cd src; git clone http://www.spearce.org/projects/scm/egit.git\nerror: File ac32c7cc2f7cf87a1ed80d0cdfca2af2a0385bb2\n(http://www.spearce.org/projects/scm/egit.git/objects/ac/32c7cc2f7cf87a1ed80d0cdfca2af2a0385bb2)\ncorrupt\nGetting pack list for http://www.spearce.org/projects/scm/egit.git/\nerror: XML error: not well-formed (invalid token)\nGetting index for pack 052a98c5ca30068b8ecda3302198174e4588bab1\nGetting pack 052a98c5ca30068b8ecda3302198174e4588bab1\n which contains ac32c7cc2f7cf87a1ed80d0cdfca2af2a0385bb2\nwalk ac32c7cc2f7cf87a1ed80d0cdfca2af2a0385bb2\n\n[... lots of correct looking walk's ...]\n\nwalk c1f287cb19b9910af19756cf29c08b1fda75da8c\nSome loose object were found to be corrupt, but they might be just\na false '404 Not Found' error message sent with incorrect HTTP\nstatus code.  Suggest running git fsck-objects.\ngot eab86de8ac23e2e77878835007724146fdd83796\n\nAnd git-fsck-objects --full doesn't barf, so it should be ok. Could it\nbe related that I am not using a proxy today (as last time)?\n\n-Peter\n"},{"id":"24373","messageId":"Pine.LNX.4.64.0607301047150.9789@iabervon.org","threadId":"5028","inReplyTo":"20060728063620.GD30783@spearce.org","subject":"Re: Java GIT/Eclipse GIT version 0.1.1","fromName":"Daniel Barkalow","fromEmail":"barkalow@iabervon.org","sentAt":"2006-07-30T14:55:03Z","receivedAt":"2006-07-30T14:55:03Z","isPatch":false,"sender":{"key":"barkalow@iabervon.org","avatar":"https://avatars.githubusercontent.com/u/55364219?v=4"},"body":"On Fri, 28 Jul 2006, Shawn Pearce wrote:\n\n> I would appreciate any and all input, feedback, etc. that anyone\n> might have on this library or plugin.  Patches are of course\n> certainly welcome.  :-)\n\nI'm going to try to do a Servlet (+ my stuff) implementation of essentiall \ngitweb, with the idea that it could integrate with project management \nsoftware (i.e., link completed tasks to the commit which completed them, \nregressions to the commit that broke things, fixes to the commit that \nfixed them, etc, with the UI for choosing values letting you browse the \nactual content and validating that the hash you give exists).\n\nI don't think I need anything you don't already have, but I'll write \ndocumentation as I figure out what's going on, if you want that.\n\n\t-Daniel\n*This .sig left intentionally blank*\n"},{"id":"24405","messageId":"20060731042200.GA27648@spearce.org","threadId":"5028","inReplyTo":"Pine.LNX.4.64.0607301047150.9789@iabervon.org","subject":"Re: Java GIT/Eclipse GIT version 0.1.1","fromName":"Shawn Pearce","fromEmail":"spearce@spearce.org","sentAt":"2006-07-31T04:22:00Z","receivedAt":"2006-07-31T04:22:00Z","isPatch":false,"sender":{"key":"spearce@spearce.org","avatar":"https://avatars.githubusercontent.com/u/34844?v=4"},"body":"Daniel Barkalow <barkalow@iabervon.org> wrote:\n> On Fri, 28 Jul 2006, Shawn Pearce wrote:\n> \n> > I would appreciate any and all input, feedback, etc. that anyone\n> > might have on this library or plugin.  Patches are of course\n> > certainly welcome.  :-)\n> \n> I'm going to try to do a Servlet (+ my stuff) implementation of essentiall \n> gitweb, with the idea that it could integrate with project management \n> software (i.e., link completed tasks to the commit which completed them, \n> regressions to the commit that broke things, fixes to the commit that \n> fixed them, etc, with the UI for choosing values letting you browse the \n> actual content and validating that the hash you give exists).\n> \n> I don't think I need anything you don't already have, but I'll write \n> documentation as I figure out what's going on, if you want that.\n\nSure.  Any improvements would be welcome.  :-)\n\nPlease keep in mind that when I post the next update to the\nrepository I'm going to switch the license to the LGPL.\n\nApparently the Apache License has issues with GPL (I didn't know\nthis until just recently) and the GPL is definately incompatible\nwith the Eclipse license (also just found this out).\n\n-- \nShawn.\n"}]}