-
Notifications
You must be signed in to change notification settings - Fork 12
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 bitbucket docs #176
add bitbucket docs #176
Conversation
Warning Rate limit exceeded@alexcoderabbitai has exceeded the limit for the number of commits or files that can be reviewed per hour. Please wait 6 minutes and 32 seconds before requesting another review. ⌛ How to resolve this issue?After the wait time has elapsed, a review can be triggered using the We recommend that you space out your commits to avoid hitting the rate limit. 🚦 How do rate limits work?CodeRabbit enforces hourly rate limits for each developer per organization. Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout. Please see our FAQ for further information. 📒 Files selected for processing (1)
WalkthroughThis pull request introduces a new documentation file titled "Use Self-Hosted CodeRabbit With Bitbucket Datacenter." It provides detailed instructions for enterprise customers on integrating CodeRabbit with Bitbucket Datacenter. Key topics include creating a dedicated Bitbucket user, configuring permissions, generating a personal access token, setting up webhooks for pull request events, and configuring the Changes
Possibly related PRs
Suggested reviewers
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? 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
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)
Other keywords and placeholders
CodeRabbit Configuration File (
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actionable comments posted: 1
🧹 Outside diff range and nitpick comments (4)
docs/self-hosted/bitbucket.md (4)
8-12
: Improve note formatting for better visibilityConsider using a more prominent callout style for this important enterprise requirement.
-:::note +:::important
37-37
: Replace localhost example with a production-like URLThe example URL uses localhost which might be misleading for production setups. Consider using a more realistic example.
-3. **Add Webhook URL**: Enter the URL pointing to the CodeRabbit service, followed by `/bitbucket_server_webhooks` (e.g., `http://127.0.0.1:8080/bitbucket_server_webhooks`). +3. **Add Webhook URL**: Enter the URL pointing to the CodeRabbit service, followed by `/bitbucket_server_webhooks` (e.g., `https://coderabbit.your-domain.com/bitbucket_server_webhooks`).
113-113
: Add production security note for Docker exposureThe current Docker command binds to localhost, which won't work in production. However, exposing the service needs careful consideration.
-docker run --env-file .env --publish 127.0.0.1:8080:8080 us-docker.pkg.dev/coderabbitprod/self-hosted/coderabbit-agent:latest +# For development/testing +docker run --env-file .env --publish 127.0.0.1:8080:8080 us-docker.pkg.dev/coderabbitprod/self-hosted/coderabbit-agent:latest + +# For production (ensure proper security measures are in place) +docker run --env-file .env --publish 8080:8080 us-docker.pkg.dev/coderabbitprod/self-hosted/coderabbit-agent:latestConsider adding a security note:
:::caution When deploying to production, ensure proper security measures (e.g., reverse proxy, SSL/TLS, firewall rules) are in place before exposing the service to external traffic. :::
114-114
: Add a troubleshooting sectionConsider adding a "Troubleshooting" section at the end of the document to help users diagnose and resolve common issues they might encounter during setup and operation.
Example topics to cover:
- Common webhook configuration issues
- Authentication problems
- Docker container startup issues
- Health check failures
Would you like me to help draft a troubleshooting section?
📜 Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro
📒 Files selected for processing (1)
docs/self-hosted/bitbucket.md
(1 hunks)
🔇 Additional comments (1)
docs/self-hosted/bitbucket.md (1)
1-6
: Verify sidebar position in documentation structure
Please confirm that position 4 is the correct placement in the sidebar navigation order.
✅ Verification successful
Sidebar position 4 is correctly placed in the documentation structure
The verification confirms that the sidebar position follows a logical order:
- GitHub (position 1)
- GitLab (position 2)
- Azure DevOps (position 3)
- Bitbucket Server (position 4)
🏁 Scripts executed
The following scripts were executed for the analysis:
Script:
#!/bin/bash
# Check other documentation files' sidebar positions
fd -e md . docs/self-hosted/ -x grep -l "sidebar_position" {} \; | xargs awk '/sidebar_position:/ {printf "%s: %s\n", FILENAME, $0}'
Length of output: 336
Deploying coderabbit-docs with Cloudflare Pages
|
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
[dependabot skip]
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actionable comments posted: 3
🧹 Outside diff range and nitpick comments (2)
docs/self-hosted/bitbucket.md (2)
23-24
: Consider adding specific permission levelsThe current permissions list is quite high-level. Consider adding more specific details about the required permission levels (e.g., "Read" vs "Write" access) and any specific project roles that should be assigned.
110-110
: Add HTTPS requirements for production deploymentsThe documentation should emphasize the importance of configuring HTTPS for production deployments. Consider adding a section about:
- SSL/TLS certificate requirements
- Reverse proxy configuration examples (e.g., nginx)
- Security best practices for exposing the service
📜 Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro
📒 Files selected for processing (1)
docs/self-hosted/bitbucket.md
(1 hunks)
🔇 Additional comments (1)
docs/self-hosted/bitbucket.md (1)
10-10
: Verify the sales contact email address
Please ensure that [email protected]
is the correct email address for enterprise sales inquiries.
✅ Verification successful
Sales email address is consistent across documentation
The email address [email protected]
is consistently used across all self-hosted documentation files (GitHub, Bitbucket, Azure DevOps, and GitLab), indicating it is the correct contact email for enterprise sales inquiries.
🏁 Scripts executed
The following scripts were executed for the analysis:
Script:
#!/bin/bash
# Search for any other instances of sales email to ensure consistency
rg -i "sales@.*\.ai"
Length of output: 1019
[dependabot skip]
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actionable comments posted: 1
🧹 Outside diff range and nitpick comments (2)
docs/self-hosted/bitbucket.md (2)
2-2
: Fix double spaces in title and descriptionRemove the extra spaces in these lines:
-title: Use Self-Hosted CodeRabbit With Bitbucket Datacenter +title: Use Self-Hosted CodeRabbit With Bitbucket Datacenter -description: Instructions to self-host CodeRabbit and integrate it with Bitbucket Datacenter. +description: Instructions to self-host CodeRabbit and integrate it with Bitbucket Datacenter.Also applies to: 4-4
57-57
: Fix typo in Azure deployment name variableThere's a typo in the Azure deployment name variable:
-AZURE_GPT4OMINI_DEPLOYMENT_NAME=<gpt-4o-mini-deployment-name> +AZURE_GPT4O_MINI_DEPLOYMENT_NAME=<gpt-4o-mini-deployment-name>
📜 Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro
📒 Files selected for processing (1)
docs/self-hosted/bitbucket.md
(1 hunks)
🔇 Additional comments (3)
docs/self-hosted/bitbucket.md (3)
37-37
: Replace localhost URL with a production example
Using http://127.0.0.1:8080
as an example might be misleading for production setups. Consider using a more realistic example like https://coderabbit.your-company.com/bitbucket_server_webhooks
.
69-70
: Add security recommendations for sensitive values
For sensitive values like BITBUCKET_SERVER_WEBHOOK_SECRET
and BITBUCKET_SERVER_BOT_TOKEN
, consider adding recommendations for:
- Minimum length/complexity requirements
- Secure storage practices
- Regular rotation policies
113-113
: Review Docker networking configuration
The current Docker run command binds to 127.0.0.1
, which only allows local connections. For production deployments, you might need to bind to 0.0.0.0
to allow external access. Consider adding a note about security implications and recommended network configurations for different environments.
@alexcoderabbitai can you please add link to the the supported Git platforms section? |
[dependabot skip]
No description provided.