{"id":47219059,"url":"https://github.com/buda-base/git-to-dbs","last_synced_at":"2026-03-13T17:08:27.687Z","repository":{"id":37481338,"uuid":"84928602","full_name":"buda-base/git-to-dbs","owner":"buda-base","description":"Git to CouchDB / Fuseki / CouchDB for BDRC Lib App","archived":false,"fork":false,"pushed_at":"2025-10-16T13:52:15.000Z","size":11895,"stargazers_count":0,"open_issues_count":15,"forks_count":0,"subscribers_count":5,"default_branch":"master","last_synced_at":"2026-01-19T19:43:57.682Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/buda-base.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-03-14T09:11:48.000Z","updated_at":"2025-07-02T11:41:07.000Z","dependencies_parsed_at":"2024-05-22T10:06:16.022Z","dependency_job_id":"f32f0247-8c52-4ad4-bd44-88721bca232a","html_url":"https://github.com/buda-base/git-to-dbs","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"purl":"pkg:github/buda-base/git-to-dbs","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/buda-base%2Fgit-to-dbs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/buda-base%2Fgit-to-dbs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/buda-base%2Fgit-to-dbs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/buda-base%2Fgit-to-dbs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/buda-base","download_url":"https://codeload.github.com/buda-base/git-to-dbs/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/buda-base%2Fgit-to-dbs/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30471141,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-13T11:00:43.441Z","status":"ssl_error","status_checked_at":"2026-03-13T11:00:23.173Z","response_time":60,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2026-03-13T17:08:27.055Z","updated_at":"2026-03-13T17:08:27.678Z","avatar_url":"https://github.com/buda-base.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# git-to-dbs \n\nThis repository contains code to transfer BDRC data from local git repos to Fuseki and/or couchdb. It can transfer the whole database or just listen to changes in the git repos.\n\n## Downloading\n\nYou can either clone this repository (and then the submodule: `git submodule update --init`) or fetch the latest .jar file on the [release page](https://github.com/BuddhistDigitalResourceCenter/fuseki-couchdb/releases). You can automatically get the jar file of the latest release with\n\n```\ncurl -s https://api.github.com/repos/BuddhistDigitalResourceCenter/fuseki-couchdb/releases/latest | jq -r \".assets[] | select(.name | test(\\\"jar$\\\")) | .browser_download_url\" | xargs curl -sL -o fusekicouchdb-latest.jar -O\n```\n\n## Compiling and running\n\n##### from the jar file \n\n```\njava -jar target/gittodbs-0.8.0.jar -help\n```\n\nA typical usage is:\n\n```\ntime java -jar target/gittodbs-0.8.0.jar -transferOnto -transferAllDB -doNotListen -timeout 60 -progress\n```\n\n##### from the java code\n\n```\nmvn compile exec:java -Dexec.args=\"-help\"\n```\n\nTo compile a jar file:\n\n```\nmvn clean package\n```\nor\n```\nmvn clean package -Dmaven.test.skip=true\n```\n\nThe first time after cloning the repo:\n\n```\ngit submodule update --init\n```\n\nWhen there is a change in the owl-schema repo the following may be used to sync to the head of the owl-schema repo:\n\n```\ngit submodule update --recursive --remote\n```\nAnd then ```mvn clean package``` to update the gittodbs-x.y.z.jar\n\n## Debugging Unit tests etc\n\nTo use slf4j bound to log4j the pom.xml needs a dependency like:\n\n```\n    \u003cdependency\u003e\n      \u003cgroupId\u003eorg.slf4j\u003c/groupId\u003e\n      \u003cartifactId\u003eslf4j-log4j12\u003c/artifactId\u003e\n      \u003cversion\u003e1.7.25\u003c/version\u003e\n    \u003c/dependency\u003e\n```\nTo get logging during running unit tests, update the src/test/resources with desired log level settings and then to run a single test such as AppTest:\n\n```\nmvn -Dlog4j.debug  surefire:test -Dtest=AppTest\n```\nwill run AppTest with the log4j.properties settings and the `-Dlog4j.debug` will output debugging from log4j as it locates the effective log4j.properties.\n\nAdding an appropriate log4j.properties to src/main/resources allows to control logging of the main application.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbuda-base%2Fgit-to-dbs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbuda-base%2Fgit-to-dbs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbuda-base%2Fgit-to-dbs/lists"}