Branch: refs/heads/master
Home: https://github.com/NixOS/charon
Commit: 94ee5b008dec0b718a16052812bba8e875d50a04
https://github.com/NixOS/charon/commit/94ee5b008dec0b718a16052812bba8e875d50a04
Author: Eelco Dolstra <[email protected]>
Date: 2012-05-14 (Mon, 14 May 2012)
Changed paths:
M charon/deployment.py
M default.nix
M scripts/charon
Log Message:
-----------
Lock the state file during deployment actions
Any action that reads and then writes the state file must acquire an
exclusive lock on the state file for the duration of the action. This
ensures isolation. Action that only read the state file once don't
need to acquire the lock (since the state file is updated atomically).
Fixes #24.
_______________________________________________
nix-commits mailing list
[email protected]
http://lists.science.uu.nl/mailman/listinfo/nix-commits