Skip to content

Latest commit

 

History

History
65 lines (41 loc) · 2.74 KB

CONTRIBUTING.md

File metadata and controls

65 lines (41 loc) · 2.74 KB

Contributing Guide

GitHub.dart is of course Open Source! We love it when people contribute!

Getting Started

Making Changes

Code Style

GitHub.dart follows the Dart Style Guide. Please note that if your code is not formatted according to the guide as much as possible, we will reject your Pull Request until it is fixed. Some things such as long lines will generally be accepted, however try to make it smaller if possible.

Efficiency

GitHub.dart is committed to efficiency as much as possible. If your code is not efficient, then we will probably reject your Pull Request.

Rejections

Pull Request rejections are not a bad thing. It just means you need to fix something. Perhaps it is important to define 'rejection' as it is used in this case. A rejection is when a GitHub.dart committer comments on a Pull Request with a comment like 'rejected due to incorrect formatting'.

Generated code

To regenerate the JSON logic for the models, run:

dart run build_runner build -d

Tests

dart test will only run the unit tests.

To run the complete test suite you will need to install octokit/fixtures-server.

npm install --global @octokit/fixtures-server

Tests can be run using make test, which will start up a local mock GitHub and execute tests against it using your localhost port 3000.

Contacting Us

File issues at https://github.com/SpinlockLabs/github.dart/issues

Releases

Merged pull requests that edit the pubspec.yaml version will create new releases. Once CI is green, it will create a tag for that commit based on the version, which gets published by pub.dev.

If no new version was created, nothing will be published.