Hi I was looking volunteer into KSP to contribute ...
# ksp
r
Hi I was looking volunteer into KSP to contribute open issues. I want to deep dive into KSP and compilation. I think doing the contribution is the best way to understand that Is there some process I have to follow or should I just ask at the issues only which I like to contribute
j
Hi and welcome Rohan. Contributing is an excellent way to learn! First, start by reading the README and the CONTRIBUTING documents (and the linked code of conduct). There are several ways to contribute: • Testing KSP in several ways. Try to come up with edge cases or interactions across boundaries. This can also be done with the help of AI. • Opening bug reports / issues with feature requests or discussions on the GitHub page. If you have feature requests or ideas, try to come up with a design and implementation sketch in the issue. The more detailed and thought-through the better. Doing so shows that you have considered details and other aspects and makes it more likely to be considered. However, don't be afraid to open an issue if you don't have a fully-baked idea. Bug reports should aim to be reproducible, but a small snippet that triggers the bug is also acceptable. In general, any issue can potentially serve as starting point for further discussion where ideas or solutions can be surfaced. Such a discussion is also a good learning opportunity. • Writing or improving documentation is also a good way to gain a better understanding of KSP and (hopefully) makes KSP more easily available to more people. The idea being that if you have to articulate something concisely, you must understand it first. A good starting point for any type of contribution is to carefully read through the documentation on the Kotlin website and the GitHub page. Cleanup such as fixing typos and grammar or updating outdated documentation is also hugely appreciated! It's easy for documentations to grow stale over time. Another part of documentation is to add example processors. A bigger library of examples means that more people can easily inspect how to achieve a particular goal with KSP. • Contributing code through PRs is also much appreciated! Start by browsing through the open issues and see if anything is of particular interest to you. If it's a simple bug fix it's okay to open a PR for it but usually it's better to start by commenting on the issue and letting everyone know that you would want to contribute a solution to the problem. Then, as mentioned before, we can discuss a good way to move forward and what a potential solution could look like after which opening a PR is a good way to move forward. Similarly, if you want to contribute something that is not already in an open issue, then a good way to proceed is to first open a new issue with idea or improvement you want to suggest. A PR without a linked issue or without much context is not very helpful, so if you open a PR without any explanation or with very little context, it's much less likely to be merged compared to a PR where there was a discussion beforehand and the PR clearly implements what was agreed upon. Then the PR may go through a couple of review cycles and that's not uncommon so don't be scared if you're asked to change your PR. Additionally, when contributing code, it's a good idea to familiarize yourself with the DEVELOPMENT document. Lastly, remember that any question you might have is always welcome! Please feel free to reach out either in a particular issue or in this Slack channel. Cheers :)
r
Thanks I have asked for issues to be assigned and raised PR for small tasks like adding tests or bug fix