Contributing¶
Contributions are welcome, and they are greatly appreciated! Every little bit helps, and credit will always be given.
You can contribute in many ways:
Types of Contributions¶
Report Bugs¶
Report bugs at https://github.com/LuisAlejandro/agoras/issues.
If you are reporting a bug, please include:
Your operating system name and version.
Any details about your local setup that might be helpful in troubleshooting.
Detailed steps to reproduce the bug.
Fix Bugs¶
Look through the GitHub issues for bugs. Anything tagged with “bug” is open to whoever wants to implement it.
Implement Features¶
Look through the GitHub issues for features. Anything tagged with “feature” is open to whoever wants to implement it.
Improve Documentation¶
Agoras could always use more documentation, whether as part of the official Agoras docs, in docstrings, or even on the web in blog posts, articles, and such.
Suggest Features¶
The best way to suggest a feature is to file an issue at https://github.com/LuisAlejandro/agoras/issues.
If you are proposing a feature:
Explain the problem you are trying to solve.
Describe the behavior you want and any alternatives you considered.
Keep the scope as narrow as possible, to make it easier to implement.
Submit Feedback¶
The best way to send other feedback is to file an issue at https://github.com/LuisAlejandro/agoras/issues.
Local Development¶
Ready to contribute? Here’s how to set up agoras for local development.
Fork the
agorasrepo on GitHub.Clone your fork locally:
$ git clone git@github.com:your_name_here/agoras.git $ cd agoras
Create a branch from
develop:$ git checkout develop $ git checkout -b name-of-your-bugfix-or-feature
Copy environment placeholders when you need platform credentials:
$ cp .env.example .env
Start the Docker development environment:
$ make image $ make start $ make console
Use
make consolefor an interactive shell inside the project container.Without Docker, run
make virtualenv(installsrequirements-dev.txtand editable installs ofpackages/common→media→core→platforms→cli), then activate./virtualenv/bin/activate.After changing
requirements-dev.txtor theDockerfile, rebuild withmake imageso the container picks up new tools.
Monorepo layout (v2.0)¶
Agoras is five namespace packages under packages/ (dependency order):
common → media → core → platforms → cli
Put changes in packages/<pkg>/src/agoras/<pkg>/ and tests in
packages/<pkg>/tests/. Do not import upward against that chain.
More detail lives in the docs under docs/migration/.
Quality Checks¶
The lint stack is Ruff (format + lint), pydocstyle, bandit, and
Pyright, configured in pyproject.toml and run via tox. make test
runs the coverage tox env (not the full multi-Python matrix).
Before opening a pull request, run:
$ make format
$ make lint
$ make test
Or on the host after make virtualenv:
$ ./virtualenv/bin/tox -e format
$ ./virtualenv/bin/tox -e lint
$ ./virtualenv/bin/tox -e coverage
To exercise all supported Python versions via tox:
$ make test-all
Pull Request Guidelines¶
Before you submit a pull request, check that it meets these guidelines:
The pull request should include tests for behavior changes.
If the pull request adds functionality, update the docs when user-facing behavior changes.
Keep the scope focused and link related issues.
Check https://github.com/LuisAlejandro/agoras/actions and make sure CI passes.
Maintainer Notes¶
Releases are handled by maintainers (make release-patch,
make release-minor, make release-major, and make release-preflight).
Use make undo-release VERSION=x.y.z to roll back a botched release.
Contributors should not publish packages or push release tags.