First off, thanks for taking the time to contribute! 🎉
The following is a set of guidelines for contributing to RegTool. These are mostly guidelines, not rules. Use your best judgment, and feel free to propose changes to this document in a pull request.
This section guides you through submitting a bug report for RegTool. Following these guidelines helps maintainers and the community understand your report, reproduce the behavior, and find related reports.
- Check the issue tracker to see if the problem has already been reported. If it has, you can add additional information to the existing issue.
- Perform a cursory search to see if the problem has already been addressed in past issues.
- Use a clear and descriptive title for the issue to identify the problem.
- Describe the exact steps which reproduce the problem in as many details as possible. Start with how you used the project, e.g. which command exactly you used in the terminal.
- Provide specific examples to demonstrate the steps. Include links to files or GitHub projects, or copy/pasteable snippets, which you use in those examples. If you're providing snippets in the issue, use Markdown code blocks.
This section guides you through submitting an enhancement suggestion for RegTool, including completely new features and minor improvements to existing functionality.
- Check the issue tracker to see if there's already a request for that feature. If there is, you can add a 👍 reaction to indicate your support.
- Use a clear and descriptive title for the suggestion.
- Provide a step-by-step description of the suggested enhancement in as much detail as possible.
- Provide specific examples to demonstrate the steps. Include copy/pasteable snippets, which you use in those examples.
- Explain why this enhancement would be useful to most RegTool users.
The process described here has several goals:
- Maintain RegTool's quality
- Fix problems that are important to users
- Engage the community in working toward the best possible RegTool
- Enable a sustainable system for RegTool's maintainers to review contributions
- Fork the repository.
- Clone your fork:
git clone https://github.com/Sma1lboy/regtool.git
- Create a branch:
git checkout -b my-branch
- Make your changes.
- Push to your fork:
git push origin my-branch
- Create a pull request.
- Follow the project coding style.
- Ensure your changes include tests to cover any new code.
- Be sure all tests pass.
- When you make very small changes to documentation, it may help to add
[ci skip]
to your commit message to skip running tests for that commit.
Make sure you have the following tools installed:
-
Fork the repository on GitHub.
-
Clone your fork to your local machine:
git clone https://github.com/Sma1lboy/regtool.git cd regtool
-
Run the following command to generate the
initall.go
file and build the project:make
-
After building the project, you can run the executable:
./regtool
This will start RegTool with the default settings.
- Use the present tense ("Add feature" not "Added feature").
- Use the imperative mood ("Move cursor to..." not "Moves cursor to...").
- Limit the first line to 72 characters or less.
- Reference issues and pull requests liberally after the first line.
- Follow the Effective Go guidelines.
- Ensure that the code passes
go fmt
.
This project adheres to the Contributor Covenant code of conduct. By participating, you are expected to uphold this code. Please report unacceptable behavior to cchen686@wisc.edu.
Thank you for considering contributing to RegTool!