Debian Codegraph @

docs/CONTRIBUTING.md

raw symbols SCIP
1 # Contributing to `step cli`
2
3 We welcome contributions to `step cli` of any kind including
4 documentation, themes, organization, tutorials, blog posts, bug reports,
5 issues, feature requests, feature implementations, pull requests, helping
6 to manage issues, etc.
7
8 ## Table of Contents
9
10 * [Asking Support Questions](#asking-support-questions)
11 * [Reporting Issues](#reporting-issues)
12 * [Submitting Patches](#submitting-patches)
13 * [Code Contribution Guidelines](#code-contribution-guidelines)
14 * [Git Commit Message Guidelines](#git-commit-message-guidelines)
15
16 ## Reporting Issues
17
18 If you believe you have found a defect in `step cli` or its
19 documentation, use the GitHub [issue
20 tracker](https://github.com/smallstep/cli/issues) to report the
21 problem. When reporting the issue, please provide the version of `step
22 cli` in use (`step version`) and your operating system.
23
24 ## Asking Support Questions
25
26 Users and developers can ask questions on [GitHub Discussions](https://github.com/smallstep/certificates/discussions).
27
28 ## Code Contribution
29
30 `step cli` aims to become a fully featured toolkit for cryptographic primitives.
31 We encourage all contributions that meet the following criteria:
32
33 * fit naturally into a toolkit for creating and working with cryptographic
34 primitives and higher order resources.
35 * strive not to break existing functionality.
36 * close or update an open [`step cli` issue](https://github.com/smallstep/cli/issues)
37
38 **Bug fixes are, of course, always welcome.**
39
40 ## Submitting Patches
41
42 `step cli` welcomes all contributors and contributions. If you are
43 interested in helping with the project, please reach out to us or, better yet,
44 submit a PR :).
45
46 ### Code Contribution Guidelines
47
48 Because we want to create the best possible product for our users and the best
49 contribution experience for our developers, we have a set of guidelines which
50 ensure that all contributions are acceptable. The guidelines are not intended
51 as a filter or barrier to participation. If you are unfamiliar with the
52 contribution process, the Smallstep team will guide you in order to get your
53 contribution in accordance with the guidelines.
54
55 To make the contribution process as seamless as possible, we ask for the following:
56
57 * Go ahead and fork the project and make your changes. We encourage pull
58 requests to allow for review and discussion of code changes.
59 * When you’re ready to create a pull request, be sure to:
60 * Sign the [CLA](https://cla-assistant.io/smallstep/cli).
61 * Have test cases for the new code. If you have questions about how to do
62 this, please ask in your pull request.
63 * Run `go fmt`.
64 * Add documentation if you are adding new features or changing
65 functionality.
66 * Squash your commits into a single commit. `git rebase -i`. It’s okay to
67 force update your pull request with `git push -f`.
68 * Follow the **Git Commit Message Guidelines** below.
69
70 ### Git Commit Message Guidelines
71
72 This [blog article](http://chris.beams.io/posts/git-commit/) is a good resource
73 for learning how to write good commit messages, the most important part being
74 that each commit message should have a title/subject in imperative mood
75 starting with a capital letter and no trailing period: *"Return error on wrong
76 use of the Paginator"*, **NOT** *"returning some error."*
77
78 Also, if your commit references one or more GitHub issues, always end your
79 commit message body with *See #1234* or *Fixes #1234*. Replace *1234* with the
80 GitHub issue ID. The last example will close the issue when the commit is
81 merged into *master*.
82
83 Please use a short and descriptive branch name, e.g. **NOT** "patch-1". It's
84 very common but creates a naming conflict each time when a submission is pulled
85 for a review.
86
87 An example:
88
89 ```text
90 Add step certificate install
91
92 Add a command line utility for installing (and uninstalling) certificates to the
93 local system truststores. This should help developers with local development
94 flows.
95
96 Fixes #75
97 ```