Skip to main content



      Home
Home » Eclipse Projects » EGit / JGit » Any JGit DFSRepository implementation with database(JGit DFSRepository implementation with database)
Any JGit DFSRepository implementation with database [message #1865799] Mon, 13 May 2024 07:14
Eclipse UserFriend
I am experimenting with creating a JGit DFSRepository implementation with a database. From what I understand so far, I need to implement DfsObjDatabase, DfsRefDatabase.

So far I have started implementing the DfsObjDatabase. It seems the Jgit framework first calls the newPack method which returns the DfsPackDescription, and then it calls writeFile. I am guessing I need to implement the writeFile(DfsPackDescription desc, PackExt ext) to insert the pack file in database through sql. Not sure why this method return DfsOutputStream?

Are there any example implementation of database backed JGit DFS implementation? Unfortunately the documentation is not very clear on this.

Thanks
Previous Topic:use Jgit to generate git command line
Next Topic:Enquiry on JGit vs Git and security vulnerabilities
Goto Forum:
  


Current Time: Sat Jul 05 11:41:59 EDT 2025

Powered by FUDForum. Page generated in 0.02700 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top