BT

InfoQ Homepage News BitBucket Introduces Support for Git V2 and Improved Search Functionality

BitBucket Introduces Support for Git V2 and Improved Search Functionality

Bookmarks

Atlassian has launched BitBucket server 5.13, bringing in support for Git v2 and also improving on the way repositories can be searched. This includes a new repository labels functionality, and the ability to find the corresponding pull requests for a commit.

Git v2 is a new wire protocol that was introduced in Git 2.18.0. The core advantage of it is various performance optimizations which speed up how quickly data can be fetched. It is particularly useful for CI / CD servers which frequently clone repositories from BitBucket and run builds.

One of the main ways these optimizations are achieved is through server-side filtering of references. Previously when performing a fetch, every single reference in the repository was sent to the client. This can become slow and problematic when dealing with repositories which have thousands of branches and tags.

The Git core team has published a blog explaining how this has been achieved in detail, and also published the full spec outline the protocol.

BitBucket also now allows you to label repositories. This aim is to help large organizations with many repositories more easily search through and organize them:

Repository labels offer a new way to search and discover the myriad of repositories you’ve yet to encounter. With up to five labels, you can identify a repo by language, framework, service type, and more. On-boarding a new developer? They’ll have an easier time finding related services as they learn repo and project names.

Another way Atlassian has tried to improve search in BitBucket is by displaying links from commits to the pull requests that they originated from. Providing this audit trail aims to help developers understand why a commit was approved and what its original purpose was.

The full release notes for BitBucket Server 5.13 can be read online.

 

Rate this Article

Adoption
Style

Hello stranger!

You need to Register an InfoQ account or or login to post comments. But there's so much more behind being registered.

Get the most out of the InfoQ experience.

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Community comments

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

BT

Is your profile up-to-date? Please take a moment to review and update.

Note: If updating/changing your email, a validation request will be sent

Company name:
Company role:
Company size:
Country/Zone:
State/Province/Region:
You will be sent an email to validate the new email address. This pop-up will close itself in a few moments.