is there an easy way to report empty repositories in stash? We've got a lot of repositories in stash, but some of them are empty (there was never anything pushed to it).
I can do a query on filesize per project, but that's very expensive and causes a really high load on the stash server.
Is there some thing more lightweight to report all empty repositories in stash?
ended up writing a script via rest api to get all the repository sizes. takes a long time, and puts a heavy load on the server, but I don't see any other way.
That's double on what we have. So far, I know no Stash plugin that can give you this data. You can view all the Stash Project/Repo details in the Stash GUI (Admin >> Atlassian Support Tools >> System Information) but it will also take time.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
around 5000 repositories
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Doing a directory check in the Stash server is not that resource extensive, how many repositories do you have in data/repositories?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.