Does Bitbucket support versioning for binary files?

I wanted to know if Bitbucket has the capability to do versioning for binary files such as EAR, WAR etc?

1 answer

0 vote

Anything committed to a repository, whether binary or text, or through git or hg, is versioned. However, binary files are much more likely to fill the repository unless you use something like LFS.

What are you trying to do?

Hello James,

Thank you for your time.

My users for Bitbucket tool have claimed that versioning for EAR and WAR files were not version controlled or neither than can be used for diff using Bitbucket or source tree. Later we found that version control is not supported in Bitbucket.

Could you please confirm if the above understanding is correct?

 

Thanks!

No, it is incorrect.  Your users are wrong.

Bitbucket will version control anything you give it. It really doesn't care what the size or content is, it will version it.  (Although, with large files, you need to make allowances for LFS)

However, it does not do all type of binary diffs.

Thank you Nic for your response. Yes, that is where the understanding was initially I wanted to explain that EAR and WAR files were not enabled for binary diffs., However we were able to check in OPT or Pub files into Bibucket.

Will it be possible to add me a link where I can read through the products limitations on this regard on exactly what type of files are version controlled and could run a binary diffs?

 

Thanks!

There's no doc for "limitations" because Bitbucket does not limit what you version control.

Thank you Nic, can you please explain what you meant by "However, it does not do all type of binary diffs."

 

Thanks!

It relies on git to do the comparisons, so it depends on what git supports.

Here's an example: https://community.atlassian.com/t5/Bitbucket-questions/File-comparison-displays-the-message-quot-This-file-cannot-be/qaq-p/424531

Thank you for the answers!

Suggest an answer

Log in or Join to answer
Community showcase
Piotr Plewa
Published Dec 27, 2017 in Bitbucket

Recipe: Deploying AWS Lambda functions with Bitbucket Pipelines

Bitbucket Pipelines helps me manage and automate a number of serverless deployments to AWS Lambda and this is how I do it. I'm building Node.js Lambda functions using node-lambda&nbsp...

706 views 0 4
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot