Thank you for considering contributing to OPNet! Please take a moment to review the following guidelines before submitting your contribution.
DO NOT open public issues for security vulnerabilities. Report them privately via GitHub Security Advisories.
See SECURITY.md for our full security policy.
When submitting a pull request, please use our pull request template and follow these guidelines:
-
Fork the repository: If you haven't already, fork the repository to your GitHub account.
-
Create a new branch: Create a new branch for your feature or bug fix. This helps keep the main branch clean and makes it easier to review your changes.
-
Ensure your code is up-to-date: Before starting work, make sure your forked repository is up-to-date with the latest changes from the main repository.
-
Follow coding conventions: Make sure your code follows the existing coding style and conventions used in the project.
-
Write descriptive commit messages: Write clear and descriptive commit messages that explain the purpose of your changes.
-
Test your changes: Before submitting your pull request, make sure to test your changes thoroughly:
npm install npm test npm run build
-
Create a descriptive title: Use a clear and descriptive title for your pull request that summarizes the purpose of your changes.
-
Complete the PR template: Fill out all sections of the pull request template, including the type of change and checklist items.
-
Link related issues: If your pull request addresses a specific issue, make sure to reference it in the description using GitHub's issue linking syntax (
Fixes #123orRelates to #456). -
Review and address feedback: Be responsive to any feedback or comments you receive on your pull request and make any necessary changes.
When submitting an issue, please use the appropriate template:
- Bug reports: Use the bug report template
- Feature requests: Use the feature request template
-
Use a descriptive title: Use a clear and descriptive title that summarizes the issue you're experiencing.
-
Provide detailed steps to reproduce: Include detailed steps to reproduce the issue, including any relevant code or configuration.
-
Include relevant information: Provide any relevant information such as error messages, screenshots, or logs that can help diagnose the problem.
-
Specify your environment: Include your Node.js version and opnet version in bug reports.
-
Check for existing issues: Before submitting a new issue, please check if a similar issue has already been reported to avoid duplicates.
git clone https://github.com/btc-vision/opnet.git
cd opnet
npm install
npm run buildBy contributing, you agree that your contributions will be licensed under the project's Apache-2.0 license.
Thank you for your contributions!