What's the difference between Crucible and Bitbucket Server? Do I need both?

お困りですか?

アトラシアン コミュニティをご利用ください。

コミュニティに質問

Bitbucket Server's pull request (i.e. code review) feature is structured in a way that supports workflows used by distributed source control systems, like Git. Requests are created when a developer asks to merge their working branch or fork back into the main code line (typically known as master). All the changes/commits residing in that working copy can then be reviewed by other developers on the same team. Once the review is complete, the code can then be merged.

This type of review differs from the Crucible code review model in that all changes in a particular branch are reviewed at one time. Instead of comparing one branch to another, Crucible allows the user to select only 1 branch and pick the changes/commits they would like to include in the review. This is the biggest difference between Crucible reviews and Bitbucket Server's pull requests.

If the pull request model doesn't meet your requirements for code review, then it is an option to continue to run Crucible on a local server. You can then point Crucible to your Git repositories stored in Bitbucket Server.

Code Review (Crucible) vs Pull Requests (Bitbucket)

プル リクエストCode Review (Crucible)
Allows you to merge code directlyIs "Read only." Merge has to be done manually
Review branches at easeReview patches, branches, commits, individual files or other remote repositories
Simpler to useHas more granular review features (Example: Due date, comment categories, time logging)
Review every commit or a single commit in a branch at onceSelect a range of commits to filter the review
Integration into Jira updates with code changesIntegration with JIRA for time logging
Works with GitWorks with git and other version control, such as subversion and P4 for example
Easy built-in ability to enforce workflows and policiesIs read only / indexes. It is possible to add webhooks into bitbucket to enforce review checks.

When to use Crucible over Pull Requests?

You can consider using Crucible if you meet any of the following:

  • Need to review multiple repos on one review
  • Not all code your reviewing is on Git
  • Your reviews are very large, and you need to break down commits to seperate reviews
  • Your teams do not use a feature branch workflow

For all other requirements other than the above, Pull Requests are the best option.

More details on how the Crucible workflow works can be found at The Crucible workflow

More details on how the Pull Request workflow works can be found at: Review and discuss a pull request

You can also find a video at Code Reviews vs. Pull Requests that explores these differences.


最終更新日 2019 年 7 月 23 日

この内容はお役に立ちましたか?

はい
いいえ
この記事についてのフィードバックを送信する
Powered by Confluence and Scroll Viewport.