Development¶
Environment¶
git clone https://github.com/goncalorafaria/rexs.git
cd rexs
python -m venv .venv
. .venv/bin/activate
pip install -e '.[dev,docs]'
Checks¶
Tests use fake Slurm command runners and temporary SQLite databases. They do not require a Slurm installation.
Project layout¶
src/rexs/
├── cli.py # Python Fire command surface
├── compiler.py # Beaker v2 to sbatch translation
├── config.py # profile, mappings, and substitutions
├── controller.py # squeue/sacct/scancel reconciliation
├── dryrun.py # corpus discovery and shell validation
├── state.py # SQLite schema and records
├── server.py # HTTP API and background process
└── web.py # dashboard application
Documentation¶
Preview the site while editing:
Every push to main runs the test workflow and publishes the MkDocs site
through the official GitHub Pages actions workflow. Pull requests build the
documentation without deploying it.
Release shape¶
The package uses setuptools and exposes one console script, rexs. Build
artifacts with: