Skip to content

Latest commit

 

History

History
108 lines (61 loc) · 5.29 KB

oss-guidelines.md

File metadata and controls

108 lines (61 loc) · 5.29 KB

How To Contribute to Open-Source

Welcome to AI4REALNET Open Source Organization guidelines!

Before you begin, it's essential to familiarize yourself with the documentation outlined in each section below. This information ensures a positive and collaborative environment for all contributors.

Let's get started!

1 - Code Development Procedures

Step-By-Step

Familiarize Yourself with our Contributing Guidelines

  • Review the guidelines outlining how to contribute to an OSS project repository effectively.

Understand the Project Structure and Codebase

  • Gain a comprehensive understanding of the project's architecture, code organization, and existing functionalities.

Choose an Issue or Feature to Work On

  • Select a task or feature from the project's issue tracker or backlog that aligns with your skills and interests.

Create a Branch to work on

  • Create a new branch (follow naming conventions - Contribution Guidelines - Section 3) in the version control system to isolate your changes and collaborate without affecting the main codebase.

Implement Your Changes

  • Write code to address the selected issue or implement the desired feature, following coding standards and best practices.

Submit a Pull Request (PR)

  • Open a pull request to propose your changes for review and integration into the main codebase.

Merge Your Changes

  • Once your changes have been approved, merge your branch into the main codebase to incorporate your contributions.

Address Feedback and Iteration

  • Respond to feedback and suggestions during the code review process, making necessary adjustments and improvements.

Update Documentation and Tests

  • Update project documentation and tests to reflect any changes or additions made to the codebase, ensuring accuracy and completeness.

Celebrate and Share Your Contribution

  • Celebrate your contribution to the project and share it with the community through social media, blog posts, or other channels.

2 - Quality Control on Open-Source Software

Continuous Integration (CI) Pipelines

  • Be aware of how often CI pipelines run, ensuring your code changes are tested promptly upon submission.
  • Align your testing strategy with the CI pipeline's requirements, ensuring that tests adequately cover your changes.

Code Review Processes

  • Write clear, concise, and self-explanatory code to facilitate reviewers' understanding.
  • Include relevant comments and documentation to explain the purpose and functionality behind your code changes.
  • Be open to feedback and constructive criticism from reviewers, recognizing that the goal is to improve the quality of your code.

Community Engagement and Feedback

  • Offer constructive feedback on project features, documentation, and processes to help drive improvements and address areas of concern.
  • Review and provide feedback on contributions from new contributors to encourage participation and help them improve their contributions.

Bug Tracking and Issue Management

  • Monitor the project's issue tracker for existing bugs and feature requests before reporting new issues.
  • Respond promptly to comments and inquiries on reported issues, providing clarification, additional information, or acknowledgments as needed.

3 - Usage monitoring

Gain insights into repository usage with OSS Insight, the platform we use for tracking statistics and metrics. Stay informed about how your contributions impact the project's growth and engagement.

4 - Risks and Mitigation

Risk Identification

  • Recognizing potential risks related to your contributions is crucial as a contributor. Be aware of common pitfalls, such as accidentally committing secret tokens or sensitive information within your code. Other risks include misconfigurations of the CI pipeline that could expose the project to vulnerabilities. Identifying these issues early on helps you understand what to look for and prevent errors before they become problematic.

Risk Assessment

  • Evaluate the potential impact and likelihood of the risks you've identified. For instance, consider the consequences if secret tokens are exposed in public repositories—this could lead to unauthorized access and significant security breaches. Assess how your contributions could introduce such risks and understand the importance of each risk in the context of the overall project.

Risk Mitigation Planning

  • Develop and follow best practices to mitigate the risks associated with your contributions. Ensure that no sensitive data or secrets are included in your commits using tools like pre-commit hooks that scan for secrets or run pipelines that search for said secrets. Planning ahead and being vigilant can significantly reduce the likelihood of introducing vulnerabilities into the project.

Contributing Guidelines

Follow the step-by-step on how to contribute to our open-source projects.

Contributing Guidelines

Code Of Conduct

Please familiarize yourself with this organization Code of Conduct.

Code Of Conduct

Security

Check what to do in case you find some potential vulnerability on AI4REALNET OSS.

Security