Commit Graph

20 Commits (94de72c63834acea811c27a585c19eae29374a4b)

Author SHA1 Message Date
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