README.md 640 Bytes
Newer Older
Thomas Friese's avatar
Thomas Friese committed
1 2 3 4 5 6 7 8 9 10 11 12
# Module to do Git Operations in eXist-db

Provides a mudule for manual or automated git operations.

## Documentation

Copy the `configuration.xml` example into the root of your application and edit it to your needs.

Do the same with `modules/trigger-versioning.xqm` and modules `config.xqm`.

`test-git-push.xql` is an example file generating entries for getting a collection automatically triggered to git pushes.

13 14 15 16 17 18 19 20
## Example

For cloning a remote repository call a XQuery function like:

```xquery
git:clone( $config:source-url, $config:branch, $config:file-repo-root )
```

Thomas Friese's avatar
Thomas Friese committed
21 22 23 24 25 26 27
## Build

Building a XAR package with ant:

```shell
ant
```