7.2 KiB
Contributing to Cinny
First off, thanks for taking the time to contribute! ❤️
This document describes the process of contributing to Cinny. It is intended for anyone considering opening an issue, discussion or pull request. For people who are interested in developing Cinny and technical details behind it, please check out our "Developing Cinny" document as well.
And if you like the project, but just don't have time to contribute, that's fine. There are other easy ways to support the project and show your appreciation, which we would also be very happy about:
- Star the project
- Tweet about it (tag @cinnyapp)
- Refer this project in your project's readme
- Mention the project at local meetups and tell your friends/colleagues
- Donate to us
The Critical Rule
The most important rule: you must understand your code. If you can't explain what your changes do and how they interact with the greater system without the aid of AI tools, do not contribute to this project.
Using AI to write code is fine. You can gain understanding by interrogating an agent with access to the codebase until you grasp all edge cases and effects of your changes. What's not fine is submitting agent-generated slop without that understanding. Be sure to read the AI Usage Policy.
AI Usage
The Cinny project has strict rules for AI usage. Please see the AI Usage Policy. This is very important.
Quick Guide
I'd like to contribute
Legal Notice
When contributing to this project, you must agree that you have authored 100% of the content, that you have the necessary rights to the content and that the content you contribute may be provided under the project license. You will also be asked to sign the CLA upon submiting your pull request.
All issues are actionable. Pick one and start working on it. Thank you. If you need help or guidance, comment on the issue. Issues that are extra friendly to new contributors are tagged with "contributor friendly".
I have a bug! / Something isn't working
First, search the issue tracker and discussions for similar issues. Tip: also search for closed issues and discussions — your issue might have already been fixed!
Note
If there is an open issue or discussion that matches your problem, please do not comment on it unless you have valuable insight to add.
GitHub has a very noisy set of default notification settings which sends an email to every participant in an issue/discussion every time someone adds a comment. Instead, use the handy upvote button for discussions, and/or emoji reactions on both discussions and issues, which are a visible yet non-disruptive way to show your support.
If your issue hasn't been reported already, open an "Issue Triage" discussion and make sure to fill in the template completely. They are vital for maintainers to figure out important details about your setup.
Warning
A very common mistake is to file a bug report either as a Q&A or a Feature Request. Please don't do this. Otherwise, maintainers would have to ask for your system information again manually, and sometimes they will even ask you to create a new discussion because of how few detailed information is required for other discussion types compared to Issue Triage.
Because of this, please make sure that you only use the "Issue Triage" category for reporting bugs — thank you!
I have an idea for a feature
Like bug reports, first search through both issues and discussions and try to find if your feature has already been requested. Otherwise, open a discussion in the "Feature Requests, Ideas" category.
I've implemented a feature
- If there is an issue for the feature, open a pull request straight away.
- If there is no issue, open a discussion and link to your branch.
- If you want to live dangerously, open a pull request and hope for the best.
I have a question which is neither a bug report nor a feature request
Open an Q&A discussion, or join our Matrix Space and ask away in the
Cinny room.
Do not use other rooms to ask for help as our rooms are mostly specific
topic only. If you do ask a question there, you will be redirected
to Cinny room instead.
Note
If your question is about a missing feature, please open a discussion under the "Feature Requests, Ideas" category. If Cinny is behaving unexpectedly, use the "Issue Triage" category.
The "Q&A" category is strictly for other kinds of discussions and do not require detailed information unlike the two other categories, meaning that maintainers would have to spend the extra effort to ask for basic information if you submit a bug report under this category.
Therefore, please pay attention to the category before opening discussions to save us all some time and energy. Thank you!
General Patterns
Issues are Actionable
The Cinny issue tracker is for actionable items.
Unlike some other projects, Cinny does not use the issue tracker for discussion or feature requests. Instead, we use GitHub discussions for that. Once a discussion reaches a point where a well-understood, actionable item is identified, it is moved to the issue tracker. This pattern makes it easier for maintainers or contributors to find issues to work on since every issue is ready to be worked on.
If you are experiencing a bug and have clear steps to reproduce it, please open an issue. If you are experiencing a bug but you are not sure how to reproduce it or aren't sure if it's a bug, please open a discussion. If you have an idea for a feature, please open a discussion.
Pull Requests Implement an Issue
Pull requests should be associated with a previously accepted issue. If you open a pull request for something that wasn't previously discussed, it may be closed or remain stale for an indefinite period of time. I'm not saying it will never be accepted, but the odds are stacked against you.
Issues tagged with "feature" represent accepted, well-scoped feature requests. If you implement an issue tagged with feature as described in the issue, your pull request will be accepted with a high degree of certainty.
Note
Pull requests are NOT a place to discuss feature design. Please do not open a WIP pull request to discuss a feature. Instead, use a discussion and link to your branch.