about summary refs log tree commit diff
path: root/scripts/nix-copy-closure.in
AgeCommit message (Collapse)AuthorFilesLines
2014-10-15 Fix nix-copy-closure --fromShea Levy1-1/+1
http://hydra.nixos.org/build/15885652
2014-10-14 Remove unused @sshOpts flagEelco Dolstra1-2/+2
Closes #300.
2014-10-14 nix-copy-closure: Use strictEelco Dolstra1-0/+1
2014-08-29 Shut up "Wide character" warnings in Perl scriptsEelco Dolstra1-0/+1
2014-08-20 Use proper quotes everywhereEelco Dolstra1-2/+2
2014-07-24 nix-copy-closure: Drop --bzip2, --xz, --show-progressEelco Dolstra1-15/+5
These are too difficult to implement via nix-store --serve. ‘--show-progress’ could be re-implemented fairly easily via a sink/source wrapper class.
2014-07-24 nix-copy-closure: Implement --gzip via ssh's -C flagEelco Dolstra1-2/+1
2014-07-24 Implement nix-copy-closure --from via nix-store --serveEelco Dolstra1-28/+8
2014-07-10 nix-copy-closure -s: Do substitutions via ‘nix-store --serve’Eelco Dolstra1-3/+2
This means we no longer need an SSH master connection, since we only execute a single command on the remote host.
2014-07-10 nix-copy-closure: Restore compression and the progress viewerEelco Dolstra1-2/+2
2013-05-03 nix-copy-closure: Show a proper error message if no host name is givenEelco Dolstra1-0/+2
2013-05-03 Fixing the pv position regarding compressionLluís Batlle i Rossell1-1/+1
Problem noticed by niksnut.
2013-05-03 Fixing the pv reference; I didn't mean to change itLluís Batlle i Rossell1-1/+1
2013-05-03 Adding ETA support to the --show-progress in nix-copy-closureLluís Batlle i Rossell1-2/+8
Based on https://github.com/NixOS/nix/pull/6 from shlevy
2012-11-23 nix-copy-closure: Add flag ‘--use-substitutes’Eelco Dolstra1-10/+13
2012-10-03 When ‘--help’ is given, just run ‘man’ to show the manual pageEelco Dolstra1-4/+7
I.e. do what git does. I'm too lazy to keep the builtin help text up to date :-) Also add ‘--help’ to various commands that lacked it (e.g. nix-collect-garbage).
2012-04-13 If "pv" is available at compile time, hard-code its pathEelco Dolstra1-1/+1
2012-04-13 nix-copy-closure: Move the progressViewer directly adjacent to the ssh call ↵Shea Levy1-1/+1
so that network progress is what's measured
2012-04-13 Add the '--show-progress' flag to nix-copy-closureShea Levy1-2/+8
2012-03-05 nix-copy-closure: don't print copied path on stdoutEelco Dolstra1-1/+1
We're already printing progress on stderr, so printing them on stdout afterwards is kind of useless.
2012-03-05 Restore progress indication during nix-copy-closureEelco Dolstra1-1/+0
2011-12-15 * Typo.Eelco Dolstra1-1/+1
2011-11-23 * Add bzip2 and xz support to nix-copy-closure.Eelco Dolstra1-1/+9
2011-11-23 * Add an API function exportPaths() that provides the functionality ofEelco Dolstra1-28/+8
‘nix-store --export’. * Add a Perl module that provides the functionality of ‘nix-copy-closure --to’. This is used by build-remote.pl so it no longer needs to start a separate nix-copy-closure process. Also, it uses the Perl API to do the export, so it doesn't need to start a separate nix-store process either. As a result, nix-copy-closure and build-remote.pl should no longer fail on very large closures due to an "Argument list too long" error. (Note that having very many dependencies in a single derivation can still fail because the environment can become too large. Can't be helped though.)
2011-10-18 * nix-copy-closure: support ‘--dry-run’ and ‘--include-outputs’.Eelco Dolstra1-10/+23
2011-10-11 * Use the Store API bindings in nix-copy-closure.Eelco Dolstra1-28/+3
2011-10-11 * Move SSH.pm.Eelco Dolstra1-6/+5
2011-10-10 * Set the executable bit on scripts.Eelco Dolstra1-0/+0
2010-12-15 * nix-copy-closure: make sure that the shell doesn't do globbing ofEelco Dolstra1-6/+6
`+' and `?' in filenames. This is very slow if /nix/store is very large. (This is a quick hack - a cleaner solution would be to bypass the shell entirely.)
2010-12-05 * Use CamelCase for the Perl modules.Eelco Dolstra1-1/+1
2010-02-04 * Remove the `cat' calls when not using --gzip.Eelco Dolstra1-7/+7
2010-02-03 * In the build hook, if connecting to a machine fails, try the otherEelco Dolstra1-1/+1
machines of the right type (if available). This makes the build farm more robust to failures.
2010-02-03 * nix-copy-closure: start only one SSH connection to the server, orEelco Dolstra1-5/+11
recycle an already existing connection (using OpenSSH's connection sharing feature).
2009-03-28 * nix-copy-closure: compute the closure in one call to nix-store,Eelco Dolstra1-25/+9
which is much faster.
2008-11-20 * Urgh.Eelco Dolstra1-2/+1
2007-10-22 (no commit message)Eelco Dolstra1-1/+1
2007-06-04 * Remove debug statement.Eelco Dolstra1-1/+0
2007-03-27 * Forgot a @bindir@.Eelco Dolstra1-1/+1
2007-03-26 * `nix-copy-closure --from': copy from a remote machine instead of toEelco Dolstra1-12/+62
a remote machine.
2007-03-26 * Refactoring.Eelco Dolstra1-35/+53
2007-03-01 * Get rid of those stupid --login tricks, it's the responsibility ofEelco Dolstra1-2/+2
the remote system to make sure that Nix is in the $PATH.
2007-03-01 * sh -> bash.Eelco Dolstra1-2/+2
2007-02-22 * nix-copy-closure: force a login shell on the remote machine to makeEelco Dolstra1-3/+11
sure that nix-store is in the PATH. * nix-copy-closure: option --gzip to compress data.
2007-02-22 * nix-copy-closure: option --sign.Eelco Dolstra1-2/+20
* nix-copy-closure: set SSH options through NIX_SSHOPTS..
2007-02-21 * New command `nix-copy-closure' to copy a closure to a Nix store onEelco Dolstra1-0/+55
another machine through ssh. E.g., $ nix-copy-closure xyzzy $(which svn) copies the closure of Subversion to machine `xyzzy'. This is like `nix-pack-closure $(which svn) | ssh xyzzy', but it's much more efficient since it only copies those paths that are missing on the target machine.