Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 0 additions & 7 deletions language-server/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,3 @@ point. A lot of refactoring has been done on both these copied codebases to make
work for function-hcl. Both upstream projects are licensed under the Mozilla Public License 2.0 (MPL-2.0).
See [NOTICE](NOTICE) for specific attribution details and [LICENSE-MPL-2.0.txt](LICENSE-MPL-2.0.txt)
for the full license text.

In addition, the `go.mod` replaces the [HCL dependency](https://github.com/hashicorp/hcl)
with a [fork](https://github.com/gotwarlost/hcl) because of a [critical fix](https://github.com/hashicorp/hcl/pull/785)
for a [known issue](https://github.com/hashicorp/hcl/issues/597) that is needed.

You cannot build this repo using `go install github.com/...` because of this. For source builds, you will need to clone
the repo and build it locally.
4 changes: 1 addition & 3 deletions language-server/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ require (
github.com/google/go-containerregistry v0.20.7
github.com/hashicorp/go-uuid v1.0.3
github.com/hashicorp/go-version v1.7.0
github.com/hashicorp/hcl/v2 v2.24.0
github.com/hashicorp/hcl/v2 v2.24.1-0.20260327001625-d4195a120f30
github.com/pkg/errors v0.9.1
github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2
github.com/spf13/cobra v1.10.2
Expand All @@ -26,8 +26,6 @@ require (
k8s.io/apimachinery v0.35.0
)

replace github.com/hashicorp/hcl/v2 => github.com/gotwarlost/hcl/v2 v2.0.0-20260210011329-0927384ef641

require (
dario.cat/mergo v1.0.2 // indirect
github.com/agext/levenshtein v1.2.3 // indirect
Expand Down
4 changes: 2 additions & 2 deletions language-server/go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -119,12 +119,12 @@ github.com/google/pprof v0.0.0-20250403155104-27863c87afa6 h1:BHT72Gu3keYf3ZEu2J
github.com/google/pprof v0.0.0-20250403155104-27863c87afa6/go.mod h1:boTsfXsheKC2y+lKOCMpSfarhxDeIzfZG1jqGcPl3cA=
github.com/google/uuid v1.6.0 h1:NIvaJDMOsjHA8n1jAhLSgzrAzy1Hgr+hNrb57e+94F0=
github.com/google/uuid v1.6.0/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo=
github.com/gotwarlost/hcl/v2 v2.0.0-20260210011329-0927384ef641 h1:+EvCvuVKbVO3HwxCbcujmOAvQSUY+1I4RQ5NHqLToX4=
github.com/gotwarlost/hcl/v2 v2.0.0-20260210011329-0927384ef641/go.mod h1:WS1ymNdBhhwYKDVlGnUb9fmqB2hw1djJva6S8Bj/WfI=
github.com/hashicorp/go-uuid v1.0.3 h1:2gKiV6YVmrJ1i2CKKa9obLvRieoRGviZFL26PcT/Co8=
github.com/hashicorp/go-uuid v1.0.3/go.mod h1:6SBZvOh/SIDV7/2o3Jml5SYk/TvGqwFJ/bN7x4byOro=
github.com/hashicorp/go-version v1.7.0 h1:5tqGy27NaOTB8yJKUZELlFAS/LTKJkrmONwQKeRZfjY=
github.com/hashicorp/go-version v1.7.0/go.mod h1:fltr4n8CU8Ke44wwGCBoEymUuxUHl09ZGVZPK5anwXA=
github.com/hashicorp/hcl/v2 v2.24.1-0.20260327001625-d4195a120f30 h1:IQMtUW+S2J6QFXpd+hMrMJmGMElL1/2VrixOkjCmmkk=
github.com/hashicorp/hcl/v2 v2.24.1-0.20260327001625-d4195a120f30/go.mod h1:WS1ymNdBhhwYKDVlGnUb9fmqB2hw1djJva6S8Bj/WfI=
github.com/inconshreveable/mousetrap v1.1.0 h1:wN+x4NVGpMsO7ErUn/mUI3vEoE6Jt13X2s0bqwp9tc8=
github.com/inconshreveable/mousetrap v1.1.0/go.mod h1:vpF70FUmC8bwa3OWnCshd2FqLfsEA9PFc4w1p2J65bw=
github.com/json-iterator/go v1.1.12 h1:PV8peI4a0ysnczrg+LtxykD8LfKY9ML6u2jnxaEnrnM=
Expand Down
Loading