Dear All,
Trust you are doing well.
Problem statement:
We have a repository associated with ex-employee workspace name which is non-standard.
We want to move it to customer/project specific workspace. In this scenario, we want to make sure no branches, history loss while copying/transfer/importing repository from source to target workspace. We want understand any risks involved during this process.
Common Risks:
1) bitbucket URL will be changed
2) User groups and members won't be available in the target workspace
I have below options in my mind at this moment from bitbucket documentation.
1) Transfer repository ownership:
From this document, on high-level understand that it provides the steps to transfer the repository ownership from one workspace to another workspace.
a) Is there any risks involved in this process such as history commit loss?
b) Target workspace have all the admin access if the repository transferred from source workspace?
c) Source workspace have no more access to repository after transfer accept by the target workspace owner?
d) All the history and branches with commits will be moved to new/target workspace?
e) The target workspace repository members can able to see the history commits as the old users who committed the code are no more available in the workspace?
2) Copy the repository from source workspace to target workspace:
a) Is there a way to copy the entire repository from source workspace to target workspace without any data loss?
b) Can I get the process for the same?
c) Any risks involved in this process except from common risks?
3) Import repository from one workspace to another workspace:
a) Is this process import all code base with branches and history from source workspace to target workspace?
b) Is there any risks if followed this process?
Please advise and appreciate if any thoughts.
Thanks
Harsha