Firstly, thank you so much for taking out time to contribute to SourceFuck!
The following is a set of guidelines for contributing to SourceFuck. These are mostly guidelines, not rules. Use your best judgment, and feel free to propose changes to this document in a pull request.
This project and everyone participating in it is governed by the SourceFuck code of conduct. By participating, you are expected to uphold this code. Please report unacceptable behavior to the developers.
Generally speaking questions are better suited in discussions.
Please try your best not to ask questions in our issue tracker. Most of them don't belong there unless they provide value to a larger audience.
We expect that you have experienced with Golang before.
Please be aware of the following things when filing bug reports.
- Don't open duplicate issues. Please search your issue to see if it has been asked already. Duplicate issues will be closed.
- When filing a bug about exceptions or tracebacks, please include the complete traceback. Without the complete traceback the issue might be unsolvable and you will be asked to provide more information.
- Make sure to provide enough information to make the issue workable. The issue template will generally walk you through the process but they are enumerated here as well:
- A summary of your bug report. This is generally a quick sentence or two to describe the issue in human terms.
- Guidance on how to reproduce the issue. Ideally, this should have a small code sample that allows us to run and see the issue for ourselves to debug. Please make sure that the token is not displayed. If you cannot provide a code snippet, then let us know what the steps were, how often it happens, etc.
- Tell us what you expected to happen. That way we can meet that expectation.
- Tell us what actually happens. What ends up happening in reality? It's not helpful to say "it fails" or "it doesn't work". Say how it failed, do you get an exception? Does it hang? How are the expectations different from reality?
- Tell us information about your environment. What operating system are you running on? what are the libraries' versions? These are valuable questions and information that we use.
If the bug report is missing this information then it'll take us longer to fix the issue. We will probably ask for clarification, and barring that if no response was given then the issue will be closed.
Submitting a pull request is fairly simple, just make sure it focuses on a single aspect and doesn't manage to have scope creep and it's probably good to go. It would be incredibly lovely if the style is consistent to that found in the project.
- Use present tense (e.g. "Add feature" not "Added feature")
- Reference issues or pull requests outside of the first line.
- Please use the shorthand
#123
and not the full URL.
- Please use the shorthand
With that being said, you have officially contributed to SourceFuck! Thank you so much!