Skip to content

Development

Virtual environment

py -3.15 -m venv .venv3.15

# siblings first, each on its release line
.venv3.15/Scripts/pip install -e ../python-activerecord          -i https://mirrors.aliyun.com/pypi/simple/
.venv3.15/Scripts/pip install -e ../python-activerecord-postgres -i https://mirrors.aliyun.com/pypi/simple/
.venv3.15/Scripts/pip install -e ../python-mcpserver             -i https://mirrors.aliyun.com/pypi/simple/

# this project and its dev dependencies
.venv3.15/Scripts/pip install -e ".[dev]" -i https://mirrors.aliyun.com/pypi/simple/

Running the tests

See Testing. A PostgreSQL server is required; there is no SQLite path any more.

The codebase in one paragraph

src/rhosocial/github_actions_tracker/ holds models/ (table mappings, state machines, the row validators — the leaves), services/ (the GitHub API surface and GithubPayloads, the one translator of GitHub JSON into model values), controllers/ (the flows, and the only place ORM queries are written), views.py (what the adapters shape), config.py / database.py / container.py (wiring), and adapters/ (one per protocol).