|
Download dev/README.md from mchuca/ServerMonitor: direct link, hf CLI and curl.
- Browser
- Download file 1.71 kB
-
https://huggingface.co/mchuca/ServerMonitor/resolve/main/dev/README.md
- Command line
-
hf download hf://mchuca/ServerMonitor/dev/README.md
-
curl -L -o README.md https://huggingface.co/mchuca/ServerMonitor/resolve/main/dev/README.md
1.71 kB
| # Developer kit | |
| - `SPEC.md` — the specification all six editions follow: platform-module contract, Windows frame format, command | |
| tables, data formats, test rules. Read it first. | |
| - `collector.sh`, `collector.ps1` — the collector scripts. Every edition embeds or ships them unchanged. | |
| - `fakewin/powershell` — a stand-in for `powershell.exe` (Python). With `PATH=<dev>/fakewin:$PATH` a Windows edition | |
| runs on Linux: the stand-in emits realistic Windows frames and only echoes one-shot commands. | |
| - `pytk` — starts `python3` with a locally unpacked tkinter (for machines without root; see `requirements/`). | |
| - `tests/cqt` — analyzer reference test (`analysis_test.cpp`, expected output, build script), the offscreen click | |
| test (`click_test.cpp`, `build_click.sh`) and a scratch settings folder. | |
| - `tests/python` — `t_core.py` (store, link, rules, autopilot), `t_spec.py` (Windows commands against the spec), | |
| `uitest.py` and `ui2.py` (UI drives under `xvfb-run`), `analysis_test.py`. | |
| - `tests/web` — API, security, session, history, parser, child-process and browser tests (`apitest2.js`, `t_*.js`, | |
| `uitest.js`), with stand-ins for `ssh`, `powershell` and `taskkill`. | |
| The scripts are working tools, not a polished suite. They expect this folder at `~/.local/share/sm-dev`, the six | |
| projects on `~/Desktop`, and (C++ tests) a Qt 5 SDK in `~/.local/share/qt5-sdk/root`; some write their scratch files | |
| next to themselves or under `~/.local/share/sm-dev/tmp`. | |
| Rules for every test: a scratch settings folder (`XDG_CONFIG_HOME`, `APPDATA` for the Windows editions) whose servers | |
| have `autopilot.dryRun = true`, and never confirm an action that kills, restarts, cleans, reboots or shuts down. | |