Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

How to find out the repository detail like date of creation and size

We are using Bitbucket 4.10.1.since last week its seen that bitbucket is aking up lots of huge space, we have many many repository and its difficult to look at individual repository size from Setting tab repository.so basically I am wondering if there is any way to find out the Repo size with date of creation as well. basically how to watch the changeset on Bitbucket repo?

Thankyou

2 answers

0 votes
Ana Retamal Atlassian Team May 22, 2017

Hi! You can find the size in the Settings page of the repository. As for the creation date you can not find it directly, but you can look for the date of the first commit, for example. You can see it by clicking on the Commit menu in the left hand side. 

Hope that helps,

Ana

Hello Ana,

 

I'd like to ask a similar question from another perspective. Let's say I am storing my repositories on bitbucket cloud. And made several updates on all my code files. Some could be committed to bitbucket cloud at a very late time after their creation dates. As you say I can see their commit dates but what if I want to see their actual create dates, I mean the code files' actual create dates. If I request bitbucket provides it or isn't there any chance to get the original file creation dates?

 

Thanks

Like MMmatt likes this

I'm looking for something similar. Is there some sort of audit log somewhere? maybe that also shows who pulled the code when... this is pretty important for private repos...

Like Lea Lytvynenko likes this

Hello Ana,

Thanks for the reply.as you said we can find it on the setting tab of repo, thats right we can get some details of repo over there but since the organization has many hundreds of repos, going through individual repo to find size is too much boring and time consuming so I was wondering if we have something like in command line to which can list all the repos with with its detail like 'ls' in linux.

-Thanks

Like # people like this

I have this same/simalr question. How can I find the total size of all my bitbucket repos together in a given team?

 

Any ideas? I'm looking through the API docs, but I'd rather not re-invent the wheel if I don't have to.

I'm looking for this same info: repo creation date and size, via REST query.

Any chance this will be provided in an upcoming version?

This is some basic info that should be available

It would be nice if you provide that REST query so that I can try with mine.

Meant to post this as a reply to prev thread, mistakenly posted as answer.

I'd love it if "created" and "size" was part of this REST query: https://docs.atlassian.com/bitbucket-server/rest/5.16.0/bitbucket-rest.html#idm8287366304 would be very helpful, to for example find and auto-clean empty repos (lots of ppl create an empty repo, then forget about it, and it stays empty forever)

Like Peter Schübel likes this

Note that currently you can kind-of get the creation date by going to the audit log of the repo... (`/plugins/servlet/audit-log/PROJECT/slug` IIUC), the earliest recorded action there is `RepositoryCreatedEvent`

But I don't see a programmatic way of doing that...

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Bitbucket

Powering DevOps with Bitbucket Server & Data Center

Hi everyone, The Cloud team recently announced 12 new DevOps features that help developers ship better code, faster   ! While we’re all excited about the new improvements to Bitbucket ...

1,849 views 0 7
Read article

Community Events

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

Find an event

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

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you