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

chore: rm cliff config and update pr template #5929

Merged
merged 8 commits into from
Mar 6, 2024

Conversation

damiannolan
Copy link
Member

@damiannolan damiannolan commented Mar 6, 2024

Description

  • Removes the autochange log config with git cliff.
  • Updates the PR template to remove changelog entry section.
  • Updates task list in PR template.

Before we can merge this PR, please make sure that all the following items have been
checked off. If any of the checklist items are not applicable, please leave them but
write a little note why.

  • Targeted PR against the correct branch (see CONTRIBUTING.md).
  • Linked to Github issue with discussion and accepted design OR link to spec that describes this work.
  • Code follows the module structure standards and Go style guide.
  • Wrote unit and integration tests.
  • Updated relevant documentation (docs/) or specification (x/<module>/spec/).
  • Added relevant godoc comments.
  • Provide a commit message to be used for the changelog entry in the PR description for review.
  • Re-reviewed Files changed in the Github PR explorer.
  • Review Codecov Report in the comment section below once CI passes.

Summary by CodeRabbit

  • Chores
    • Updated guidelines for commit messages to emphasize conventional commits.
    • Provided references for commit message examples and standards.

Copy link
Contributor

coderabbitai bot commented Mar 6, 2024

Walkthrough

The change involves updating guidelines for commit messages in the ibc-go repository, emphasizing the use of conventional commits and providing references for commit message examples and standards.

Changes

File Path Change Summary
.github/PULL_REQUEST_TEMPLATE.md, Makefile Updated guidelines for commit messages to use conventional commits. Removed changelog target for changelog generation.

🐇💻✨
In the realm of code and commit,
A rabbit hopped, changing bit by bit.
"Farewell, changelog, we part ways," it said,
"Welcome, clear messages, ahead we tread."
🚀📝 Celebrating changes, small and neat,
Where techies gather, in the repository's heartbeat.
🌟🐾

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.
    • Open a follow-up GitHub issue for this discussion.
  • 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 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
Contributor

@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: 2

Configuration used: CodeRabbit UI

