Java中的嵌入式分布式版本控制系统?

时间:2022-09-26 06:49:19

Is there a distributed version control system (like git or Mercurial) that can be used as an embedded library in Java applications (to implement versioned and synchronizable storage for application data), ideally written in pure Java and under a permissive license?

是否有分布式版本控制系统(如git或Mercurial)可用作Java应用程序中的嵌入式库(为应用程序数据实现版本化和可同步存储),理想情况下是用纯Java和许可许可证编写的?

3 个解决方案

#1


4  

@Josh Moore's reply led me to JGit, which seems to be a competitor to JavaGit. JGit is pure Java and licensed under BSD.

@Josh Moore的回复让我看到了JGit,它似乎是JavaGit的竞争对手。 JGit是纯Java并且在BSD下获得许可。

Some further digging unearthed HgKit, which aims to implement Mercurial in Java. It is still pre-alpha and GPLed.

一些进一步挖掘出土的HgKit,旨在用Java实现Mercurial。它仍然是pre-alpha和GPLed。

#2


2  

I do not know of any pure Java solutions. But, check out http://javagit.sourceforge.net/ you can use it to connect to a git repository with Java.

我不知道任何纯Java解决方案。但是,请查看http://javagit.sourceforge.net/您可以使用它连接到使用Java的git存储库。

#3


0  

There is a pure Java library, SVN Kit for interacting with Subversion

有一个纯Java库,SVN Kit,用于与Subversion交互

#1


4  

@Josh Moore's reply led me to JGit, which seems to be a competitor to JavaGit. JGit is pure Java and licensed under BSD.

@Josh Moore的回复让我看到了JGit,它似乎是JavaGit的竞争对手。 JGit是纯Java并且在BSD下获得许可。

Some further digging unearthed HgKit, which aims to implement Mercurial in Java. It is still pre-alpha and GPLed.

一些进一步挖掘出土的HgKit,旨在用Java实现Mercurial。它仍然是pre-alpha和GPLed。

#2


2  

I do not know of any pure Java solutions. But, check out http://javagit.sourceforge.net/ you can use it to connect to a git repository with Java.

我不知道任何纯Java解决方案。但是,请查看http://javagit.sourceforge.net/您可以使用它连接到使用Java的git存储库。

#3


0  

There is a pure Java library, SVN Kit for interacting with Subversion

有一个纯Java库,SVN Kit,用于与Subversion交互