├── .clang-format ├── .gitignore ├── .rubocop.yml ├── Gemfile ├── LICENSE ├── Makefile.bsd ├── Makefile.freebsd ├── Makefile.linux ├── Makefile.linux-compat ├── Makefile.macos ├── NEWS ├── README.md ├── config.h ├── configure ├── execute.c ├── execute.h ├── http.c ├── http.h ├── input.c ├── input.h ├── labelgrep.1 ├── labelgrep.awk ├── miniquark.1 ├── miniquark.c ├── missing ├── arc4random.c ├── compat.h ├── setproctitle.c ├── strlcat.c ├── strlcpy.c └── strtonum.c ├── pln.5 ├── renv.1 ├── renv.awk ├── rexec-summary.awk ├── rinstall.1 ├── rinstall.sh ├── rset.1 ├── rset.c ├── rsub.1 ├── rsub.sh ├── rutils.c ├── rutils.h ├── sock.c ├── sock.h ├── tests ├── Makefile.bsd ├── Makefile.linux ├── args.c ├── cmd_pipe_stdin.c ├── cmd_pipe_stdout.c ├── copyfile.c ├── expected │ ├── dry_run.out │ └── recursive.json ├── fetch.sh ├── format_env.c ├── getsocket.c ├── hostlist.c ├── input │ ├── common │ │ └── openbsd.pln │ ├── export_paths.pln │ ├── local_exec.pln │ ├── routes.pln │ ├── t460s.pln │ ├── whereami.sh │ ├── worker.log.1 │ └── worker.log.2 ├── log_msg.c ├── parser.c ├── ssh_command.c ├── stubs │ ├── scp │ ├── ssh │ └── tar ├── test_labelgrep.rb ├── test_miniquark.rb ├── test_renv.rb ├── test_rinstall.rb ├── test_rset.rb ├── test_rset_worker.rb ├── test_rsub.rb ├── which.c ├── worker_argv.c └── worker_exec.c ├── worker.c ├── worker.h ├── xlibc.c └── xlibc.h /.clang-format: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eradman/rset/HEAD/.clang-format -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eradman/rset/HEAD/.gitignore -------------------------------------------------------------------------------- /.rubocop.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eradman/rset/HEAD/.rubocop.yml -------------------------------------------------------------------------------- /Gemfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eradman/rset/HEAD/Gemfile -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eradman/rset/HEAD/LICENSE -------------------------------------------------------------------------------- /Makefile.bsd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eradman/rset/HEAD/Makefile.bsd -------------------------------------------------------------------------------- /Makefile.freebsd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eradman/rset/HEAD/Makefile.freebsd -------------------------------------------------------------------------------- /Makefile.linux: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eradman/rset/HEAD/Makefile.linux -------------------------------------------------------------------------------- /Makefile.linux-compat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eradman/rset/HEAD/Makefile.linux-compat -------------------------------------------------------------------------------- /Makefile.macos: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eradman/rset/HEAD/Makefile.macos -------------------------------------------------------------------------------- /NEWS: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eradman/rset/HEAD/NEWS -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eradman/rset/HEAD/README.md -------------------------------------------------------------------------------- /config.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eradman/rset/HEAD/config.h -------------------------------------------------------------------------------- /configure: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eradman/rset/HEAD/configure -------------------------------------------------------------------------------- /execute.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eradman/rset/HEAD/execute.c -------------------------------------------------------------------------------- /execute.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eradman/rset/HEAD/execute.h -------------------------------------------------------------------------------- /http.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eradman/rset/HEAD/http.c -------------------------------------------------------------------------------- /http.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eradman/rset/HEAD/http.h -------------------------------------------------------------------------------- /input.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eradman/rset/HEAD/input.c -------------------------------------------------------------------------------- /input.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eradman/rset/HEAD/input.h -------------------------------------------------------------------------------- /labelgrep.1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eradman/rset/HEAD/labelgrep.1 -------------------------------------------------------------------------------- /labelgrep.awk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eradman/rset/HEAD/labelgrep.awk -------------------------------------------------------------------------------- /miniquark.1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eradman/rset/HEAD/miniquark.1 -------------------------------------------------------------------------------- /miniquark.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eradman/rset/HEAD/miniquark.c -------------------------------------------------------------------------------- /missing/arc4random.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eradman/rset/HEAD/missing/arc4random.c -------------------------------------------------------------------------------- /missing/compat.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eradman/rset/HEAD/missing/compat.h -------------------------------------------------------------------------------- /missing/setproctitle.c: -------------------------------------------------------------------------------- 1 | void 2 | setproctitle(const char *fmt, ...) { 3 | return; 4 | } 5 | -------------------------------------------------------------------------------- /missing/strlcat.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eradman/rset/HEAD/missing/strlcat.c -------------------------------------------------------------------------------- /missing/strlcpy.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eradman/rset/HEAD/missing/strlcpy.c -------------------------------------------------------------------------------- /missing/strtonum.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eradman/rset/HEAD/missing/strtonum.c -------------------------------------------------------------------------------- /pln.5: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eradman/rset/HEAD/pln.5 -------------------------------------------------------------------------------- /renv.1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eradman/rset/HEAD/renv.1 -------------------------------------------------------------------------------- /renv.awk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eradman/rset/HEAD/renv.awk -------------------------------------------------------------------------------- /rexec-summary.awk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eradman/rset/HEAD/rexec-summary.awk -------------------------------------------------------------------------------- /rinstall.1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eradman/rset/HEAD/rinstall.1 -------------------------------------------------------------------------------- /rinstall.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eradman/rset/HEAD/rinstall.sh -------------------------------------------------------------------------------- /rset.1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eradman/rset/HEAD/rset.1 -------------------------------------------------------------------------------- /rset.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eradman/rset/HEAD/rset.c -------------------------------------------------------------------------------- /rsub.1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eradman/rset/HEAD/rsub.1 -------------------------------------------------------------------------------- /rsub.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eradman/rset/HEAD/rsub.sh -------------------------------------------------------------------------------- /rutils.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eradman/rset/HEAD/rutils.c -------------------------------------------------------------------------------- /rutils.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eradman/rset/HEAD/rutils.h -------------------------------------------------------------------------------- /sock.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eradman/rset/HEAD/sock.c -------------------------------------------------------------------------------- /sock.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eradman/rset/HEAD/sock.h -------------------------------------------------------------------------------- /tests/Makefile.bsd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eradman/rset/HEAD/tests/Makefile.bsd -------------------------------------------------------------------------------- /tests/Makefile.linux: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eradman/rset/HEAD/tests/Makefile.linux -------------------------------------------------------------------------------- /tests/args.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eradman/rset/HEAD/tests/args.c -------------------------------------------------------------------------------- /tests/cmd_pipe_stdin.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eradman/rset/HEAD/tests/cmd_pipe_stdin.c -------------------------------------------------------------------------------- /tests/cmd_pipe_stdout.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eradman/rset/HEAD/tests/cmd_pipe_stdout.c -------------------------------------------------------------------------------- /tests/copyfile.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eradman/rset/HEAD/tests/copyfile.c -------------------------------------------------------------------------------- /tests/expected/dry_run.out: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eradman/rset/HEAD/tests/expected/dry_run.out -------------------------------------------------------------------------------- /tests/expected/recursive.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eradman/rset/HEAD/tests/expected/recursive.json -------------------------------------------------------------------------------- /tests/fetch.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eradman/rset/HEAD/tests/fetch.sh -------------------------------------------------------------------------------- /tests/format_env.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eradman/rset/HEAD/tests/format_env.c -------------------------------------------------------------------------------- /tests/getsocket.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eradman/rset/HEAD/tests/getsocket.c -------------------------------------------------------------------------------- /tests/hostlist.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eradman/rset/HEAD/tests/hostlist.c -------------------------------------------------------------------------------- /tests/input/common/openbsd.pln: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eradman/rset/HEAD/tests/input/common/openbsd.pln -------------------------------------------------------------------------------- /tests/input/export_paths.pln: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eradman/rset/HEAD/tests/input/export_paths.pln -------------------------------------------------------------------------------- /tests/input/local_exec.pln: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eradman/rset/HEAD/tests/input/local_exec.pln -------------------------------------------------------------------------------- /tests/input/routes.pln: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eradman/rset/HEAD/tests/input/routes.pln -------------------------------------------------------------------------------- /tests/input/t460s.pln: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eradman/rset/HEAD/tests/input/t460s.pln -------------------------------------------------------------------------------- /tests/input/whereami.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | set -e 3 | hostname 4 | -------------------------------------------------------------------------------- /tests/input/worker.log.1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eradman/rset/HEAD/tests/input/worker.log.1 -------------------------------------------------------------------------------- /tests/input/worker.log.2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eradman/rset/HEAD/tests/input/worker.log.2 -------------------------------------------------------------------------------- /tests/log_msg.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eradman/rset/HEAD/tests/log_msg.c -------------------------------------------------------------------------------- /tests/parser.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eradman/rset/HEAD/tests/parser.c -------------------------------------------------------------------------------- /tests/ssh_command.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eradman/rset/HEAD/tests/ssh_command.c -------------------------------------------------------------------------------- /tests/stubs/scp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eradman/rset/HEAD/tests/stubs/scp -------------------------------------------------------------------------------- /tests/stubs/ssh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eradman/rset/HEAD/tests/stubs/ssh -------------------------------------------------------------------------------- /tests/stubs/tar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eradman/rset/HEAD/tests/stubs/tar -------------------------------------------------------------------------------- /tests/test_labelgrep.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eradman/rset/HEAD/tests/test_labelgrep.rb -------------------------------------------------------------------------------- /tests/test_miniquark.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eradman/rset/HEAD/tests/test_miniquark.rb -------------------------------------------------------------------------------- /tests/test_renv.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eradman/rset/HEAD/tests/test_renv.rb -------------------------------------------------------------------------------- /tests/test_rinstall.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eradman/rset/HEAD/tests/test_rinstall.rb -------------------------------------------------------------------------------- /tests/test_rset.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eradman/rset/HEAD/tests/test_rset.rb -------------------------------------------------------------------------------- /tests/test_rset_worker.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eradman/rset/HEAD/tests/test_rset_worker.rb -------------------------------------------------------------------------------- /tests/test_rsub.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eradman/rset/HEAD/tests/test_rsub.rb -------------------------------------------------------------------------------- /tests/which.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eradman/rset/HEAD/tests/which.c -------------------------------------------------------------------------------- /tests/worker_argv.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eradman/rset/HEAD/tests/worker_argv.c -------------------------------------------------------------------------------- /tests/worker_exec.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eradman/rset/HEAD/tests/worker_exec.c -------------------------------------------------------------------------------- /worker.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eradman/rset/HEAD/worker.c -------------------------------------------------------------------------------- /worker.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eradman/rset/HEAD/worker.h -------------------------------------------------------------------------------- /xlibc.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eradman/rset/HEAD/xlibc.c -------------------------------------------------------------------------------- /xlibc.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eradman/rset/HEAD/xlibc.h --------------------------------------------------------------------------------