Commits Files that changed from the base of the PR and between 511236b and 31984a2.
Files ignored due to path filters (1)
  • cliff.toml is excluded by: !**/*.toml
Files selected for processing (2)
  • .github/PULL_REQUEST_TEMPLATE.md (2 hunks)
  • Makefile (1 hunks)
Files skipped from review due to trivial changes (1)
  • Makefile
Additional comments: 4
.github/PULL_REQUEST_TEMPLATE.md (4)
  • 15-17: The addition of a reference to the guidelines for commit messages is a positive change, ensuring contributors are aware of the expected format. This aligns with best practices for maintaining a clean and understandable commit history.
  • 38-46: > 📝 NOTE

This review was outside the diff hunks and was mapped to the diff hunk with the greatest overlap. Original lines [17-43]

The examples of conventional commit messages provided are helpful for guiding contributors on how to structure their commit messages. This section effectively communicates the repository's standards and expectations for commit messages, which is crucial for automated tools and readability.

  • 43-44: The instruction to provide a conventional commit message and the note about the discretion of including a changelog entry are clear and concise. This flexibility for chores and minor changes is sensible, reducing unnecessary noise in the changelog.
  • 42-42: The hint suggests "godoc" might be a spelling mistake, but in this context, it's correctly referring to Go's documentation tool. No change is needed here, but it's good to ensure technical terms are used accurately.

.github/PULL_REQUEST_TEMPLATE.md Outdated Show resolved Hide resolved
.github/PULL_REQUEST_TEMPLATE.md Outdated Show resolved Hide resolved
Copy link
Contributor

@DimitrisJim DimitrisJim left a comment

Choose a reason for hiding this comment

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

lgtm!

damiannolan and others added 2 commits March 6, 2024 11:33
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
Copy link
Contributor

@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: 1

Configuration used: CodeRabbit UI

Commits Files that changed from the base of the PR and between 31984a2 and 5320e1e.
Files selected for processing (1)
  • .github/PULL_REQUEST_TEMPLATE.md (2 hunks)
Additional comments: 4
.github/PULL_REQUEST_TEMPLATE.md (4)
  • 15-17: The addition of guidelines for commit messages and the emphasis on using conventional commits is a positive change. It helps standardize commit messages across the repository, making it easier to understand the history and purpose of changes.
  • 17-17: Providing example commit messages is helpful for contributors, especially those new to conventional commits. This section clearly demonstrates the expected format and types of changes that should be documented in commit messages.
  • 41-41: Updating documentation and adding relevant comments are crucial for maintaining the codebase. It's good to see these items included in the checklist, ensuring that contributions are well-documented and understandable.
  • 43-45: The requirement for a conventional commit message and the discretion given for changelog entries are sensible. However, it's important to ensure that significant changes are still documented in a changelog or release notes to keep users informed.

@@ -45,8 +38,9 @@ write a little note why.
- [ ] Linked to Github issue with discussion and accepted design OR link to spec that describes this work.
Copy link
Contributor

Choose a reason for hiding this comment

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

The official spelling of "GitHub" includes a capital "H". It's important to use the correct spelling for clarity and professionalism.

- Github
+ GitHub

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
- [ ] Linked to Github issue with discussion and accepted design OR link to spec that describes this work.
- [ ] Linked to GitHub issue with discussion and accepted design OR link to spec that describes this work.

Copy link
Contributor

@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: 1

Configuration used: CodeRabbit UI

Commits Files that changed from the base of the PR and between 5320e1e and 7a539c5.
Files selected for processing (1)
  • .github/PULL_REQUEST_TEMPLATE.md (2 hunks)
Additional comments: 3
.github/PULL_REQUEST_TEMPLATE.md (3)
  • 15-17: The addition of guidelines for commit messages, emphasizing the use of conventional commits, is a positive change. It helps standardize commit messages across the repository, making it easier to understand the history and purpose of changes. This aligns well with best practices in software development.
  • 43-43: Encouraging contributors to provide a conventional commit message for each PR is a good practice. It ensures consistency and clarity in the project's commit history. This guideline complements the earlier section on commit messages and reinforces the importance of adhering to conventional commits.
  • 44-44: The flexibility given to contributors regarding the inclusion of a changelog entry is thoughtful. It acknowledges that not all changes (e.g., chores) need to be documented in the changelog, allowing for discretion by PR reviewers. This can streamline the PR process for minor changes while ensuring significant updates are properly documented.

.github/PULL_REQUEST_TEMPLATE.md Outdated Show resolved Hide resolved
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
Copy link
Contributor

@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: 0

Configuration used: CodeRabbit UI

Commits Files that changed from the base of the PR and between 7a539c5 and d856bd3.
Files selected for processing (1)
  • .github/PULL_REQUEST_TEMPLATE.md (2 hunks)
Additional comments: 6
.github/PULL_REQUEST_TEMPLATE.md (6)
  • 15-17: The addition of guidelines for commit messages, referencing the repository's preference for conventional commits, is a positive change. It helps contributors understand the expected format and standards for commit messages, which can improve the quality and readability of the commit history.
  • 38-38: It's good practice to link to GitHub issues or design documents in PRs as it provides context and facilitates discussion. This checklist item reinforces the importance of transparency and collaboration in the development process.
  • 41-41: Encouraging contributors to write unit and integration tests is crucial for maintaining the quality and stability of the codebase. This checklist item ensures that testing is a priority in the contribution process.
  • 43-43: Reiterating the need for a conventional commit message in the checklist is a good practice. It ensures that contributors are reminded of this requirement right before submission, which can help maintain consistency in the repository's commit history.
  • 44-44: The flexibility provided by allowing the omission of changelog entries for chores is sensible. It acknowledges that not all changes are significant enough to warrant a changelog entry, which can help keep the changelog focused on meaningful updates.
  • 45-45: Encouraging contributors to re-review the Files changed section before submission is a good practice. It can help catch last-minute errors or omissions, improving the quality of the PR.

@damiannolan damiannolan merged commit 656f6f1 into main Mar 6, 2024
69 checks passed
@damiannolan damiannolan deleted the damian/pr-template-autochangelog-rm branch March 6, 2024 11:32
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.

4 participants