Skip to content

text change in contributing.md#1490

Merged
shubham1g5 merged 2 commits intomasterfrom
pm_edit_contribute.md
Oct 6, 2025
Merged

text change in contributing.md#1490
shubham1g5 merged 2 commits intomasterfrom
pm_edit_contribute.md

Conversation

@pm-dimagi
Copy link
Copy Markdown
Contributor

@pm-dimagi pm-dimagi commented Jun 24, 2025

Product Description

Change in the Contributing file with the updated text to create duplicate PR

Technical Summary

Safety Assurance

Safety story

Automated test coverage

QA Plan

Special deploy instructions

  • This PR can be deployed after merge with no further considerations.

Rollback instructions

  • This PR can be reverted after deploy with no further considerations.

Review

  • The set of people pinged as reviewers is appropriate for the level of risk of the change.

Duplicate PR

Automatically duplicate this PR as defined in contributing.md.

Summary by CodeRabbit

  • Documentation
    • Clarified instructions for duplicating CommCare Android changes to Formplayer, specifying PR approval steps and updating the process for creating duplicate PRs.

@pm-dimagi pm-dimagi requested a review from shubham1g5 June 24, 2025 11:38
@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented Jun 24, 2025

Important

Review skipped

Auto incremental reviews are disabled on this repository.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Walkthrough

The contributing guidelines were updated to clarify the process for duplicating a CommCare Android change to Formplayer. The instructions now specify the PR approval process and revise the steps for creating and handling the duplicate PR, particularly regarding branch management and workflow triggers.

Changes

File(s) Change Summary
.github/contributing.md Clarified instructions for duplicating PRs to Formplayer, updated steps for PR approval and branch handling.

Poem

A bunny hops with careful cheer,
Updating docs so all is clear.
PRs now follow a smoother way,
With steps laid out for branch ballet.
Duplicate, comment, and checks anew—
The path is simple, thanks to you!
🐇✨

✨ Finishing Touches
🧪 Generate Unit Tests
  • Create PR with Unit Tests
  • Post Copyable Unit Tests in Comment
  • Commit Unit Tests in branch pm_edit_contribute.md

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ 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>, please review it.
    • Explain this complex logic.
    • 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 explain this code block.
    • @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 gather interesting stats about this repository and render them as a table. Additionally, render a pie chart showing the language distribution in the codebase.
    • @coderabbitai read src/utils.ts and explain its main purpose.
    • @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.
    • @coderabbitai help me debug CodeRabbit configuration file.

Support

Need help? Create a ticket on our support page for assistance with any issues or questions.

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 using PR comments)

  • @coderabbitai pause to pause the reviews on a PR.
  • @coderabbitai resume to resume the paused reviews.
  • @coderabbitai review to trigger an incremental review. This is useful when automatic reviews are disabled for the repository.
  • @coderabbitai full review to do a full review from scratch and review all the files again.
  • @coderabbitai summary to regenerate the summary of the PR.
  • @coderabbitai generate docstrings to generate docstrings for this PR.
  • @coderabbitai generate sequence diagram to generate a sequence diagram of the changes in this PR.
  • @coderabbitai auto-generate unit tests to generate unit tests for this PR.
  • @coderabbitai resolve resolve all the CodeRabbit review comments.
  • @coderabbitai configuration to show the current CodeRabbit configuration for the repository.
  • @coderabbitai help to get help.

Other keywords and placeholders

  • Add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.
  • Add @coderabbitai summary to generate the high-level summary at a specific location in the PR description.
  • Add @coderabbitai anywhere in the PR title to generate the title automatically.

CodeRabbit Configuration File (.coderabbit.yaml)

  • You can programmatically configure CodeRabbit by adding a .coderabbit.yaml file to the root of your repository.
  • Please see the configuration documentation for more information.
  • 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/schema.v2.json

Documentation and Community

  • Visit our Documentation for detailed information on how to use CodeRabbit.
  • Join our Discord Community to get help, request features, and share feedback.
  • Follow us on X/Twitter for updates and announcements.

Copy link
Copy Markdown

@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.

Actionable comments posted: 0

🧹 Nitpick comments (2)
.github/contributing.md (2)

24-24: Tighten wording and fix awkward phrasing

The instruction is clear but a bit wordy and contains a minor grammatical hiccup (“Get it approved and not merge it”). Consider streamlining for readability:

-1. If you are working on a CommCare Android change, you have to start by checking out `your_feature_branch` from `master` as the base branch. Make changes on `your_feature_branch` and create your original PR against `master` branch. Get it approved and not merge it.
+1. If you are working on a CommCare Android change, start by checking out `your_feature_branch` from `master` as the base branch. After making your changes, open a PR against the `master` branch, get it approved, but do not merge it.

26-26: Add missing comma and improve clarity

A comma after the introductory phrase (“For this”) improves flow, and the paragraph can be simplified. “Github” should also be capitalised.

-2. Now you will need to duplicate this PR by making another PR against `formplayer`. For this create the comment `duplicate this PR <starting-commit-id> <ending-commit-id>` of the `your_feature_branch`. The `ending-commit-id` should be the last non-merge commit in the PR. This should result in a Github Actions workflow duplicating your PR against `formplayer`. Go to the duplicate PR, close and re-open it to run the Github checks against it.
+2. Next, create a duplicate PR against the `formplayer` branch.  For this, add the comment `duplicate this PR <starting-commit-id> <ending-commit-id>` on the original `your_feature_branch` PR. The `ending-commit-id` should be the last non-merge commit in that PR.  This comment triggers a GitHub Actions workflow that opens the duplicate PR against `formplayer`.  After the duplicate PR appears, close and reopen it to kick off the GitHub checks.
📜 Review details

Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between ed5725c and 1c5607e.

📒 Files selected for processing (1)
  • .github/contributing.md (1 hunks)
🧰 Additional context used
🪛 LanguageTool
.github/contributing.md

[typographical] ~26-~26: Use a comma after an introductory phrase.
Context: ...making another PR against formplayer. For this create the comment `duplicate this PR <...

(COMMA_INTRODUCTORY_WORDS_PHRASES)

⏰ Context from checks skipped due to timeout of 90000ms (2)
  • GitHub Check: task-list-completed
  • GitHub Check: task-list-completed

Comment thread .github/contributing.md Outdated
##### Duplicating A CommCare Android change to Formplayer

1. If you are working on a CommCare Android change, you will want to start by checking out `your_feature_branch` from `master` as the base branch. Make changes on `your_feature_branch` and create your original PR against `master` branch.
1. If you are working on a CommCare Android change, you have to start by checking out `your_feature_branch` from `master` as the base branch. Make changes on `your_feature_branch` and create your original PR against `master` branch. Get it approved and not merge it.
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

not merge it -> do not merge it

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

We should add that it's fine to merge after the duplicate PR has been created somewhere below.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

@pm-dimagi pm-dimagi requested a review from shubham1g5 June 24, 2025 12:17
@shubham1g5
Copy link
Copy Markdown
Contributor

duplicate this PR 1c5607e 531db37

@shubham1g5 shubham1g5 merged commit 3d9fbec into master Oct 6, 2025
2 of 3 checks passed
@shubham1g5 shubham1g5 deleted the pm_edit_contribute.md branch October 6, 2025 13:36
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.

2 participants