rdd – the tool to launch script functions.
Required
- Python-2.7
For developers
To run self-tests one will need:- coverage2 for Python2 (https://pypi.python.org/pypi/coverage)
- subcom (https://opendistro.org/subcom/)
To generate new html and man documentation files from Latex sources, one will need:
- perl
- devdoc utility (https://opendistro.org/devdoc/)
- links or other text browser with option -dump
- Latex typesetting system
- latex2man package
Latest release
Latest code
Description
rdd
launches functions from selected libraries in interpreted languages. It also gathers data from config files in various combinations.
The tool allows to construct and launch scripts, where input data and control sequence are chosen from command line.
rdd takes user-described libraries, constructs executable script from them and launches. Data used inside the script and list of called functions are given by a user (in command line or config files). Script construction and launch can be repeated several times, if a user wants to launch his code for the series of objects.
Highlights of rdd:
- *
- Usage of shell with make-like semantics. No need in separate language for control scripts – already existing ones are used.
- *
- Launched code is dumped to plain file, which can be examined, debugged, edited, and used standalone without front-end.
- *
- Supported languages: POSIX shell, python2.
Install
$ ./install.sh
Layout of default install:
- $HOME/rrr/bin/rdd
- The main executable.
- $HOME/rrr/share/doc/rdd/
- Descriptions of the package in html format.
- $HOME/rrr/share/man/
- Manual pages for the package, same info as in html.
- $HOME/rrr/lib/python2.7/site-packages/rdd/
- Library modules in python2. They are not intended to be used outside of rdd.
You would probably want to add path $HOME/rrr/bin/ to your default PATH in $HOME/.profile or $HOME/.bashrc.
To install self-tests, which need subcom (https://opendistro.org/subcom/):
$ ./install.sh selftestResult resides in $HOME/rrr/libexec/rddtest/ dir.
To install sample config file:
$ ./install.sh sampleconfResult resides in $HOME/rrr/etc/ dir.
Variable DESTDIR is used to keep the path to the root install destination. Its default value is:
$ DESTDIR=$HOME/rrr ./install.shPREFIX is also supported, though its value can be appended directly to DESTDIR.
To install whole rdd somewhere system-wide:
$ sudo env DESTDIR=/usr/poligon ./install.shUse direct system-wide installation only to empty separated DESTDIR. To integrate the material into working system use packages and installation methods of your OS.
Distribution
Copyright 2013-2020 Random Crew.