-
Notifications
You must be signed in to change notification settings - Fork 63
Updated README.md File for Communication Module #40
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
Closed
Tejveerpratap2803
wants to merge
6
commits into
eclipse-score:main
from
Tejveerpratap2803:updated-readme
Closed
Changes from 3 commits
Commits
Show all changes
6 commits
Select commit
Hold shift + click to select a range
2f7f1a5
Updated README.md File for Communication Module
Tejveerpratap2803 36498be
updated README and added CONTRIBUTING.md and SVG for intra-ECU comm…
Tejveerpratap2803 95a3874
Merge remote-tracking branch 'upstream/main' into updated-readme
Tejveerpratap2803 02254e0
Merge remote-tracking branch 'upstream/main' into updated-readme
Tejveerpratap2803 87576a2
Merge branch 'eclipse-score:main' into updated-readme
Tejveerpratap2803 926b0ff
Added PUML diagram and modified project structure
Tejveerpratap2803 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,101 @@ | ||
| # Contributing to the Communication Module | ||
|
|
||
| Thank you for your interest in contributing to the Communication Module of the Eclipse SCORE project! This guide will walk you through the necessary steps to get started with development, adhere to our standards, and successfully submit your contributions. | ||
Tejveerpratap2803 marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
|
|
||
| ## Eclipse Contributor Agreement (ECA) | ||
|
|
||
| Before making any contributions, **you must sign the Eclipse Contributor Agreement (ECA)**. This is a mandatory requirement for all contributors to Eclipse projects. | ||
|
|
||
| Sign the ECA here: https://www.eclipse.org/legal/ECA.php | ||
|
|
||
| Pull requests from contributors who have not signed the ECA **will not be accepted**. | ||
|
|
||
| ## Contribution Workflow | ||
|
|
||
| To ensure a smooth contribution process, please follow the steps below: | ||
|
|
||
| 1. **Fork** the repository to your GitHub account. | ||
| 2. **Create a feature branch** from your fork: | ||
| ```bash | ||
| git checkout -b feature/your-feature-name | ||
| ``` | ||
| 3. **Write clean and modular code**, adhering to: | ||
| - **C++17 standard** | ||
| - **Google C++ Style Guide** | ||
| 4. **Add tests** for any new functionality. | ||
| 5. **Ensure all tests pass** before submitting: | ||
| ```bash | ||
| bazel test //... | ||
| ``` | ||
| 6. **Open a Pull Request** from your feature branch to the `main` branch of the upstream repository. | ||
| - Provide a clear title and description of your changes. | ||
| - Reference any related issues. | ||
|
|
||
| ## Development Setup | ||
|
|
||
| To build and test the Communication Module, follow the steps below from the project root: | ||
|
|
||
| ```bash | ||
| # Display project-specific help | ||
| bazel run //:help | ||
|
|
||
| # Build all targets | ||
| bazel build //... | ||
|
|
||
| # Run all tests | ||
| bazel test //... | ||
| ``` | ||
|
|
||
| Ensure you have Bazel and required tools installed as per project documentation. | ||
|
|
||
| ## Code Formatting and Linting | ||
|
|
||
| Maintain consistency and code quality using the following tools: | ||
|
|
||
| ### Format Code | ||
| ```bash | ||
| clang-format -i $(find . -name "*.cpp" -o -name "*.h") | ||
| ``` | ||
|
|
||
| Or use Bazel format targets: | ||
| ```bash | ||
| bazel test //:format.check # Check formatting | ||
| bazel run //:format.fix # Auto-fix formatting | ||
| ``` | ||
|
|
||
| ### Lint Code (Static Analysis) | ||
| ```bash | ||
| bazel build //... --config=clang-tidy | ||
| ``` | ||
|
|
||
| ## Testing | ||
|
|
||
| The Communication Module includes extensive tests. Use the following commands: | ||
|
|
||
| ### Run All Tests | ||
| ```bash | ||
| bazel test //... | ||
| ``` | ||
|
|
||
| ### Run Specific Test Suites | ||
| ```bash | ||
| bazel test //score/mw/com/impl:all | ||
| bazel test //score/mw/com/message_passing:all | ||
| ``` | ||
|
|
||
| ### Run with Coverage | ||
| ```bash | ||
| bazel coverage //... | ||
| ``` | ||
|
|
||
| ### Test Categories | ||
| - **Unit Tests**: Component-level testing | ||
| - **Integration Tests**: Cross-component interactions | ||
| - **Performance Tests**: Latency and throughput benchmarks | ||
| - **Safety Tests**: ASIL-B compliance verification | ||
|
|
||
| ## Additional Resources | ||
|
|
||
| For project details, documentation, and support resources, please refer to the main [README.md](README.md). | ||
|
|
||
| **Thank you for contributing to the Eclipse SCORE Communication Module!** | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.