Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

repository-config file in Bitbucket repositories

Sofya January 30, 2018

When I take a look on my bitbucket repos on file system I see repository-config file with project name and repo name.

 

it's how I can find out connection between repo name and number. However not all of repos have this file. I'm curious why. Why sometimes file gets created when repo is created and why sometimes doesn't?

 

And how else I can find out connection between repo name and repo number without looking under each one repository setting?

 

Thank you

1 answer

0 votes
Deleted user July 24, 2018

I'm curious as well.  I have 2900 repositories, and of these, 6 do not contain repository-config files.

Looking at the directory l see that the 6 repositories that do not contain repository-config files were last modified PRIOR to 2017.  I'm thinking that the file might be created automatically by some version of Bitbucket, and if it does not exist, it is created when a push to the repository occurs.  Just a guess.

 

drwxr-x---. 7 git git 4096 Feb 10 2017 2337
drwxr-x---. 7 git git 4096 Jan 25 2016 1961
drwxr-x---. 9 git git 4096 Jul 31 2015 1580
drwxr-x---. 9 git git 4096 Jun 19 2015 1661
drwxr-x---. 9 git git 4096 Apr 3 2015 421
drwxr-x---. 9 git git 4096 Apr 3 2015 1397
drwxr-x---. 9 git git 4096 Oct 7 2014 180

 

 

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events