gjanders / SplunkVersionControl

Version Control application for Splunk
Apache License 2.0
30 stars 10 forks source link

Using git filesystem repo #26

Closed dalekgamma closed 2 years ago

dalekgamma commented 2 years ago

Good afternoon. Due to restrictions in place, I am unable to set up a git server in my environment, but was hoping to use this app with a local git repo.

Unfortunately, I can't get past setting configs, since ls-remote fails when trying to point to a filesystem URI.

From the debug logs: 2022-04-05 16:17:13,143 root DEBUG useLocalAuth enabled 2022-04-05 16:17:13,143 root DEBUG git_command now has GIT_SSL_NO_VERIFY=true because disable_git_ssl_verify: 1 2022-04-05 16:17:13,143 root DEBUG Begin OS process run of GIT_SSL_NO_VERIFY=true git ls-remote file:////home/splunk/repository 2022-04-05 16:17:13,171 root DEBUG OS process exited with non-zero code of 128, for command GIT_SSL_NO_VERIFY=true git ls-remote file:////home/splunk/repository

Hopefully there is a simple way to make this work.

gjanders commented 2 years ago

Unfortunately the code is built around using a remote git server. You could potentially spin up a simple git server software for it if you cannot use an external or internal corporate git

dalekgamma commented 2 years ago

Thanks for the quick response.