aboutsummaryrefslogtreecommitdiff
path: root/scripts/nix-copy-closure.in
AgeCommit message (Collapse)Author
2014-10-15Fix nix-copy-closure --fromShea Levy
http://hydra.nixos.org/build/15885652
2014-10-14Remove unused @sshOpts flagEelco Dolstra
Closes #300.
2014-10-14nix-copy-closure: Use strictEelco Dolstra
2014-08-29Shut up "Wide character" warnings in Perl scriptsEelco Dolstra
2014-08-20Use proper quotes everywhereEelco Dolstra
2014-07-24nix-copy-closure: Drop --bzip2, --xz, --show-progressEelco Dolstra
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-24nix-copy-closure: Implement --gzip via ssh's -C flagEelco Dolstra
2014-07-24Implement nix-copy-closure --from via nix-store --serveEelco Dolstra
2014-07-10nix-copy-closure -s: Do substitutions via ‘nix-store --serve’Eelco Dolstra
This means we no longer need an SSH master connection, since we only execute a single command on the remote host.
2014-07-10nix-copy-closure: Restore compression and the progress viewerEelco Dolstra
2013-05-03nix-copy-closure: Show a proper error message if no host name is givenEelco Dolstra
2013-05-03Fixing the pv position regarding compressionLluís Batlle i Rossell
Problem noticed by niksnut.
2013-05-03Fixing the pv reference; I didn't mean to change itLluís Batlle i Rossell
2013-05-03Adding ETA support to the --show-progress in nix-copy-closureLluís Batlle i Rossell
Based on https://github.com/NixOS/nix/pull/6 from shlevy
2012-11-23nix-copy-closure: Add flag ‘--use-substitutes’Eelco Dolstra
2012-10-03When ‘--help’ is given, just run ‘man’ to show the manual pageEelco Dolstra
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-13If "pv" is available at compile time, hard-code its pathEelco Dolstra
2012-04-13nix-copy-closure: Move the progressViewer directly adjacent to the ssh call ↵Shea Levy
so that network progress is what's measured
2012-04-13Add the '--show-progress' flag to nix-copy-closureShea Levy
2012-03-05nix-copy-closure: don't print copied path on stdoutEelco Dolstra
We're already printing progress on stderr, so printing them on stdout afterwards is kind of useless.
2012-03-05Restore progress indication during nix-copy-closureEelco Dolstra
2011-12-15* Typo.Eelco Dolstra
2011-11-23* Add bzip2 and xz support to nix-copy-closure.Eelco Dolstra
2011-11-23* Add an API function exportPaths() that provides the functionality ofEelco Dolstra
‘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 Dolstra
2011-10-11* Use the Store API bindings in nix-copy-closure.Eelco Dolstra
2011-10-11* Move SSH.pm.Eelco Dolstra
2011-10-10* Set the executable bit on scripts.Eelco Dolstra
2010-12-15* nix-copy-closure: make sure that the shell doesn't do globbing ofEelco Dolstra
`+' 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 Dolstra
2010-02-04* Remove the `cat' calls when not using --gzip.Eelco Dolstra
2010-02-03* In the build hook, if connecting to a machine fails, try the otherEelco Dolstra
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 Dolstra
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 Dolstra
which is much faster.
2008-11-20* Urgh.Eelco Dolstra
2007-10-22(no commit message)Eelco Dolstra
2007-06-04* Remove debug statement.Eelco Dolstra
2007-03-27* Forgot a @bindir@.Eelco Dolstra
2007-03-26* `nix-copy-closure --from': copy from a remote machine instead of toEelco Dolstra
a remote machine.
2007-03-26* Refactoring.Eelco Dolstra
2007-03-01* Get rid of those stupid --login tricks, it's the responsibility ofEelco Dolstra
the remote system to make sure that Nix is in the $PATH.
2007-03-01* sh -> bash.Eelco Dolstra
2007-02-22* nix-copy-closure: force a login shell on the remote machine to makeEelco Dolstra
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 Dolstra
* 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 Dolstra
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.