3

Do you know about any implementation of git:// protocol for Apache Commons VFS in Java?

Of course Git isn't among officially supported file systems, see http://commons.apache.org/proper/commons-vfs/filesystems.html — but I can't believe there is no impl at all. Tried to google it and found nothing usable.

Since Git can generally be seen as file system with VCS features on top of it, I guess it shouldn't be that hard to create an VFS module. Or am I wrong?

dond
  • 138
  • 7

2 Answers2

1
 https://mvnrepository.com/artifact/org.uberfire/vfs-jgit

Actually, the uberfire has a implementation of jgit virtual file system, it doesn't release for long time, although it works for redhat jbpm kie server:

 https://github.com/kiegroup/appformer
meadlai
  • 895
  • 1
  • 9
  • 22
  • Looks good. Original request has been lost in time but I will try to spare some time to look at it. Thanks. – dond Mar 07 '19 at 08:14
0

https://github.com/mmounirou/commons-vfs-git appears to be a commons-vfs implementation using jgit.

Joe
  • 29,416
  • 12
  • 68
  • 88