-
Bug
-
Resolution: Unresolved
-
Medium
-
3
-
Severity 2 - Major
-
693
-
Issue Summary
According to our documentation, https://confluence.atlassian.com/bbkb/what-are-the-repository-and-file-size-limits-1167700604.html, the limit for downloading archive .zip files from the Downloads page of a repo is 2 GB.
The Downloads page offers options to download the source code of the repository at a certain branch.
Sometimes, the size of the .git repo is over 2 GB. However, the source code files (without the .git repo) have a size of less than 2 GB. The Downloads page reports as Size the size of the .git repo and the download is not possible with repo size over 2 GB, even if the size of the zip is less than 2 GB.
Steps to Reproduce
- Create a new Bitbucket Cloud repo with a .gitignore
- Create a new branch out of the repo's main branch, e.g. develop
- Commit and push some large files to develop branch, which will make the repo size go over 2 GB
- Go to the Downloads page of the repo and select the link Download repository
Expected Results
The link Download repository should download a zip of the source code in the repo's main branch (the main branch has only a .gitignore and the size is much less than 2GB).
Additionally, the size reported on that page before attempting to download should be the size of the zip file.
Actual Results
The user sees the following error message when selecting Download repository:
We can't finish that download
You can't download this repository because it's too large. Return to the downloads page or the repository overview.
Additionally, the size reported on that page before attempting to download, is the size of the .git repo.
The same error occurs when navigating to the tab Branches and attempting to download the zip for the main branch.
Workaround
Currently there is no known workaround for this behavior. A workaround will be added here when available