From: Roth, M. <mat...@ya...> - 2025-03-13 16:54:04
|
Hi List, I am in the process of updating an exist-3.x instance to an exist-6.x instance. We would like to be able to directly clone, branch, and commit to a locally hosted git repository. In our eXist-3.x instance we do most of this via subversion and the old SVN module. But in the last decade we have migrated a lot of our local repositories to git and think this would be a good time to migrate away from this old dependency. The problem I am running into is I don't see any modules that currently replicate the same features of the old SVN module in git. I see two abandoned projects. 1. eXgit [0<https://github.com/shabanovd/eXgit/>] - This seemed to have the most community support 2. eXgit [1<https://github.com/dariok/eXgit/tree/master>] - Yeah, same name, different project. The xar would not work in 6.2.0, and the instructions for using the jar also seemed to not function, nor generate any log messages [2<https://github.com/eXist-db/documentation/issues/385>]. And two xquery modules that are designed to work with github. 1. Github-xq [3<https://github.com/eXist-db/github-xq>]- Winona's excellent module, but due to restrictions on our data github is not an option 2. Tuttle [4<https://github.com/eeditiones/tuttle>] - I suppose I could self-host gitlab, but not sure excited about a nodejs dep. So now I am left with a few questions 1. Is there a module for working with git I cannot locate? 2. If not, Why is there no longer a well maintained module for working with git or svn in eXist. * Is there no community desire for this? * Is this an anti-pattern, or might there be a more preferred way to handle this? 3. If I were to try to do something myself, I would want to create an EXPath Package or would I be wanting to create an extension such the Example in extensions/modules/example [5<https://github.com/eXist-db/exist/tree/develop/extensions/modules/example>]? * Or am I misunderstanding and these are similar? From my understanding the latter requires it being built and bundled with exist. Best, Matt [0] https://github.com/shabanovd/eXgit/ [1] https://github.com/dariok/eXgit/tree/master [2] https://github.com/eXist-db/documentation/issues/385 [3] https://github.com/eXist-db/github-xq [4] https://github.com/eeditiones/tuttle [5] https://github.com/eXist-db/exist/tree/develop/extensions/modules/example |