How do you find orphaned repositories in Stash?

Here is the scenario. I, the administrator, create a user. The user logs in and creates some repositories and only gives himself/herself access to said repositories.

The user is now fired and the administrator (actually the LDAP synchronization task) removes the user from Stash. How does the administrator find all of the repositories that the user created?

When I run this test, the repositories just seem to disappear. I have to know the names of the repositories to search for them and then I can add a new owner or delete them.

I work for a large organization and this scenario could lead to many orphaned repositories, because the administrator is not privy to every employee departure and certainly would not know what repositories were created by the user.

3 answers

I know I have orphaned repositories from failed repo creations in Stash.... I'd like to know this as well.

Larry,

I've got a similar concern. We currently have ~200 devs on Stash and will be scaling up ultimately to ~1000. I'm worried about two things:

  1. Orphaned repos from devs that leave.
  2. Devs that are consuming too much disk space with personal repos.

Mike

0 vote

Hi all,

Thanks for raising this. We've created an issue to address that specifically which ties back to a better proposition for managing Stash repos in Stash.

Please refer to https://jira.atlassian.com/browse/STASH-7265 for workaround on how to obtain a list of orphaned repositories as well as how to remove them using the Stash UI. Please feel free to add yourselves to the watchlist and leave comments .

Kind regards,
Thiago

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
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...

2,016 views 1 5
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