-
Notifications
You must be signed in to change notification settings - Fork 170
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
x/pkgsite: Trim HTTP or HTTPS Scheme from Source Code links #6
Conversation
This PR (HEAD: 6177bf8) has been imported to Gerrit for code review. Please visit https://go-review.googlesource.com/c/pkgsite/+/251277 to see it. Tip: You can toggle comments from me using the |
This is not passing all the errors when I run
Can someone guide me how can I amend the code to accommodate this? Thanks |
Message from Thanabodee Charoenpiriyakij: Patch Set 1: (1 comment) Please don’t reply on this GitHub thread. Visit golang.org/cl/251277. |
Message from Thanabodee Charoenpiriyakij: Patch Set 1: Code-Review-1 (1 comment) Please don’t reply on this GitHub thread. Visit golang.org/cl/251277. |
Message from Jonathan Amsterdam: Patch Set 1: Run-TryBot+1 (2 comments) Please don’t reply on this GitHub thread. Visit golang.org/cl/251277. |
Message from kokoro: Patch Set 1: Kokoro presubmit build starting for golang/pkgsite/gcp_ubuntu/presubmit Please don’t reply on this GitHub thread. Visit golang.org/cl/251277. |
Message from kokoro: Patch Set 1: TryBot-Result-1 Kokoro presubmit build finished with status: FAILURE Please don’t reply on this GitHub thread. Visit golang.org/cl/251277. |
Message from Jonathan Amsterdam: Patch Set 1: (1 comment) Please don’t reply on this GitHub thread. Visit golang.org/cl/251277. |
Message from Jonathan Amsterdam: Patch Set 1: (1 comment) Please don’t reply on this GitHub thread. Visit golang.org/cl/251277. |
Trimming the URL by creating a new template function which trims the scheme of the URL Fixes golang/go#40943
6177bf8
to
7310642
Compare
This PR (HEAD: 7310642) has been imported to Gerrit for code review. Please visit https://go-review.googlesource.com/c/pkgsite/+/251277 to see it. Tip: You can toggle comments from me using the |
Message from Jonathan Amsterdam: Patch Set 2: Run-TryBot+1 Please don’t reply on this GitHub thread. Visit golang.org/cl/251277. |
Message from kokoro: Patch Set 2: Kokoro presubmit build starting for golang/pkgsite/gcp_ubuntu/presubmit Please don’t reply on this GitHub thread. Visit golang.org/cl/251277. |
Message from kokoro: Patch Set 2: TryBot-Result+1 Kokoro presubmit build finished with status: SUCCESS Please don’t reply on this GitHub thread. Visit golang.org/cl/251277. |
Message from Rahul Wadhwani: Patch Set 2: (4 comments) Please don’t reply on this GitHub thread. Visit golang.org/cl/251277. |
Message from Jonathan Amsterdam: Patch Set 2: (1 comment) Please don’t reply on this GitHub thread. Visit golang.org/cl/251277. |
Message from Jonathan Amsterdam: Patch Set 2: Code-Review+2 Please don’t reply on this GitHub thread. Visit golang.org/cl/251277. |
Message from Rahul Wadhwani: Patch Set 2: (2 comments) Please don’t reply on this GitHub thread. Visit golang.org/cl/251277. |
Message from Julie Qiu: Patch Set 2: (4 comments) Please don’t reply on this GitHub thread. Visit golang.org/cl/251277. |
Message from Rahul Wadhwani: Patch Set 2: (5 comments) Please don’t reply on this GitHub thread. Visit golang.org/cl/251277. |
Message from Jonathan Amsterdam: Patch Set 3: (1 comment) Please don’t reply on this GitHub thread. Visit golang.org/cl/251277. |
x/pkgsite: trim HTTP or HTTPS Scheme from source code links
A new template function is created, which trims the scheme of the URL.
Tests in server_test.go are modified accordingly.
Fixes golang/go#40943