Skip to content
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

add: pull_request_template.md #100

Merged
merged 1 commit into from
Jan 21, 2024
Merged

add: pull_request_template.md #100

merged 1 commit into from
Jan 21, 2024

Conversation

kazumatsudo
Copy link
Owner

@kazumatsudo kazumatsudo commented Jan 21, 2024

Summary by CodeRabbit

  • Documentation
    • Introduced a pull request template to streamline contribution and review processes.

@kazumatsudo kazumatsudo self-assigned this Jan 21, 2024
Copy link

coderabbitai bot commented Jan 21, 2024

Walkthrough

The project has introduced a standardized template for pull requests to streamline the contribution process. This template ensures that all necessary details are provided, aiding in the clarity and efficiency of code reviews and issue tracking.

Changes

File Change Summary
.github/pull_request_template.md Added a pull request template with sections for feature and bug descriptions, issue links, and a checklist.

Related issues

Poem

In the code garden, changes bloom,
Templates guide, as we make room.
For clarity's dance, in review's bright hall,
🎉 Here's to order, a gift to all! 🐇

Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?

Share

Tips

Chat

There are 3 ways to chat with CodeRabbit:

  • Review comments: Directly reply to a review comment made by CodeRabbit. Example:
    • I pushed a fix in commit <commit_id>.
    • Generate unit-tests for this file.
  • Files and specific lines of code (under the "Files changed" tab): Tag @coderabbitai in a new review comment at the desired location with your query. Examples:
    • @coderabbitai generate unit tests for this file.
    • @coderabbitai modularize this function.
  • PR comments: Tag @coderabbitai in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
    • @coderabbitai generate interesting stats about this repository from git and render them as a table.
    • @coderabbitai show all the console.log statements in this repository.
    • @coderabbitai read src/utils.ts and generate unit tests.
    • @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.

Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments.

CodeRabbit Commands (invoked as PR comments)

  • @coderabbitai pause to pause the reviews on a PR.
  • @coderabbitai resume to resume the paused reviews.
  • @coderabbitai review to trigger a review. This is useful when automatic reviews are disabled for the repository.
  • @coderabbitai resolve resolve all the CodeRabbit review comments.
  • @coderabbitai help to get help.

Additionally, you can add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.

CodeRabbit Configration File (.coderabbit.yaml)

  • You can programmatically configure CodeRabbit by adding a .coderabbit.yaml file to the root of your repository.
  • The JSON schema for the configuration file is available here.
  • If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: # yaml-language-server: $schema=https://coderabbit.ai/integrations/coderabbit-overrides.v2.json

CodeRabbit Discord Community

Join our Discord Community to get help, request features, and share feedback.

Copy link

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Review Status

Actionable comments generated: 4

Configuration used: CodeRabbit UI

Commits Files that changed from the base of the PR and between 47898cb and f9d406b.
Files selected for processing (1)
  • .github/pull_request_template.md (1 hunks)

Comment on lines +1 to +17
**description**
Please write down following.

- new feature
- why do you want to implement new feature.
- implementation summary how to realize new feature.
- bug fix
- the reason why the bug has occurred.
- implementation summary how to fix the bug.

**issues link**
If there is no issue about this PR, you may leave it blank.

