JGit as a read-only FileSystemProvider [message #1832651] |
Tue, 22 September 2020 14:36  |
Eclipse User |
|
|
|
Dear JGit Community,
I am "finalizing" a (first version of) a FileSystemProvider whose instances are git repositories. It provides read only view.
This permits to view the contents of a git repository using the Files API, and thus abstract the git specificities away, letting code that works for general file system also work when running on some commit in some git repository, and with no need of explicitly checking out the commit on the worktree, as the FileSystem gets the data directly from the history.
It runs on top of JGit.
It is currently part of a bigger software (in development) but I plan to release this separately as I suppose it could be of interest in itself.
Is there some interest for this here? I'd be glad to benefit from the experience of JGit developers, if you are willing to give some some high-level comments on the technical choices I made. I could also donate the code if there is interest in integrating such feature into JGit.
(Indirectly related: https://www.eclipse.org/forums/index.php/m/1828091/.)
|
|
|
|
|
|
Re: JGit as a read-only FileSystemProvider [message #1832829 is a reply to message #1832776] |
Fri, 25 September 2020 16:08  |
Eclipse User |
|
|
|
Hadn't seen this. This seems is rather big. I only skimmed it, but I see a remote file system (can also be used on a local clone) with caching, with built-in clients for SSH (using JSch) and git-protocol, plus also an integrated SSH git server (based on Apache MINA sshd), plus some Ketch integration? All configurable via its own config file handling? Doubtless I've missed a lot of other features in my brief look.
|
|
|
Powered by
FUDForum. Page generated in 0.03419 seconds