2.0 KiB
Contributing
Thanks for taking the time to contribute to moor!
Reporting issues
Feel free to post any questions, bug reports or feature requests by creating an issue. In any case, taking the time to provide some context on
- what you were trying to do
- what you would have expected to happen
- what actually happened
most certainly helps to resolve the issue quickly.
Contributing code
All kinds of pull requests are absolutely appreciated! Before working on bigger changes, it can be helpful to create an issue describing your plans to help coordination.
If you have any question about moor internals, you're most welcome to create an issue or chat via gitter.
Workflows
Releasing to pub
Minor changes will be published directly, no special steps are necessary. For major updates that span multiple versions, we should follow these steps
- Changelogs: For new updates, we use the same
CHANGELOG
formoor
andmoor_flutter
. This is because most changes happen with moor directly, but users are most likely depending on the Flutter version only. The changelog for the generator should only point out relevant changes to the generator. - Make sure each package has the correct dependencies:
moor_flutter
version1.x
should depend on moor1.x
as well to ensure users will alwayspub get
moor packages that are compatible with each other. - Comment out the
dependency_overrides
section - Publish packages in this order to avoid scoring penalties caused by versions not existing:
moor
moor_generator
moor_flutter
The sqlparser
library can be published independently from moor.
Building the documentation
We use jekyll to write documentation. With
bundler installed, you can serve the documentation locally with
bundler exec jekyll serve
. The generated documentation can be written into the
docs/_site
folder with bundler exec jekyll build
.