Stash for IT operations Edited

My company has most of the Atlassian suite, mostly geared toward software development.  I work in IT operations, and I'm looking for a good way to organize our scripts.  We want the version control of Stash (Bitbucket now i guess), but since each script is small, they really don't warrant an individual repository.  Example of a script would be bash or powershell that does something like 'Create local users and do X'.  A few lines of code. 

Right now, i have a project for the whole department, with a repository for each subgroup.  This let's us submit code with git - but it isn't great for searching for a script.


Anyone on the ops side of the house that has some examples of how you are doing revision control?



1 answer

0 vote

Why not just put all the scripts together into a single repo, or a small set of repos? You'd be able to categorize better; it'd be easier for new teammates to find things; and it'd be easier to deploy updates as necessary.

That's what we are doing now, however you really can't search for anything other than the script name.  If you had 100 scripts in the same repo, being able to search within the script would make things alot easier.  Would be great if you could create directories like is possible in github.

What do you mean by categorize - maybe there is a feature we aren't yet using?

Thanks for the response

Hi Gaurav! You mentioned that "being able to search within the script would make things alot easier". At the moment that feature is not available, but we’re working on it and it'll be coming in the near future. I recommend you to watch ity-to-search-source-code-bb-39 for more information and updates :) Have a look at our official response at the top of all the comments. Hope this helps!

Have a good day,


Suggest an answer

Log in or Join to answer
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...

710 views 0 4
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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot