verilator/docs/CONTRIBUTING.adoc

83 lines
3.1 KiB
Plaintext
Raw Normal View History

2019-09-29 21:03:07 +00:00
= How to contribute to Verilator
Thanks for using Verilator! We welcome your contributions in whatever form.
This contributing document contains some suggestions that may make
contributions flow more efficiently.
==== Did you find a bug?
* Please **Ensure the bug was not already reported** by searching
2019-11-08 03:33:59 +00:00
https://verilator.org/issues[Verilator Issues].
2019-09-29 21:03:07 +00:00
* If you're unable to find an open issue addressing the problem,
2020-01-16 01:09:19 +00:00
https://verilator.org/issues/new[open a new Verilator issue].
2019-09-29 21:03:07 +00:00
2019-10-04 21:42:34 +00:00
** Be sure to include a **code sample** or an **executable test case**
demonstrating the bug and expected behavior that is not occurring.
2019-09-29 21:03:07 +00:00
2019-10-04 21:42:34 +00:00
** The ideal example works against other simulators, and is in the
test_regress/t test format, as described in
link:internals.adoc[docs/internals].
2019-09-29 21:03:07 +00:00
==== Did you write a patch that fixes a bug?
2019-11-08 03:33:59 +00:00
* Please https://verilator.org/issues/new[Open a new issue].
2019-09-29 21:03:07 +00:00
2020-01-09 00:33:42 +00:00
* You may attach a patch to the issue, or (preferred) may request a GitHub
pull request.
2019-09-29 21:03:07 +00:00
2019-10-04 21:42:34 +00:00
** Verilator uses Travis CI to provide continuous integration. You may
2019-10-19 11:08:18 +00:00
want to setup Travis CI on your GitHub branch to ensure your changes
2019-10-04 21:42:34 +00:00
keep the tests passing. See link:internals.adoc[docs/internals].
2019-09-29 21:03:07 +00:00
* Your source-code contributions must be certified as open source, under
the https://developercertificate.org/[Developer Certificate of
Origin]. On your first contribution, you must either:
2019-10-04 21:42:34 +00:00
** Have your patch include the addition of your name to
link:CONTRIBUTORS[docs/CONTRIBUTORS] (preferred).
2019-09-29 21:03:07 +00:00
2019-10-04 21:42:34 +00:00
** Use "git -s" as part of your commit. This adds a "signed-of-by"
attribute which will certify your contribution as described in the
https://github.com/wking/signed-off-by/blob/master/Documentation/SubmittingPatches[Signed-of-By
convention].
2019-09-29 21:03:07 +00:00
2019-10-04 21:42:34 +00:00
** Email, or post in an issue a statement that you certify your
contributions.
2019-09-29 21:03:07 +00:00
2019-10-04 21:42:34 +00:00
** In any of these cases your name will be added to
2019-10-19 11:08:18 +00:00
link:CONTRIBUTORS[docs/CONTRIBUTORS] and you are agreeing all future
2019-10-04 21:42:34 +00:00
contributions are also certified.
2019-09-29 21:03:07 +00:00
** We occasionally accept contributions where people do not want their name
published. Please email us; you must still privately certify your
contribution.
2019-09-29 21:03:07 +00:00
* Your test contributions are generally considered released into the
Creative Commons Public Domain (CC0), unless you request otherwise or put
a GNU/Artistic license on your file.
2019-09-29 21:03:07 +00:00
* Most important is we get your patch. If you'd like to clean up
indentation and related issues ahead of our feedback, that is
appreciated; please see the coding conventions in
link:internals.adoc[docs/internals].
==== Do you have questions?
2019-11-08 03:33:59 +00:00
* Please see FAQ section and rest of the
https://verilator.org/verilator_doc.html[Verilator manual],
or https://verilator.org/verilator_doc.pdf[Verilator manual (PDF)].
2019-09-29 21:03:07 +00:00
* Ask any question in the
2019-11-08 03:33:59 +00:00
https://verilator.org/forum[Verilator forum].
2019-09-29 21:03:07 +00:00
==== Code of Conduct
* Our contributors and participants pledge to make participation in our
project and our community a positive experience for everyone. We follow
the https://www.contributor-covenant.org/version/1/4/code-of-conduct.html[Contributor
Covenant version 1.4].
Thanks!