Commit Graph

7 Commits

Author SHA1 Message Date
Matteo Cypriani 6ebe287e2f Improve READMEs 2017-09-22 16:44:57 -04:00
Matteo Cypriani 4d5efe91cc [cluster] Support XDG Base Directory Specification
Use $XDG_CONFIG_HOME if set, instead of $HOME/.config.
2014-05-07 15:53:31 -04:00
Matteo Cypriani 2c6f1a97ea [cluster] deploy: fix destination directory
"~" is resolved by the local shell (dumb me!). We now get the
destination directory by connecting to the first alive host from the
hosts' list (using cluster-ping), and get the user's home directory.
This is not perfect because it assumes the home directory is the same on
each host.

We could add an option in the future to do the test on each host, but
this would be significantly slower. Alternatively, we could allow to use
scp instead of pscp (because scp is smart enough to get the remote
user's home directory by itself), transferring files once at time, but
again, it would be slow.
2013-05-20 14:40:29 -04:00
Matteo Cypriani 5a44742c28 [cluster] deploy: add -r and -R options (rsync)
The -r option allows to use prsync instead of pscp. The -R option is the
same, except the --delete option is passed to rsync.
2013-05-02 12:17:22 -04:00
Matteo Cypriani 044f120fcc [cluster] deploy: add -P option
The -P option allows to transfer the files in parallel rather than one
by one.
2013-05-02 11:18:55 -04:00
Matteo Cypriani 97b1630fc8 [cluster] Don't force root login any more
The login was hard-coded to root, this was fixed to use by default the
local login name. The option -l was added to allow to specify a
different login name.
2013-05-01 16:12:09 -04:00
Matteo Cypriani 9d5b36f5bd Add cluster utilities 2013-04-29 16:43:41 -04:00