git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Compatibility between git.git and jgit

From
Shawn O. Pearce <spearce@spearce.org>
Date
May 2, 2009, 00:01 UTC
Message-ID
<20090502000123.GF23604@spearce.org>
In-Reply-To
<7v4ow4v0xl.fsf@gitster.siamese.dyndns.org>
Junio C Hamano <gitster@pobox.com> wrote:
Show 6 quoted lines
> The code looks correct, I am reasonably sure updated server-client
> combination would work fine, and use of the capability mechanism means
> other combinations like old pusher and new receiver, and/or new pusher and
> old receiver, should be also Ok.
> 
> I see Shawn did the same to jgit.

On an unrelated note, someone asked me recently, how do we ensure compatibility in implementations between git.git and jgit?

There isn't exactly a great notion of "a Git implementation can do X, Y, Z, and never does Q". So its not like we have a compability test suite to run between the two systems.

JGit is really starting to gain some traction in the open source world.

A lot of folks at Eclipse are really excited about being able to ship a BSD licensed VCS. Some of the Maven folks are really excited about being able to link JGit up to Apache MINA SSHD and have a 100% pure Java server solution for Git, that doesn't require native OS authentication systems. Gerrit Code Review relies entirely on it, and some folks within Google are now using Gerrit Code Review and its embedded MINA SSHD/JGit server as their only Git daemon.

Thus far, our compatibility story with git.git has been, "it should work, uh, we think, because Shawn understands git reasonably well, and wrote some of JGit, so uh, yea....". :-)

But I think in another 12 months we'll be seeing people running only JGit in many contexts, making compatibility between the two implementations somewhat more important than it has been in the past.

-- 
Shawn.
Previous: Junio C HamanoNext: A Large Angry SCM
Message 8 of 16 in “Weird growth in packfile during initial push”
  1. Robin H. JohnsonApr 15, 2009
  2. Nicolas PitreApr 15, 2009
  3. Junio C HamanoApr 29, 2009
  4. Nicolas PitreApr 30, 2009
  5. Robin H. JohnsonMay 1, 2009
  6. allow OFS_DELTA objects during a pushNicolas Pitre, May 1, 2009
  7. Junio C HamanoMay 1, 2009
  8. Compatibility between git.git and jgitShawn O. Pearce, May 2, 2009
  9. A Large Angry SCMMay 2, 2009
  10. Nicolas PitreMay 2, 2009
  11. Shawn O. PearceMay 2, 2009
  12. Ealdwulf WuffingaMay 2, 2009
  13. Michael WittenMay 2, 2009
  14. Nicolas PitreMay 2, 2009
  15. Shawn O. PearceMay 4, 2009
  16. Shawn O. PearceMay 4, 2009

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.