{"thread":{"id":"24358","subject":"[GSoC] libgit2 before the first evaluation","startedAt":"2010-07-10T17:31:22Z","lastAt":"2010-08-10T22:58:56Z","messageCount":3,"participants":["Vicent Marti","Thomas Koch","Sverre Rabbelier"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"145277","messageId":"AANLkTil46G2eI2cmXL5mHWrxFbCuavrFlcScT-7nwdoh@mail.gmail.com","threadId":"24358","inReplyTo":null,"subject":"[GSoC] libgit2 before the first evaluation","fromName":"Vicent Marti","fromEmail":"tanoku@gmail.com","sentAt":"2010-07-10T17:31:22Z","receivedAt":"2010-07-10T17:31:22Z","isPatch":false,"sender":{"key":"tanoku@gmail.com","avatar":"https://gravatar.com/avatar/271386991cb4c2b8f1e1ed1d059f3422cc3485de7a598f65043f70be021d095b?d=mp&s=160"},"body":"Hello everybody,\n\nthe first coding period of this year's Summer of Code is almost over,\nand the libgit2 project is looking good. Here's a short status update:\n\nAll the functionality for revision walking is in place in the main\ndevelopment branch [1]; together with it there's a set of extra\nfunctionality: a work in progress interface to load tree objects in\nmemory, and a finished interface to load commits in memory and extract\ndetailed information from them. All this code has been reviewed for\nstyle and fixed accordingly (thanks Ramsay), and is in the process of\nbeing reviewed for design. The libgit2 core developers have been very\nbusy lately, so any input on this matter is very much welcome.\n\nFurthermore, while waiting for code reviews I've created a new\ndevelopment branch [2] and began working on the features required for\nthe second period of the Summer of Code. So far, there's support for\nloading and parsing index files from disk; there is also a WIP\nimplementation of git-like atomic file locking [3] which will be\nrequired for writing the index files back to disk.\n\nI've been having some issues with file locking, however, since the\nreference git.git implementation differs quite a bit from the one on\nJGit: it seems like JGit applies an additional filesystem-level lock\n(i.e. POSIX flock()) to the temporary \".lock\" file, something which is\ncomplicated to do in a cross-platform manner in C. There's also\ndifferences between implementations which I'm trying to work out (not\neasy since I'm no Java expert): for instance, it seems like the JGit\nimplementation doesn't update its internal state to signal that the\nfile is unlocked after a commit (LockFile.java:393). Are there any\nJGit developers who can throw some insight into this?\n\n\nEither way, once the atomic file locking issues have been solved, I'll\nget started on the remaining functionality for working with index\nfiles (modifying & writing back to disk) . After that, the last goal\nfor the Summer is the API for reference manipulation which hasn't been\ndesigned yet. I'll keep you all updated.\n\nThanks for your time,\nVicent Martí\nhttp://www.bellverde.org\n\n[1]: http://github.com/tanoku/libgit2-gsoc2010/commits/gsoc\n[2]: http://github.com/tanoku/libgit2-gsoc2010/commits/gsoc-index\n[3]: http://github.com/tanoku/libgit2-gsoc2010/commit/8b92be06f64c04c2b2d874cf00769a7deb9a2835\n"},{"id":"147616","messageId":"201008101029.09718.thomas@koch.ro","threadId":"24358","inReplyTo":"AANLkTil46G2eI2cmXL5mHWrxFbCuavrFlcScT-7nwdoh@mail.gmail.com","subject":"Re: [GSoC] libgit2 before the first evaluation","fromName":"Thomas Koch","fromEmail":"thomas@koch.ro","sentAt":"2010-08-10T08:29:08Z","receivedAt":"2010-08-10T08:29:08Z","isPatch":false,"sender":{"key":"thomas@koch.ro","avatar":null},"body":"Hi Vicent,\n\nit has been one month since your last mail to the git mailing list. Are you \nwell? I'm just a fellow GIT user and would love to get my hands on libgit.\n\nThomas Koch, http://www.koch.ro\n"},{"id":"147701","messageId":"AANLkTi=qKGi3w2depLO7FDfCN3fBem6_xKZ70pD_af53@mail.gmail.com","threadId":"24358","inReplyTo":"201008101029.09718.thomas@koch.ro","subject":"Re: [GSoC] libgit2 before the first evaluation","fromName":"Sverre Rabbelier","fromEmail":"srabbelier@gmail.com","sentAt":"2010-08-10T22:58:56Z","receivedAt":"2010-08-10T22:58:56Z","isPatch":false,"sender":{"key":"srabbelier@gmail.com","avatar":"https://avatars.githubusercontent.com/u/3098?v=4"},"body":"Heya,\n\nOn Tue, Aug 10, 2010 at 03:29, Thomas Koch <thomas@koch.ro> wrote:\n> it has been one month since your last mail to the git mailing list.\n\nOn that note, wasn't it a _key goal_ of the libgit project to get it\nintegrated with git.git to prevent it from rotting? Why haven't I seen\n_any_ emails about that yet? On that note, why has this been developed\nalmost entirely in the dark? Where were the weekly status updates? I'm\nsure code is being produced, but a big part of GSoC is being part of\nthe community, and I've seen almost zero involvement.\n\n-- \nCheers,\n\nSverre Rabbelier\n"}]}