-
Notifications
You must be signed in to change notification settings - Fork 62
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Configure gt using custom host and port #236
Comments
I would definitely want to add this feature. Actually if you need it urgently, or you would like to contribute you, feel free to create a pull request. I can help you get it merged asap. It's not so complicated to do this as this only affects the CLI. I am explaining here how to implement it to make it easy for you. As a first step you can add a new flag/option to supply the remote server URL: Lines 68 to 107 in 4b6e74a
then, you just need to make sure that that argument is used instead of getting the server info here: Lines 120 to 121 in 4b6e74a
A further improvement could be to create support for config files, and then in those config files there could be a configuration option to match a local folder with a remote server URL so that it always uses the remote server by default. |
I am adding good first issue on this one as well, as a releasable implementation can be created without knowledge of the project structure using the information I shared above. Also testing should be easy, you can take inspiration in test_cli.py. |
I would also like to note that it should be possible to create a feature that allows local users to import data from a remote server to avoid having to analyze the entire repository locally. Actually you should already be able to do this manually by simply copying the cache folder from the server to the local machine. This would have the added benefit that the users are still able to search their local changes, and even when they are not connected to the internet. And it should also be faster by saving the network overhead Also I am working on creating a web-based GUI as well, using that your users will be able to search your repositories using SeaGOAT without installing anything on their computer: https://github.com/kantord/SeaGOAT-web |
Now that configuration files are supported, this should be even more trivial to implement! |
I'm running seagoat-server in the cloud and want to configure
gt
to use an external host and port instead ofhttp://0.0.0.0:35257
. Please consider adding this feature.The text was updated successfully, but these errors were encountered: