Commit Graph

27 Commits (main)

Author SHA1 Message Date
Radek Simko 0fe906fa8c make copyrightfix
2 months ago
Samsondeen c0a7ff235b
Apply some new go collection features (#36818)
1 year ago
James Bardin 2cbb6bf92f udpate code which was failing staticckeck
2 years ago
Martin Atkins 5f2eab6944 providerreqs: Provider requirement/version types in their own package
2 years ago
hashicorp-copywrite[bot] 53c34ff49c
Update copyright file headers to BUSL-1.1
3 years ago
hashicorp-copywrite[bot] 325d18262e [COMPLIANCE] Add Copyright and License Headers
3 years ago
Liam Cervante 224728879d
Ignore existing package hashes for `providers lock` command (#31389)
4 years ago
Eng Zer Jun fedd315275
test: use `T.TempDir` to create temporary test directory (#30803)
4 years ago
Martin Atkins 23395a1022 providercache: Discard lock entries for unused providers
4 years ago
Martin Atkins df578afd7e backend/local: Check dependency lock consistency before any operations
5 years ago
Martin Atkins 3f85591998 depsfile: SaveLocksToBytes function
5 years ago
Martin Atkins b9a93a0fe7 Move addrs/ to internal/addrs/
5 years ago
Martin Atkins 05caff2ca3 Move tfdiags/ to internal/tfdiags/
5 years ago
Masayuki Morita 31a5aa1878
command/init: Add a new flag `-lockfile=readonly` (#27630)
5 years ago
Anthony Sottile 8cd72e51cb
fix file mode on lock file (#27205)
5 years ago
Martin Atkins 21d6fb5a37 depsfile: Don't panic when lock file is unreadable
5 years ago
Martin Atkins fc5a41b5e5 depsfile: Allow loading locks from a byte array in memory
6 years ago
Alisdair McDiarmid 9576a5b2d8 internal: Fix lockfile constraint output for 1.2.*
6 years ago
Martin Atkins 0009768c7f internal/depsfile: Update the dependency lock file atomically
6 years ago
Martin Atkins e1cf0ac801 internal/depsfile: Control how the "hashes" value is formatted
6 years ago
Martin Atkins b3f5c7f1e6 command/init: Read, respect, and update provider dependency locks
6 years ago
Martin Atkins 4a1b081afb depsfile: Locks.Equal and Locks.Empty methods
6 years ago
Martin Atkins 6694cfaa0e getproviders: Add a real type Hash for package hashes
6 years ago
Martin Atkins 264a3cf031 depsfile: Flatten the "hashes" locks to a single set of strings
6 years ago
Martin Atkins 773dd56b42 internal/depsfile: Introduce the concept of "non-lockable" providers
6 years ago
Martin Atkins 98e2e69abb internal/depsfile: SaveLocksToFile implementation
6 years ago
Martin Atkins 92723661d0 internal/depsfile: Loading locks from HCL files on disk
6 years ago