**checklist**
- [ ] all test are passed.
- [ ] update the README.md when you add new features.
- [ ] If you would like, list your GitHub account in the [Contributors](https://github.com/kazumatsudo/GraphDB2RDB?tab=readme-ov-file#contributors).
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The PR template is clear and covers the essential aspects of a PR: new features, bug fixes, and issue linkage. However, the checklist could be expanded to include more items that ensure code quality and adherence to project standards.

Consider adding the following items to the checklist:

**checklist**
- [ ] all test are passed.
+ - [ ] Code has been peer-reviewed and approved.
+ - [ ] New code follows the project's coding standards.
+ - [ ] Any new dependencies have been audited for security vulnerabilities.
- [ ] update the README.md when you add new features.
- [ ] If you would like, list your GitHub account in the [Contributors](https://github.com/kazumatsudo/GraphDB2RDB?tab=readme-ov-file#contributors).
+ - [ ] All new and existing tests pass with no unexpected errors.
+ - [ ] Documentation has been updated or added for new code changes.
+ - [ ] This PR includes appropriate unit tests to cover the new or changed functionality.

Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation.

Suggested change
**description**
Please write down following.
- new feature
- why do you want to implement new feature.
- implementation summary how to realize new feature.
- bug fix
- the reason why the bug has occurred.
- implementation summary how to fix the bug.
**issues link**
If there is no issue about this PR, you may leave it blank.
**checklist**
- [ ] all test are passed.
- [ ] update the README.md when you add new features.
- [ ] If you would like, list your GitHub account in the [Contributors](https://github.com/kazumatsudo/GraphDB2RDB?tab=readme-ov-file#contributors).
**description**
Please write down following.
- new feature
- why do you want to implement new feature.
- implementation summary how to realize new feature.
- bug fix
- the reason why the bug has occurred.
- implementation summary how to fix the bug.
**issues link**
If there is no issue about this PR, you may leave it blank.
**checklist**
- [ ] all test are passed.
- [ ] Code has been peer-reviewed and approved.
- [ ] New code follows the project's coding standards.
- [ ] Any new dependencies have been audited for security vulnerabilities.
- [ ] update the README.md when you add new features.
- [ ] All new and existing tests pass with no unexpected errors.
- [ ] Documentation has been updated or added for new code changes.
- [ ] This PR includes appropriate unit tests to cover the new or changed functionality.
- [ ] If you would like, list your GitHub account in the [Contributors](https://github.com/kazumatsudo/GraphDB2RDB?tab=readme-ov-file#contributors).

Comment on lines +4 to +9
- new feature
- why do you want to implement new feature.
- implementation summary how to realize new feature.
- bug fix
- the reason why the bug has occurred.
- implementation summary how to fix the bug.
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The sections for new features and bug fixes are well-structured, but it might be beneficial to explicitly ask for the rationale behind the changes to understand the context better.

- new feature
+ - new feature or improvement
    - why do you want to implement new feature.
+   - What is the motivation or use case for the new feature or improvement?
    - implementation summary how to realize new feature.
- bug fix
+ - bug fix or issue resolution
    - the reason why the bug has occurred.
+   - What was the root cause of the bug and how was it identified?
    - implementation summary how to fix the bug.

Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation.

Suggested change
- new feature
- why do you want to implement new feature.
- implementation summary how to realize new feature.
- bug fix
- the reason why the bug has occurred.
- implementation summary how to fix the bug.
- new feature or improvement
- why do you want to implement new feature.
- What is the motivation or use case for the new feature or improvement?
- implementation summary how to realize new feature.
- bug fix or issue resolution
- the reason why the bug has occurred.
- What was the root cause of the bug and how was it identified?
- implementation summary how to fix the bug.


**checklist**
- [ ] all test are passed.
- [ ] update the README.md when you add new features.
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The checklist item regarding the README.md could be more specific to avoid ambiguity.

- [ ] update the README.md when you add new features.
+ [ ] Ensure the README.md is updated with details of new features, including usage examples and configuration changes if applicable.

Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation.

Suggested change
- [ ] update the README.md when you add new features.
[ ] Ensure the README.md is updated with details of new features, including usage examples and configuration changes if applicable.

**checklist**
- [ ] all test are passed.
- [ ] update the README.md when you add new features.
- [ ] If you would like, list your GitHub account in the [Contributors](https://github.com/kazumatsudo/GraphDB2RDB?tab=readme-ov-file#contributors).
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Consider adding a reminder for contributors to update the changelog and verify backward compatibility.

- [ ] If you would like, list your GitHub account in the [Contributors](https://github.com/kazumatsudo/GraphDB2RDB?tab=readme-ov-file#contributors).
+ [ ] If you would like, list your GitHub account in the [Contributors](https://github.com/kazumatsudo/GraphDB2RDB?tab=readme-ov-file#contributors).
+ [ ] Update the CHANGELOG.md with a summary of the changes for this release.
+ [ ] Verify that the changes maintain backward compatibility or document any breaking changes.

Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation.

Suggested change
- [ ] If you would like, list your GitHub account in the [Contributors](https://github.com/kazumatsudo/GraphDB2RDB?tab=readme-ov-file#contributors).
- [ ] If you would like, list your GitHub account in the [Contributors](https://github.com/kazumatsudo/GraphDB2RDB?tab=readme-ov-file#contributors).
+ [ ] Update the CHANGELOG.md with a summary of the changes for this release.
+ [ ] Verify that the changes maintain backward compatibility or document any breaking changes.

@codecov-commenter
Copy link

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (47898cb) 71.83% compared to head (f9d406b) 71.83%.

❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #100   +/-   ##
=======================================
  Coverage   71.83%   71.83%           
=======================================
  Files          20       20           
  Lines         348      348           
  Branches       37       37           
=======================================
  Hits          250      250           
  Misses         98       98           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@kazumatsudo kazumatsudo merged commit a8a040d into main Jan 21, 2024
1 check passed
@kazumatsudo kazumatsudo deleted the pull_request_template branch January 21, 2024 02:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants