The Inner Guts of Bitbucket

By on August 11, 2014

Recently our teammate and Bitbucket engineer Erik Van Zijst had the opportunity to present at Euro Python 2014 in Berlin. Check out this video of his session on the Inner Guts of Bitbucket and get a detailed overview of our current architecture at all layers from Gunicorn and Django to Celery and HAProxy to NFS.

In addition to the inside scoop into Bitbucket’s inner workings, this video covers some war stories and shows how we too have to learn things the hard way sometimes.

Scheduled downtime for database maintenance

By on June 11, 2014

In the last few days, Bitbucket experienced intermittent database issues which caused the site to become unavailable for several minutes at a time. These outages are far beyond what we consider acceptable as a service provider, and we sincerely apologize for any inconvenience this caused.

We continue to investigate these database issues and our goal is to resolve these issues permanently as soon as possible. As part of our on-going investigation we will be be making Bitbucket unavailable for up to four hours starting Saturday, June 14, 2014 at 10:00:00 Pacific to make database configuration changes and upgrades.

Please subscribe to http://status.bitbucket.org to receive instant updates via email, SMS or RSS as we progress through the downtime. Thank you for your patience as we work to increase Bitbucket’s performance and reliability. Please contact us support@bitbucket.org if you have any questions or concerns.

Repository size limits

By on May 30, 2014

In order to improve and maintain the overall performance for everyone who uses Bitbucket, we are rolling out size limits on newly-created repositories. Starting today, repository size limits will be:

If you already have a repository that is larger than the 2GB limit, your repository has been grandfathered so you won’t have any issues. Should you find your new repository approaching the 1GB soft limit, check out our documentation on how to reduce repository sizes or our blog “How to handle big repositories”.

Of course, Bitbucket still offers unlimited private repositories free for five users!

Introducing the new fluid width Bitbucket

By on May 20, 2014

fluid-width-bitbucket

The more code you can see on your screen, the easier it is to work with it. That’s why we broke away from our traditional fixed-width pages, and redesigned every page on Bitbucket to expand to the full width of your screen, as wide as your browser will allow.

See more of your code

side-by-side-diff

When you’re in the zone, having to scroll horizontally to see all your work can really break your focus. Bitbucket’s new expansion capability makes it easier to view source, conduct code reviews, or edit files. Other pages, such as the listing of all your open pull requests, are now much easier to read now as well.

Sidebar based navigation

