Developer Docs
Kodit Developer Documentation
Database
All database operations are handled by SQLAlchemy and Alembic.
Creating a Database Migration
- Make changes to your models
- Ensure the model is referenced in alembic’s env.py
- Run
alembic revision --autogenerate -m "your message"
- The new migration will be applied when you next run a kodit command
Releasing
Performing a release is designed to be fully automated. If you spot opportunities to improve the CI to help performing an automated release, please do so.
- Create a new release in GitHub.
- Set the version number. Use patch versions for bugfixes or minor small improvements. Use minor versions when adding significant new functionality. Use major versions for overhauls.
- Generate the release notes. <- this could be improved, because we use a strict pr/commit naming structure.
- Wait for all jobs to succeed, then you should be able to brew install, pipx install, etc.