-
-
Notifications
You must be signed in to change notification settings - Fork 225
Added more info about PR prep to CONTRIBUTING.md file #948
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
postmodern
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I like the idea of recommending running yamllint in addition to running the specs. However, some of the bullet points got moved around and the markdown formatting could be a bit better.
| * Please see the [README](README.md#schema) for more documentation on the | ||
| YAML Schema. | ||
| * Prior to submitting a pull request, run the tests: | ||
| * Values for 'cvss_v2', 'cvss_v3', and 'cvss_v4' can be found in |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should be formatted similar to the above comments about title:.
Also, it might be easier to link directly to NVD's search form, as well as GitHub Advisories.
| the reference URLs from nvd.nist.gov, https://github.com/advisories, | ||
| and the repo's security advisory. | ||
| * Prior to submitting a pull request, | ||
| * Run yamlint to check yaml format |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yamllint should be a markdown link to https://yamllint.readthedocs.io/en/stable/quickstart.html or https://pypi.org/project/yamllint/.
| * Prior to submitting a pull request, | ||
| * Run yamlint to check yaml format | ||
| * https://yamllint.readthedocs.io/en/stable | ||
| * YAML must be indented by 2 spaces. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This line should stay at the top.
| * https://yamllint.readthedocs.io/en/stable | ||
| * YAML must be indented by 2 spaces. | ||
| * Please see the [README](README.md#schema) for more documentation on the | ||
| YAML Schema. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This bullet point should stay at the top, below the other YAML schema recommendations.
|
Too confusing so closing PR. |
Added more info about PR prep to CONTRIBUTING.md file.