To reduce scrolling even more, we moved the navigation and action links from the top of the page into a collapsible bar on the left side. Using Bitbucket’s keyboard shortcuts, the sidebar can be expanded or collapsed simply by pressing “[“.

sidebar

Whether expanded or collapsed, the bar is anchored to the side of your repositories, giving you instant access to common actions like creating a pull request – even when you’ve scrolled waist-deep into a diff.

Dead simple READMEs

READMEs are a great way to make your project more attractive, and jumpstart other devs who want to pitch in. So we felt they deserve some special treatment.

create-a-readme

If your project doesn’t already have a README, we’ve made it brain-dead simple to get one started. Just use Bitbucket’s online code editing features, and a template that includes suggestions for key repository details such as installation or configuration instructions, contact information, license information, and acknowledgements.

online-editing

For repositories that already have a README, we’ve added a direct link to our online editor so it’s easy to keep your project details up to date. By default, READMEs will be created in Markdown. But if you’ve got an ASCII or reStructured file, that’ll work fine too.

Dashboard insight

Most of us have an ever-growing set of repos, and finding the one you need to work with can be a pain. The redesigned dashboard now features your repositories front and center, with the most recently active repos at the top. And the same quick search and filters are still there, making it extra easy to find repos you own or watch.

dashboard

To make accessing the dashboard lightening-fast, we’ve added shortcut links to the global header so you can jump there from any page on Bitbucket. We’ve also moved the activity feed to the right side with a high-level overview of what’s taking place across all the repositories your team is working on. 

Try Git out for free

Join the growing number of teams that host their code on Bitbucket, and stay more connected with unlimited private repositories free for five users. Or if you want to run Git on your own servers, check out Stash, our on-premises source code management for Git – it’s secure, fast, and enterprise grade. 

signup-free

or

Help spread the message on Twitter

We’re migrating repositories to new hardware

By on April 22, 2014

Starting today, we will be migrating all repositories to a new storage system which will allow us to improve the service and reliability of Bitbucket.

Over the next weeks, you can expect the following:

Due to the nature of the migration, we are unable to provide specific timelines for when individual repos will be affected. However, we expect no more than a 10 minute disruption when your repository will be placed in read-only mode.

Thank you all for your patience and support! We are working hard to constantly build a better Bitbucket.

If you have any other questions or concerns, please come to support@bitbucket.org.

Bitbucket now auto-updates pull requests

By on

Starting today your pull requests will always have the most recent and relevant code, and your reviews will be more efficient. With automatic updates, pushing to a branch with an open pull request will automatically include those commits in the open pull request. This way your reviewers will always see the most recent changes to the branch in the pull request.

Pull request screenshot

The most important thing about a pull request is the discussion that it generates: As you get feedback from other developers about changes or improvements that should be made, you’ll be generating new commits which should be part of your review. Now you’ll automatically see those commits in the pull request with no extra steps.

More best practices for your team

Everywhere, teams are making the switch from Subversion to Git. If you’re new to Git and want to learn more, check out Atlassian Git Essentials, our solution to implementing best practices with Git for your development team.

Create a free account

All Heartbleed upgrades are now complete

By on April 9, 2014

Heartbleed

We have now completed all changes necessary to secure Bitbucket from security vulnerabilities related to the Heartbleed bug. Changes made to Bitbucket include;

As a result of us removing the sessions related to authentication cookies, all users have been forced to re-authenticate when using bitbucket.org from a browser. We are also recommending, but not enforcing, that all users change their passwords.

Bitbucket’s SSL certificates are changing

By on April 8, 2014

On April 9th at 01:30 UTC, we’ll be updating our SSL certificates as a response to the Heartbleed bug. This change is the final step in ensuring that our systems are not vulnerable. We apologize for the short notice.

It’s likely that you won’t notice any changes and won’t need to take any action. However, if you’re using Mercurial over HTTPS, you may see this error message:

abort: certificate for bitbucket.org has unexpected fingerprint
45:AD:AE:1A:CF:0E:73:47:06:07:E0:88:F5:CC:10:E5:FA:1C:F7:99
(check hostfingerprint configuration)

If you see this error, you’ll need to update the host fingerprint for bitbucket.org in your ~/.hgrc or Mercurial.ini configuration file:

[hostfingerprints]
bitbucket.org = 45:AD:AE:1A:CF:0E:73:47:06:07:E0:88:F5:CC:10:E5:FA:1C:F7:99

Thanks, and happy forking!

Say hello to SourceTree for Windows 1.5

By on April 7, 2014

With SourceTree 1.4.0 for Windows released just a few weeks ago, we’re excited to announce that 1.5.0 is ready to go. We’ve been steadily playing catchup with the Mac version and we’re happy to ship some highly requested features.

Download SourceTree for Windows

Interactive rebase

The interactive rebase feature is now available on SourceTree for Windows. Need to mess with your local commits before you go and push them? Go ahead! To use this feature you can either click the Repository menu and hit Interactive rebase to rebase from your last upstream commit, or right-click on a commit in the log and go to Rebase children of <sha> interactively.

Interactive rebase

Subtree

A more flexible option to Git’s submodules, subtree allows you to carry out a whole host of tasks when including other repositories into your own repository. You can pull down changes, or even commit and push changes to an unrelated repository. Like submodules, you can add a subtree either from the sidebar or from the Repository menu.

Subtrees

Tab reordering

Keeping your tabs organized is an absolute must when dealing with a lot of repositories. To help with that you can now reorder your tabs; Just drag and drop them to wherever you want.

Tab reordering

Get SourceTree for Windows or Mac

Grab the latest version from sourcetreeapp.com!

Database Maintenance

By on March 20, 2014

We will be performing maintenance for 30 min on Saturday, March 22, 2014 at 20:00:00 UTC. We will  be applying new configuration settings to our database.