Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2016-09-02 | nix-daemon: add --stdio flag for handling connections over stdin/stdout | Shea Levy | 1 | -1/+75 | |
2016-08-10 | Mark content-addressed paths in the Nix database and in .narinfo | Eelco Dolstra | 1 | -1/+2 | |
This allows such paths to be imported without signatures. | |||||
2016-08-10 | RemoteStore / nix-daemon: Drop support for Nix < 1.0 | Eelco Dolstra | 1 | -25/+18 | |
2016-07-11 | Modernize AutoCloseFD | Shea Levy | 1 | -11/+11 | |
2016-06-01 | Make the store directory a member variable of Store | Eelco Dolstra | 1 | -20/+20 | |
2016-05-04 | Cleanup: Remove singleton() | Eelco Dolstra | 1 | -2/+2 | |
2016-05-04 | nix-daemon: Fix queryPathInfo() backward compatibility | Eelco Dolstra | 1 | -2/+6 | |
2016-05-04 | Remove OpenSSL-based signing | Eelco Dolstra | 1 | -3/+3 | |
2016-04-25 | Show the log tail when a build fails | Eelco Dolstra | 1 | -1/+1 | |
If --no-build-output is given (which will become the default for the "nix" command at least), show the last 10 lines of the build output if the build fails. | |||||
2016-04-25 | Remove --print-build-trace | Eelco Dolstra | 1 | -1/+1 | |
This was added to support Hydra, but Hydra no longer uses it. | |||||
2016-04-25 | Improved logging abstraction | Eelco Dolstra | 1 | -22/+37 | |
This also gets rid of --log-type, since the nested log type isn't useful in a multi-threaded situation, and nobody cares about the "pretty" log type. | |||||
2016-04-20 | RemoteStore: Propagate InvalidPath exceptions from the daemon | Eelco Dolstra | 1 | -7/+15 | |
2016-04-19 | Move path info caching from BinaryCacheStore to Store | Eelco Dolstra | 1 | -8/+8 | |
Caching path info is generally useful. For instance, it speeds up "nix path-info -rS /run/current-system" (i.e. showing the closure sizes of all paths in the closure of the current system) from 5.6s to 0.15s. This also eliminates some APIs like Store::queryDeriver() and Store::queryReferences(). | |||||
2016-04-08 | Remove failed build caching | Eelco Dolstra | 1 | -17/+0 | |
This feature was implemented for Hydra, but Hydra no longer uses it. | |||||
2016-04-05 | Add "nix copy-sigs" command | Eelco Dolstra | 1 | -0/+12 | |
This imports signatures from one store into another. E.g. $ nix copy-sigs -r /run/current-system -s https://cache.nixos.org/ imported 595 signatures | |||||
2016-03-30 | LocalStore: Keep track of ultimately trusted paths | Eelco Dolstra | 1 | -0/+4 | |
These are content-addressed paths or outputs of locally performed builds. They are trusted even if they don't have signatures, so "nix verify-paths" won't complain about them. | |||||
2016-02-26 | importPaths(): Optionally add NARs to binary cache accessor | Eelco Dolstra | 1 | -3/+3 | |
This enables an optimisation in hydra-queue-runner, preventing a download of a NAR it just uploaded to the cache when reading files like hydra-build-products. | |||||
2016-02-24 | Eliminate reserveSpace flag | Eelco Dolstra | 1 | -3/+2 | |
2016-02-16 | Rename ValidPathInfo::hash -> narHash for consistency | Eelco Dolstra | 1 | -1/+1 | |
2016-02-04 | Eliminate the "store" global variable | Eelco Dolstra | 1 | -47/+42 | |
Also, move a few free-standing functions into StoreAPI and Derivation. Also, introduce a non-nullable smart pointer, ref<T>, which is just a wrapper around std::shared_ptr ensuring that the pointer is never null. (For reference-counted values, this is better than passing a "T&", because the latter doesn't maintain the refcount. Usually, the caller will have a shared_ptr keeping the value alive, but that's not always the case, e.g., when passing a reference to a std::thread via std::bind.) | |||||
2015-12-02 | daemon: Add 'buildMode' parameter to 'buildPaths' RPC | Ludovic Courtès | 1 | -1/+10 | |
2015-11-24 | Merge pull request #704 from ysangkok/freebsd-support | Eelco Dolstra | 1 | -0/+4 | |
FreeBSD support with knowledge about Linux emulation | |||||
2015-10-29 | int2String() -> std::to_string() | Eelco Dolstra | 1 | -8/+8 | |
2015-10-06 | Define SOL_LOCAL if not defined already (e.g. on FreeBSD). | Manuel Jacob | 1 | -0/+4 | |
Some evidence that defining it to be 0 is right: * OS X headers define it to be 0. * Other code uses 0 instead of SOL_LOCAL to check for peer credentials (e.g. FreeBSD's implementation of getpeereid). | |||||
2015-09-03 | Implement buildDerivation() via the daemon | Eelco Dolstra | 1 | -0/+15 | |
2015-07-20 | More cleanup | Eelco Dolstra | 1 | -58/+42 | |
2015-07-17 | OCD: foreach -> C++11 ranged for | Eelco Dolstra | 1 | -9/+9 | |
2015-06-02 | Don't let unprivileged users repair paths | Eelco Dolstra | 1 | -7/+9 | |
2015-06-02 | Add a ‘verifyStore’ RPC | Ludovic Courtès | 1 | -0/+10 | |
Hello! The patch below adds a ‘verifyStore’ RPC with the same signature as the current LocalStore::verifyStore method. Thanks, Ludo’. >From aef46c03ca77eb6344f4892672eb6d9d06432041 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ludovic=20Court=C3=A8s?= <ludo@gnu.org> Date: Mon, 1 Jun 2015 23:17:10 +0200 Subject: [PATCH] Add a 'verifyStore' remote procedure call. | |||||
2014-12-12 | Silence some warnings on GCC 4.9 | Eelco Dolstra | 1 | -3/+6 | |
2014-12-12 | Get rid of unnecessary "interrupted by the user" message with -vvv | Eelco Dolstra | 1 | -0/+2 | |
2014-12-12 | Remove tabs | Eelco Dolstra | 1 | -5/+5 | |
2014-12-12 | Remove dead code | Eelco Dolstra | 1 | -9/+0 | |
2014-12-10 | Use vfork | Eelco Dolstra | 1 | -1/+6 | |
2014-11-19 | nix-daemon: Call exit(), not _exit() | Eelco Dolstra | 1 | -2/+2 | |
This was preventing destructors from running. In particular, it was preventing the deletion of the temproot file for each worker process. It may also have been responsible for the excessive WAL growth on Hydra (due to the SQLite database not being closed properly). Apparently broken by accident in 8e9140cfdef9dbd1eb61e4c75c91d452ab5e4a74. | |||||
2014-10-31 | nix-daemon: Get peer credentials on Mac OS X | Eelco Dolstra | 1 | -19/+52 | |
This makes allowed-users and trusted-users work on Mac OS X. | |||||
2014-10-31 | Improve error message if the daemon worker fails to start | Eelco Dolstra | 1 | -1/+1 | |
2014-09-25 | nix-daemon: Close unnecessary fd | Eelco Dolstra | 1 | -0/+2 | |
2014-09-01 | Add an 'optimiseStore' remote procedure call. | Ludovic Courtès | 1 | -0/+7 | |
2014-08-21 | Use PR_SET_PDEATHSIG to ensure child cleanup | Eelco Dolstra | 1 | -1/+1 | |
2014-08-20 | Use proper quotes everywhere | Eelco Dolstra | 1 | -5/+5 | |
2014-08-13 | Refactor option handling | Eelco Dolstra | 1 | -11/+22 | |
2014-08-05 | Doh | Eelco Dolstra | 1 | -2/+2 | |
2014-08-04 | Move some options out of globals | Eelco Dolstra | 1 | -0/+3 | |
2014-07-24 | Remove some dead code | Eelco Dolstra | 1 | -9/+0 | |
2014-07-23 | nix-daemon: Less verbosity | Eelco Dolstra | 1 | -1/+1 | |
2014-07-23 | nix-daemon: Simplify stderr handling | Eelco Dolstra | 1 | -7/+1 | |
2014-07-23 | nix-daemon: Use a thread instead of SIGPOLL to catch client disconnects | Eelco Dolstra | 1 | -146/+7 | |
The thread calls poll() to wait until a HUP (or other error event) happens on the client connection. If so, it sends SIGINT to the main thread, which is then cleaned up normally. This is much nicer than messing around with SIGPOLL. | |||||
2014-07-19 | Revert old useBuildHook behaviour | Eelco Dolstra | 1 | -1/+1 | |
2014-07-17 | nix-daemon: Add trusted-users and allowed-users options | Eelco Dolstra | 1 | -3/+35 | |
‘trusted-users’ is a list of users and groups that have elevated rights, such as the ability to specify binary caches. It defaults to ‘root’. A typical value would be ‘@wheel’ to specify all users in the wheel group. ‘allowed-users’ is a list of users and groups that are allowed to connect to the daemon. It defaults to ‘*’. A typical value would be ‘@users’ to specify the ‘users’ group. |