about summary refs log tree commit diff
path: root/src/libstore/ssh-store.cc (follow)
AgeCommit message (Collapse)AuthorFilesLines
2018-03-21 Make 'nix copy --from ssh://...' run in constant memoryEelco Dolstra1-18/+1
For instance, this reduced the memory consumption of $ nix copy --from ssh://localhost --to ~/my-nix /nix/store/1n7x0yv8vq6zi90hfmian84vdhd04bgp-blender-2.79a from 632 MiB to 16 MiB.
2018-03-05 ssh-ng: Don't forward options to the daemon.Shea Levy1-0/+10
This can be iterated on and currently leaves out settings we know we want to forward, but it fixes #1713 and fixes #1935 and isn't fundamentally broken like the status quo. Future changes are suggested in a comment.
2017-12-06 ssh-store: fix length when writing narDaiderd Jordan1-3/+3
This fixes nix copy and other things that use copyStorePath.
2017-04-13 Add a Config class to simplify adding configuration settingsEelco Dolstra1-2/+5
The typical use is to inherit Config and add Setting<T> members: class MyClass : private Config { Setting<int> foo{this, 123, "foo", "the number of foos to use"}; Setting<std::string> bar{this, "blabla", "bar", "the name of the bar"}; MyClass() : Config(readConfigFile("/etc/my-app.conf")) { std::cout << foo << "\n"; // will print 123 unless overriden } }; Currently, this is used by Store and its subclasses for store parameters. You now get a warning if you specify a non-existant store parameter in a store URI.
2017-03-16 ssh:// -> ssh-ng://, legacy-ssh:// -> ssh://Eelco Dolstra1-1/+1
2017-03-03 Improve SSH handlingEelco Dolstra1-60/+23
* Unify SSH code in SSHStore and LegacySSHStore. * Fix a race starting the SSH master. We now wait synchronously for the SSH master to finish starting. This prevents the SSH clients from starting their own connections. * Don't use a master if max-connections == 1. * Add a "max-connections" store parameter. * Add a "compress" store parameter.
2017-02-07 Merge branch 'nix-copy-closure-c++' of https://github.com/shlevy/nixEelco Dolstra1-0/+3
2017-02-07 SSHStore: uri -> hostEelco Dolstra1-10/+12
2017-02-01 Restore default signal handling in child processesEelco Dolstra1-0/+1
In particular, this fixes Ctrl-C in nix-shell sessions.
2017-01-20 nix-copy-closure: Implement in C++.Shea Levy1-2/+6
Tests fail currently because the database is not given proper hashes in the VM
2016-11-10 build-remote: Implement in C++Shea Levy1-0/+2
2016-09-12 ssh-store: Start master on-demandShea Levy1-8/+13
2016-09-12 Inline ssh-store.hh into ssh-store.ccShea Levy1-1/+34
2016-09-02 Add ssh store implementationShea Levy1-0/+92