Commit Graph

22 Commits (15abbe21c00b341c4034da035b4fa1a885083bfc)

Author SHA1 Message Date
James Bardin a4283d23f6 fix windows locking
9 years ago
James Bardin ec00564be6 Clean up LockInfo and LockError and use them
9 years ago
James Bardin 08cff7cc13 have LocalState check Lock ID on Unlock
9 years ago
James Bardin 4f0c465187 make command tests pass with new state.Locker
9 years ago
James Bardin 200c8de4e9 Update the state.Locker interface
9 years ago
Mitchell Hashimoto a7cfb8062b
state: just style changes in the code itself (newlines, moving methods)
9 years ago
James Bardin 0c1b138719 Add state locking during backend init
9 years ago
James Bardin 14d965722e Use single state.LockInfo struct
9 years ago
James Bardin e92559f518 Cleanup state file during Unlock
9 years ago
James Bardin a2b5811f50 Remove "expires" from lock info.
9 years ago
James Bardin 1646310e68 Allow a non-existent state file
9 years ago
James Bardin 3fdcbda3aa Switch from Path to PathOut on LocalState.written
9 years ago
James Bardin 8f7f1917f2 Remove state file data when writing a nil state
9 years ago
James Bardin 10f6d7f30f Add locking for s3 state
9 years ago
James Bardin 6162cde6ff Add basic local state locking
9 years ago
Mitchell Hashimoto cc8e6b6331 state: deep copies are required
11 years ago
Mitchell Hashimoto c2bf600603 state: only change serial if changed
11 years ago
Mitchell Hashimoto 3bf59183b8 state: InmemState
11 years ago
Mitchell Hashimoto 4ec63bc2ef command: deal with plan states
11 years ago
Mitchell Hashimoto 5c356f35b9 state: LocalState supports alternate output path
11 years ago
Mitchell Hashimoto 34864a64a5 state: LocalState allows file to not exist
11 years ago
Mitchell Hashimoto 1f7ddc30fe state: a bunch of state stuff
11 years ago