Learnosity / learnosity-qti

Convert QTI 2.1 Assessment Items to and from Learnosity Item and Question JSON.
MIT License
21 stars 22 forks source link

Add a CONTRIBUTING.md #43

Open ttton opened 5 years ago

ttton commented 5 years ago

To aid new contributors, we should include a concise guide on how best to contribute code to the official repository. It should describe as simply as possible the process for contributing, guidelines for reviews and code quality, the git flow and any caveats or limitations.

The guide should follow standard conventions used in other public git repositories, so that it is as easy as possible to discover and follow.

Thoughts / ideas / suggestions?

Feel free to drop your thoughts in below about what the contributing guide should cover, its format and any other ways we could make life easier for contributors.

shtrom commented 5 years ago

Ideas of things to include:

ttton commented 5 years ago

I would add to this list:

ttton commented 5 years ago
shtrom commented 5 years ago
ttton commented 5 years ago

We can use this as a reference for PSR-2 compatibility: https://www.php-fig.org/psr/psr-2/

Other things to consider including or mentioning:

shtrom commented 5 years ago

Notes on good commits: separate lint/whitespace, refactors, bugfixes, and features. Keep each commit as a single consistent and meaningful piece of work.

ttton commented 5 years ago
ttton commented 5 years ago

According to the current composer.json, this library is licensed under GPL 2.0; I wonder if, to make it clearer to contributors, it's better to also include a copy of the license in a LICENSE.md and reference it in the contribution guide?

shtrom commented 5 years ago

I think it would be good, yeah.

On Wed, 12 Jun 2019 at 14:17, Trungtin Ton notifications@github.com wrote:

According to the current composer.json https://github.com/Learnosity/learnosity-qti/blob/develop/composer.json#L11, this library is licensed under GPL 2.0; I wonder if, to make it clearer to contributors, it's better to also include a copy of the license in a LICENSE.md and reference it in the contribution guide?

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/Learnosity/learnosity-qti/issues/43?email_source=notifications&email_token=AABHEGDFLLI6LSAMUOSJXWLP2B2EVA5CNFSM4HQJ2H72YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODXPGKYA#issuecomment-501114208, or mute the thread https://github.com/notifications/unsubscribe-auth/AABHEGGCUJVQYREGUYJKJSDP2B2EVANCNFSM4HQJ2H7Q .

shtrom commented 5 years ago

Add a PR template, too, with the most important checkboxes (phpcbf, tests, ....)

ttton commented 5 years ago

This is probably a useful reference in terms of inspiration for content: https://github.com/symfony/symfony/blob/4.4/CONTRIBUTING.md