Skip to content
This repository was archived by the owner on Jun 9, 2025. It is now read-only.

Update documentation for Go language server deployment #244

Merged
merged 1 commit into from
May 28, 2019

Conversation

mrnugget
Copy link
Contributor

This commit changes the documentation for the Go language server
deployment to make it clearer that, you can try out the Go language
server support...

  1. ... without having to setup TLS/SSL (even though we recommend it!)
  2. ... without having to use HTTP basic authentication (even though we recommend it!)

In order to that, I did three things:

  1. add a suffix to the two sections so it's clear you can skip the "Setup
    TLS/SSL" and "HTTP Basic authentication" section
  2. extract the updating of the global settings into a separate step so
    readers won't miss it when they skip HTTP basic auth
  3. extend the section about global settings to explain what to do when
    the first two sections were skipped

This commit changes the documentation for the Go language server
deployment to make it clearer that, you can try out the Go language
server support...

1. ... without having to setup TLS/SSL (even though we recommend it!)
2. ... without having to use HTTP basic authentication (even though we recommend it!)

In order to that, I did three things:

1. add a suffix to the two sections so it's clear you can skip the "Setup
   TLS/SSL" and "HTTP Basic authentication" section
2. extract the updating of the global settings into a separate step so
   readers won't miss it when they skip HTTP basic auth
3. extend the section about global settings to explain what to do when
   the first two sections were skipped
@mrnugget mrnugget requested review from keegancsmith and ggilmore May 22, 2019 13:26
@mrnugget
Copy link
Contributor Author

Happy to change any of the changes (I can totally understand if we never want to say that TLS is optional, even though I guess that the audience of this document knows that you always upgrade to TLS). I just wanted to update the docs to make it clear that it's actually pretty easy to deploy a Go language server with these instructions - it took me longer to find out what of the docs applies to my case and what doesn't than to actually deploy it :)

@keegancsmith keegancsmith requested review from chrismwendt and removed request for keegancsmith May 23, 2019 09:26
@keegancsmith
Copy link
Member

I think @chrismwendt is the strongest owner here, so will defer to him for accepting it.

Copy link
Contributor

@chrismwendt chrismwendt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We've gotten feedback about the README being difficult to read/follow as it is. This PR adds even more information unrelated to a production deployment, so I'm hesitant to accept the changes in this form.

What has been suggested is that this doc be split into different deployment types: k8s, single-Docker image, and local testing. I think that restructuring should happen before we add more deployment types.

@mrnugget
Copy link
Contributor Author

What has been suggested is that this doc be split into different deployment types: k8s, single-Docker image, and local testing. I think that restructuring should happen before we add more deployment types.

Ah, I see, that makes sense. But just so we're on the same page: I was under the assumption that this document here is only about k8s. It doesn't mention single Docker images or local testing. What I'm doing in this PR is adding a little "k8s-testing" information.

Are you maybe thinking of the sourcegraph-go README? https://github.com/sourcegraph/sourcegraph-go Because that one contains Docker, k8s, etc. in one document

Copy link
Contributor

@chrismwendt chrismwendt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Are you maybe thinking of the sourcegraph-go README?

Oh yeah, I was, sorry about that. This LGTM.

@mrnugget mrnugget merged commit 7c88b16 into master May 28, 2019
@mrnugget mrnugget deleted the go-lang-docs branch May 28, 2019 09:14
mrnugget added a commit that referenced this pull request May 28, 2019
This takes the same changes made to the Go lang server documentation in
PR #244 and adapts them for the Typescript language server
mrnugget added a commit that referenced this pull request May 28, 2019
This takes the same changes made to the Go lang server documentation in
PR #244 and adapts them for the Typescript language server
beyang pushed a commit that referenced this pull request May 28, 2019
This commit changes the documentation for the Go language server
deployment to make it clearer that, you can try out the Go language
server support...

1. ... without having to setup TLS/SSL (even though we recommend it!)
2. ... without having to use HTTP basic authentication (even though we recommend it!)

In order to that, I did three things:

1. add a suffix to the two sections so it's clear you can skip the "Setup
   TLS/SSL" and "HTTP Basic authentication" section
2. extract the updating of the global settings into a separate step so
   readers won't miss it when they skip HTTP basic auth
3. extend the section about global settings to explain what to do when
   the first two sections were skipped
beyang pushed a commit that referenced this pull request May 28, 2019
This takes the same changes made to the Go lang server documentation in
PR #244 and adapts them for the Typescript language server
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants