|
| 1 | +# Contributing Guidelines |
| 2 | + |
| 3 | +First off, thank you for considering contributing to `wasm_js` 🥳. It's |
| 4 | +people like you that make `wasm_js` such a great tool. |
| 5 | + |
| 6 | +Following these guidelines helps to communicate that you respect the time of the |
| 7 | +developers managing and developing this open source project. In return, they |
| 8 | +should reciprocate that respect in addressing your issue, assessing changes, and |
| 9 | +helping you finalize your pull requests. |
| 10 | + |
| 11 | +`wasm_js` is an open source project and we love to receive contributions |
| 12 | +from our community — you! There are many ways to contribute. For example, you |
| 13 | +could |
| 14 | + |
| 15 | +- write a new tutorial or a blog post |
| 16 | +- improve the documentation or the existing examples |
| 17 | +- submit bug reports or feature requests |
| 18 | +- write code to incorporate into `wasm_js` itself |
| 19 | + |
| 20 | +## Ground Rules |
| 21 | + |
| 22 | +We welcome all kinds of contribution and value them highly. We pledge to treat |
| 23 | +everyone's contribution fairly and with respect, and we are here to bring |
| 24 | +awesome pull requests over the finish line. |
| 25 | + |
| 26 | +Please note that we adhere to the [Contributor Covenant Code of Conduct](https://www.contributor-covenant.org/version/2/1/code_of_conduct/) and by contributing |
| 27 | +to this project you also agree to follow the same guidelines. |
| 28 | + |
| 29 | +## Your First Contribution |
| 30 | + |
| 31 | +Working on your first Pull Request? Here are some resources to help you get started: |
| 32 | + |
| 33 | +- [First Timers Only](https://www.firsttimersonly.com/) |
| 34 | +- [Make a Pull Request](https://makeapullrequest.com/) |
| 35 | +- [How to Contribute to an Open Source Project on GitHub](https://egghead.io/courses/how-to-contribute-to-an-open-source-project-on-github) |
| 36 | + |
| 37 | +At this point, you're ready to make your changes! Feel free to ask for help; |
| 38 | +everyone is a beginner at first 😸. |
| 39 | + |
| 40 | +If a maintainer asks you to "rebase" your PR, they're saying that a lot of code |
| 41 | +has changed and that you need to update your branch so that it's easier to |
| 42 | +merge. |
| 43 | + |
| 44 | +## Getting Started |
| 45 | + |
| 46 | +1. Create your own fork of the repository. |
| 47 | +1. Do the changes in your fork. |
| 48 | +1. If your changes only involve spelling or grammar fixes, move to step 6. |
| 49 | +1. Test your changes in a clean environment and update installation instructions and dependencies as needed. |
| 50 | +1. When adding new features, make sure to update the documentation and provide an example. |
| 51 | +1. If you are happy with your changes, create a pull request. |
| 52 | + |
| 53 | +## How to Report a Bug |
| 54 | + |
| 55 | +### Security |
| 56 | + |
| 57 | +If you find a security vulnerability, do NOT open an issue. Email |
| 58 | +[isabel.paredes@quantstack.net](mailto:isabel.paredes@quantstack.net) instead. |
| 59 | +In order to determine whether you are dealing with a security issue, ask |
| 60 | +yourself these two questions: |
| 61 | + |
| 62 | +- Can I access something that's not mine, or something I shouldn't have access to? |
| 63 | +- Can I disable something for other people? |
| 64 | + |
| 65 | +If the answer to either of those two questions is YES, then you're probably |
| 66 | +dealing with a security issue. Note that even if you answer NO to both |
| 67 | +questions, you may still be dealing with a security issue, so if you're unsure, |
| 68 | +just email us. |
| 69 | + |
| 70 | +### Other bugs |
| 71 | + |
| 72 | +When filing an issue, make sure to answer these five questions: |
| 73 | + |
| 74 | +1. What version of `wasm_js` are you using? |
| 75 | +1. What operating system and processor architecture are you using? |
| 76 | +1. What did you do? |
| 77 | +1. What did you expect to see? |
| 78 | +1. What did you see instead? |
| 79 | + |
| 80 | +General questions should be handled through the |
| 81 | +[QuantStack/Lobby](https://matrix.to/#/#QuantStack_Lobby:gitter.im) instead of |
| 82 | +the issue tracker. The maintainers there will answer or ask you to file an issue |
| 83 | +if you've tripped over a bug. |
| 84 | + |
| 85 | +## How to Suggest a Feature or Enhancement |
| 86 | + |
| 87 | +If you find yourself wishing for a feature that doesn't exist in |
| 88 | +`wasm_js`, you are probably not alone. There are bound to be others out |
| 89 | +there with similar needs. Many of the features that `wasm_js` has today |
| 90 | +have been added because our users saw the need. Open an issue on our [issues list](https://github.com/ihuicatl/wasm_js/issues) on GitHub which includes the following: |
| 91 | + |
| 92 | +1. A description of the feature you would like to see |
| 93 | +1. Why do you need it? |
| 94 | +1. How should it work? |
| 95 | + |
| 96 | +## Code Review Process |
| 97 | + |
| 98 | +Any change to resources in this repository must be through pull requests. This |
| 99 | +applies to all changes to documentation, code, binary files, etc. No pull |
| 100 | +request can be merged without being reviewed. |
| 101 | + |
| 102 | +The core team looks at Pull Requests on a regular basis and provides feedback |
| 103 | +after each review. Once feedback has been given, we expect responses within |
| 104 | +four weeks. After the four weeks have elapsed, we may close the pull request if |
| 105 | +it isn't showing any activity. |
| 106 | + |
| 107 | +A pull request will be merged once all the feedback has been addressed and there |
| 108 | +are no objections by any of the committers. |
| 109 | + |
| 110 | +## Community |
| 111 | + |
| 112 | +You can chat with the core team on |
| 113 | +[QuantStack/Lobby](https://matrix.to/#/#QuantStack_Lobby:gitter.im). We try to |
| 114 | +answer all questions within 48 hours. |
0 commit comments