Adds initial basic support for HCP based configuration in vagrant-go. The initalization process has been updated to remove Vagrantfile parsing from the client, moving it to the runner using init jobs for the basis and the project (if there is one). Detection is done on the file based on extension for Ruby based parsing or HCP based parsing. Current HCP parsing is extremely simple and currently just a base to build off. Config components will be able to implement an `Init` function to handle receiving configuration data from a non-native source file. This will be extended to include a default approach for injecting defined data in the future. Some cleanup was done in the state around validations. Some logging adjustments were applied on the Ruby side for better behavior consistency. VirtualBox provider now caches locale detection to prevent multiple checks every time the driver is initialized.
166 lines
7.3 KiB
Modula-2
166 lines
7.3 KiB
Modula-2
module github.com/hashicorp/vagrant
|
|
|
|
go 1.20
|
|
|
|
require (
|
|
github.com/armon/circbuf v0.0.0-20190214190532-5111143e8da2
|
|
github.com/bmatcuk/doublestar v1.3.4
|
|
github.com/fatih/color v1.15.0
|
|
github.com/fatih/structs v1.1.0
|
|
github.com/fatih/structtag v1.2.0
|
|
github.com/glebarez/sqlite v1.8.0
|
|
github.com/go-git/go-git/v5 v5.7.0
|
|
github.com/go-ozzo/ozzo-validation/v4 v4.3.0
|
|
github.com/gorilla/handlers v1.5.1
|
|
github.com/h2non/filetype v1.1.3
|
|
github.com/hashicorp/go-argmapper v0.2.4
|
|
github.com/hashicorp/go-getter v1.7.1
|
|
github.com/hashicorp/go-hclog v1.5.0
|
|
github.com/hashicorp/go-memdb v1.3.4
|
|
github.com/hashicorp/go-multierror v1.1.1
|
|
github.com/hashicorp/go-plugin v1.4.10
|
|
github.com/hashicorp/go-retryablehttp v0.7.4
|
|
github.com/hashicorp/go-version v1.6.0
|
|
github.com/hashicorp/hcl/v2 v2.17.0
|
|
github.com/hashicorp/vagrant-plugin-sdk v0.0.0-20230908002302-5b51f0768f72
|
|
github.com/imdario/mergo v0.3.16
|
|
github.com/improbable-eng/grpc-web v0.15.0
|
|
github.com/kr/text v0.2.0
|
|
github.com/mitchellh/cli v1.1.5
|
|
github.com/mitchellh/go-glint v0.0.0-20210722152315-6515ceb4a127
|
|
github.com/mitchellh/go-homedir v1.1.0
|
|
github.com/mitchellh/go-testing-interface v1.14.1
|
|
github.com/mitchellh/go-wordwrap v1.0.1
|
|
github.com/mitchellh/mapstructure v1.5.0
|
|
github.com/mitchellh/protostructure v0.0.0-20200814180458-3cfccdb015ce
|
|
github.com/oklog/run v1.1.0
|
|
github.com/oklog/ulid v1.3.1
|
|
github.com/pkg/errors v0.9.1
|
|
github.com/posener/complete v1.2.3
|
|
github.com/randall77/makefat v0.0.0-20210315173500-7ddd0e42c844
|
|
github.com/skratchdot/open-golang v0.0.0-20200116055534-eef842397966
|
|
github.com/stretchr/testify v1.8.4
|
|
github.com/zclconf/go-cty v1.13.2
|
|
github.com/zclconf/go-cty-yaml v1.0.3
|
|
golang.org/x/sys v0.8.0
|
|
golang.org/x/text v0.9.0
|
|
google.golang.org/genproto/googleapis/rpc v0.0.0-20230530153820-e85fd2cbaebc
|
|
google.golang.org/grpc v1.56.2
|
|
google.golang.org/protobuf v1.30.0
|
|
gorm.io/datatypes v1.2.0
|
|
gorm.io/gorm v1.25.3
|
|
)
|
|
|
|
require (
|
|
cloud.google.com/go v0.110.2 // indirect
|
|
cloud.google.com/go/compute v1.20.0 // indirect
|
|
cloud.google.com/go/compute/metadata v0.2.3 // indirect
|
|
cloud.google.com/go/iam v1.1.0 // indirect
|
|
cloud.google.com/go/storage v1.30.1 // indirect
|
|
github.com/LK4D4/joincontext v0.0.0-20171026170139-1724345da6d5 // indirect
|
|
github.com/Masterminds/goutils v1.1.1 // indirect
|
|
github.com/Masterminds/semver/v3 v3.2.1 // indirect
|
|
github.com/Masterminds/sprig/v3 v3.2.3 // indirect
|
|
github.com/Microsoft/go-winio v0.6.1 // indirect
|
|
github.com/ProtonMail/go-crypto v0.0.0-20230528122434-6f98819771a1 // indirect
|
|
github.com/VividCortex/ewma v1.2.0 // indirect
|
|
github.com/acomagu/bufpipe v1.0.4 // indirect
|
|
github.com/adrg/xdg v0.4.0 // indirect
|
|
github.com/agext/levenshtein v1.2.3 // indirect
|
|
github.com/apparentlymart/go-textseg/v13 v13.0.0 // indirect
|
|
github.com/armon/go-radix v1.0.0 // indirect
|
|
github.com/aws/aws-sdk-go v1.44.279 // indirect
|
|
github.com/bgentry/go-netrc v0.0.0-20140422174119-9fd32a8b3d3d // indirect
|
|
github.com/bgentry/speakeasy v0.1.0 // indirect
|
|
github.com/briandowns/spinner v1.23.0 // indirect
|
|
github.com/cenkalti/backoff/v4 v4.2.1 // indirect
|
|
github.com/cheggaaa/pb/v3 v3.1.2 // indirect
|
|
github.com/cloudflare/circl v1.3.3 // indirect
|
|
github.com/containerd/console v1.0.3 // indirect
|
|
github.com/creack/pty v1.1.18 // indirect
|
|
github.com/davecgh/go-spew v1.1.1 // indirect
|
|
github.com/desertbit/timer v0.0.0-20180107155436-c41aec40b27f // indirect
|
|
github.com/dustin/go-humanize v1.0.1 // indirect
|
|
github.com/emirpasic/gods v1.18.1 // indirect
|
|
github.com/felixge/httpsnoop v1.0.3 // indirect
|
|
github.com/glebarez/go-sqlite v1.21.1 // indirect
|
|
github.com/go-git/gcfg v1.5.1-0.20230307220236-3a3c6141e376 // indirect
|
|
github.com/go-git/go-billy/v5 v5.4.1 // indirect
|
|
github.com/go-sql-driver/mysql v1.7.1 // indirect
|
|
github.com/go-test/deep v1.0.7 // indirect
|
|
github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da // indirect
|
|
github.com/golang/protobuf v1.5.3 // indirect
|
|
github.com/google/go-cmp v0.5.9 // indirect
|
|
github.com/google/s2a-go v0.1.4 // indirect
|
|
github.com/google/uuid v1.3.0 // indirect
|
|
github.com/googleapis/enterprise-certificate-proxy v0.2.4 // indirect
|
|
github.com/googleapis/gax-go/v2 v2.10.0 // indirect
|
|
github.com/gookit/color v1.5.3 // indirect
|
|
github.com/gorilla/websocket v1.5.0 // indirect
|
|
github.com/hashicorp/errwrap v1.1.0 // indirect
|
|
github.com/hashicorp/go-cleanhttp v0.5.2 // indirect
|
|
github.com/hashicorp/go-immutable-radix v1.3.1 // indirect
|
|
github.com/hashicorp/go-safetemp v1.0.0 // indirect
|
|
github.com/hashicorp/go-uuid v1.0.2 // indirect
|
|
github.com/hashicorp/golang-lru v0.5.4 // indirect
|
|
github.com/hashicorp/yamux v0.1.1 // indirect
|
|
github.com/huandu/xstrings v1.4.0 // indirect
|
|
github.com/jbenet/go-context v0.0.0-20150711004518-d14ea06fba99 // indirect
|
|
github.com/jinzhu/inflection v1.0.0 // indirect
|
|
github.com/jinzhu/now v1.1.5 // indirect
|
|
github.com/jmespath/go-jmespath v0.4.0 // indirect
|
|
github.com/kevinburke/ssh_config v1.2.0 // indirect
|
|
github.com/klauspost/compress v1.16.5 // indirect
|
|
github.com/kr/pretty v0.3.1 // indirect
|
|
github.com/kylelemons/godebug v1.1.0 // indirect
|
|
github.com/lab47/vterm v0.0.0-20211107042118-80c3d2849f9c // indirect
|
|
github.com/mattn/go-colorable v0.1.13 // indirect
|
|
github.com/mattn/go-isatty v0.0.19 // indirect
|
|
github.com/mattn/go-runewidth v0.0.14 // indirect
|
|
github.com/mitchellh/copystructure v1.2.0 // indirect
|
|
github.com/mitchellh/reflectwalk v1.0.2 // indirect
|
|
github.com/morikuni/aec v1.0.0 // indirect
|
|
github.com/nicksnyder/go-i18n/v2 v2.2.1 // indirect
|
|
github.com/olekukonko/tablewriter v0.0.5 // indirect
|
|
github.com/pjbgf/sha1cd v0.3.0 // indirect
|
|
github.com/pmezard/go-difflib v1.0.0 // indirect
|
|
github.com/remyoudompheng/bigfft v0.0.0-20230129092748-24d4a6f8daec // indirect
|
|
github.com/rivo/uniseg v0.4.4 // indirect
|
|
github.com/rogpeppe/go-internal v1.10.0 // indirect
|
|
github.com/rs/cors v1.9.0 // indirect
|
|
github.com/sergi/go-diff v1.3.1 // indirect
|
|
github.com/shopspring/decimal v1.3.1 // indirect
|
|
github.com/skeema/knownhosts v1.1.1 // indirect
|
|
github.com/spf13/cast v1.5.1 // indirect
|
|
github.com/stretchr/objx v0.5.0 // indirect
|
|
github.com/tj/go-spin v1.1.0 // indirect
|
|
github.com/ulikunitz/xz v0.5.11 // indirect
|
|
github.com/xanzy/ssh-agent v0.3.3 // indirect
|
|
github.com/xo/terminfo v0.0.0-20220910002029-abceb7e1c41e // indirect
|
|
github.com/y0ssar1an/q v1.0.10 // indirect
|
|
go.opencensus.io v0.24.0 // indirect
|
|
golang.org/x/crypto v0.9.0 // indirect
|
|
golang.org/x/mod v0.10.0 // indirect
|
|
golang.org/x/net v0.10.0 // indirect
|
|
golang.org/x/oauth2 v0.8.0 // indirect
|
|
golang.org/x/term v0.8.0 // indirect
|
|
golang.org/x/tools v0.9.3 // indirect
|
|
golang.org/x/xerrors v0.0.0-20220907171357-04be3eba64a2 // indirect
|
|
google.golang.org/api v0.125.0 // indirect
|
|
google.golang.org/appengine v1.6.7 // indirect
|
|
google.golang.org/genproto v0.0.0-20230530153820-e85fd2cbaebc // indirect
|
|
google.golang.org/genproto/googleapis/api v0.0.0-20230530153820-e85fd2cbaebc // indirect
|
|
gopkg.in/warnings.v0 v0.1.2 // indirect
|
|
gopkg.in/yaml.v3 v3.0.1 // indirect
|
|
gorm.io/driver/mysql v1.5.1 // indirect
|
|
modernc.org/libc v1.24.1 // indirect
|
|
modernc.org/mathutil v1.5.0 // indirect
|
|
modernc.org/memory v1.6.0 // indirect
|
|
modernc.org/sqlite v1.23.0 // indirect
|
|
nhooyr.io/websocket v1.8.7 // indirect
|
|
)
|
|
|
|
// replace github.com/hashicorp/go-argmapper => ../go-argmapper
|
|
|
|
// replace github.com/hashicorp/vagrant-plugin-sdk => ../vagrant-plugin-sdk
|