Never ever update all your stuff on your own again.
WARNING: All this stuff is expiremental and has only very rudimentary functionality. Use at your own risk!
git clone git@github.com:fstoerkle/upper.git
cd upper
script/install
(The setup script and the whole setup process is heavily inspired by Zach Holman and his creation play).
upper puts all its configuration into the $HOME/.upper
directory.
Place a file for each update task you want upper to perform into that directory.
Learning by doing: the configuration to update npm
on the servers example.org
and example.com
is as follows (yes, this is JSON):
{
"cmd": "npm update",
"hosts": [ "example.org", "example.com" ]
}
The cmd
key is required while the hosts
key is optional – if it is not provided, the given command while be executed on your local machine.
See the examples directory for more configuration examples. Feel free to submit your own ideas as pull requests.