Wouter den Breejen
afb445957d
States can now be (recursively) rolled back and forward :)
2007-07-08 22:59:44 +00:00
Wouter den Breejen
9f00b42f38
downscaled to 1 repos per statePath
2007-07-08 22:40:16 +00:00
Wouter den Breejen
ca5fc7c582
major update
2007-07-08 19:02:08 +00:00
Wouter den Breejen
4f483aad0f
runProgram backup
2007-07-06 15:12:20 +00:00
Wouter den Breejen
eb1f179eac
separated references and referrers both into 4 tables: links from: component or state to: state or component
2007-07-04 18:53:13 +00:00
Wouter den Breejen
9d7438db9f
Before seperation of dbs references_state and references (and referrers)
2007-07-04 12:32:19 +00:00
Wouter den Breejen
c65c296ce0
Before trying to install STLdb4 ....
2007-07-03 13:50:16 +00:00
Wouter den Breejen
ad2b815b5e
added scanAndUpdateAllReferencesTxn(..) moving on to create a db-table that can save state-revision-closures and state-revision-reference-closures
2007-07-02 19:15:10 +00:00
Wouter den Breejen
1c3ec86c39
Fixed bug in build.cc All paths are now correctly scanned for the statpaths from the derivation inputs
2007-06-29 20:45:37 +00:00
Wouter den Breejen
c370c9f535
adjusted to: void computeFSClosure(const Path & path, PathSet & paths, const bool & withComponents, const bool & withState, bool flipDirection)
2007-06-29 15:24:51 +00:00
Wouter den Breejen
7eb2f61797
Before adjusting computeFSClosure
2007-06-29 14:56:32 +00:00
Wouter den Breejen
b32691da2b
registerValidPath can now also take state paths as arguments, nix-store still cannot
2007-06-28 18:59:07 +00:00
Wouter den Breejen
04dd3fdf34
Bugfix: Before adjusting registerValidPath to also be able to take state paths
2007-06-28 17:12:02 +00:00
Wouter den Breejen
1c0b052243
before merging executeAndPrintShellCommand to runProgram
2007-06-28 11:05:11 +00:00
Wouter den Breejen
3d22bd50b3
nix-state now works, state is recursively commited (when necessary)
2007-06-27 15:43:16 +00:00
Wouter den Breejen
c0dcfed3c3
New state queries for nix-store now work:
...
--requisites / -R: print all paths necessary to realise a path
--requisites-withstate: same as --requisites but now also including state paths
--references: print all paths referenced by the given path
--references-state: print all state paths referenced by the given path
--referrers: print all paths directly refering to the given path
--referrers-state: print all state paths directly refering to the given path
--referrers-closure: print all paths (in)directly refering to the given path
--referrers-closure-withstate: same as --referrers-closure but now also including state paths
2007-06-22 14:59:03 +00:00
Wouter den Breejen
6351b7e728
added dbValidStatePaths, StatePaths are now also registered as valid and can be query'd on validity
2007-06-22 14:04:06 +00:00
Wouter den Breejen
51fad07fbd
Before adding dbValidStatePaths
2007-06-22 13:03:06 +00:00
Wouter den Breejen
0e41b191bf
2007-06-21 16:47:48 +00:00
Wouter den Breejen
a4fda31ad5
Before editting get-drvs.hh: DrvInfo
2007-06-21 13:26:58 +00:00
Wouter den Breejen
235c91dd7f
State paths can now be scanned and queryed (references), referres still need to be added
2007-06-19 15:23:00 +00:00
Wouter den Breejen
b1cc9e9a45
Before moving scanForStateReferences(...)
2007-06-19 13:04:05 +00:00
Wouter den Breejen
bdecf3bdbc
In the middle of adding state references to derivations and the db...
2007-06-18 19:54:31 +00:00
Wouter den Breejen
5e59387d40
Before giving all store-state-runtime-paths a unique hash storepath
2007-06-14 14:16:53 +00:00
Wouter den Breejen
df43c1e5b9
Before adjusting getStateReferencesClosure_
2007-06-13 16:18:42 +00:00
Wouter den Breejen
184443d18d
Before adjusting getStateReferencesClosure_
2007-06-13 15:18:57 +00:00
Wouter den Breejen
76f5c8ba07
Almost finished the identifier/user/multiple-derivations mod
2007-06-12 21:01:55 +00:00
Wouter den Breejen
b909d57f5d
broken, in the middle of edditting user / drv mod
2007-06-12 19:08:05 +00:00
Wouter den Breejen
fe04276aef
before adjusting derivers table
2007-06-12 12:48:35 +00:00
Wouter den Breejen
95ce7e04b7
Nix now includes the username into the hash calculation, statepaths are also recomputed at buildtime so they cannot be spoofed
2007-06-11 16:43:32 +00:00
Wouter den Breejen
267ccc589d
Nix now understands the difference between runtime-state-components and non-runtime-state-compontens. Components and Derivations are now properly (re)build/derived (or not) when necessary.
2007-06-08 16:00:55 +00:00
Wouter den Breejen
79d5604780
Changed commit script: it recursively walkes through all dirs itself now, uses svn stat where needed, and doesnt use svn add *,svn revert anymore and is much faster
2007-06-07 13:16:38 +00:00
Wouter den Breejen
7166ad8eba
Completed updateStateDerivation(Path storepath) method
2007-06-04 19:41:46 +00:00
Wouter den Breejen
bcf9d3ab2f
2007-06-04 16:51:15 +00:00
Wouter den Breejen
9c46444641
Before creating multiple derivation - component instances
2007-05-31 17:18:13 +00:00
Wouter den Breejen
25117fd165
the command /nixstate/nix/bin/nix-state --run /nix/store/sig2qgvaayydrwy5hn6b2dm5r2ayhv5s-hellohardcodedstateworld-1.0 now causes state to be checked and comitted
2007-05-30 17:16:25 +00:00
Wouter den Breejen
653e557e81
Before modifying commit shell script
2007-05-30 11:27:01 +00:00
Wouter den Breejen
cbd0d39583
Added beginnnings of getStatePathClosure and GetDrv in local-store.cc, next: setting up variables in nix-state to recursively commit state
2007-05-29 15:42:44 +00:00
Wouter den Breejen
fbd1b78a9d
Finished set-up for nix-state, now: adding runtime state parameters & exclude state-identifier as input from state-hash
2007-05-29 11:34:54 +00:00
Wouter den Breejen
0a303ea2c0
before changing db schema
2007-05-25 12:27:36 +00:00
Eelco Dolstra
ae7990cc88
* Work around a bug in Apple's GCC preprocessor.
2007-03-30 13:24:35 +00:00
Eelco Dolstra
db1973d012
* Look for the openssl program at compile time. If not found, call
...
openssl through $PATH at runtime.
2007-03-01 13:30:46 +00:00
Eelco Dolstra
b4a040e52b
* Don't check the signature unless we have to.
2007-03-01 12:30:24 +00:00
Eelco Dolstra
2ea3bebc23
* Doh! The deriver can be empty.
2007-02-27 23:18:57 +00:00
Eelco Dolstra
65f195f4c7
* Check that the file containing the secret key is secret.
2007-02-21 17:51:10 +00:00
Eelco Dolstra
dc7d594776
* importPath(): set the deriver.
...
* exportPath(): lock the path, use a transaction.
2007-02-21 16:23:25 +00:00
Eelco Dolstra
43c4d18c6a
* nix-store --import': import an archive created by nix-store
...
--export' into the Nix store, and optionally check the cryptographic
signatures against /nix/etc/nix/signing-key.pub. (TODO: verify
against a set of public keys.)
2007-02-21 15:45:32 +00:00
Eelco Dolstra
46e0919ced
* `nix-store --export --sign': sign the Nix archive using the RSA key
...
in /nix/etc/nix/signing-key.sec
2007-02-21 14:31:42 +00:00
Eelco Dolstra
b824a1daee
* Start of `nix-store --export' operation for serialising a store
...
path. This is like `nix-store --dump', only it also dumps the
meta-information of the store path (references, deriver). Will add
a `--sign' flag later to add a cryptographic signature, which we
will use for exchanging store paths between build farm machines in a
secure manner.
2007-02-20 23:17:20 +00:00
Eelco Dolstra
46605fb4f5
* Fix 64-bit compiler warnings.
2007-02-06 20:03:53 +00:00