![]() ![]() ![]()
Sudo apt-get install oracle-java7-installerĬreate an install folder, download the Stash installation files (obviously change the version number for that which you wish to download) and extract the download. Sudo add-apt-repository ppa:webupd8team/java The below is the easiest way I found to do this. The version of Perl should be 5.8.8 or higher. (Note that out of the box RedHat / Centos currently do not include a version of Git that supports Stash.)Ĭheck the version of Java and install if necessary. The version of Java should be 1.6.0 or higher. The version of Git should be 1.7.6 or higher. sudo apt-get install git-coreĬheck the versions of Git and Perl. The below command will install Git and any dependencies. Setting Up Stash I have a 1 vCPU, 1GB Ubuntu VM, installed with the Minimal Server option. GitHub has private repositories for this, but they start at $7 a month, so this approach with a home hosted Stash does me fine for now. #SOURCETREE STASH NEW FILES CODE#While I share a lot of my code via this blog and possibly via GitHub in the future, there are some commercial and other reasons why I’m not able to share everything. If you are thinking “why not use GitHub?”, there are reasons for this. It’s possibly overkill for my current needs, but I have worked on shared code projects in the past and it could be useful to have an easy way to do this in the future. Stash I discovered Stash via a previous customer and found it to be a very useful and easy to use add-on to manage Git repositories. #SOURCETREE STASH NEW FILES LICENSE#A Linux VM in my homelab to run Git and Atlassian Stash for version control – $10 for a 10 user license (free to try out for 30 days).This means I can get access to my functions pretty much wherever I am and whether I am using my own or a customer machine. A Dropbox account to sync the code between different machines, be available to download via a web browser and also store the code outside of my home lab.So I’m going to run your through the system I have found that works for me. track changes via version control, useful even if you are not working in a team developing code together – mostly so I can remember how or why I changed something □.be easily available depending on where I am working.However, once these number in the hundreds how do you manage them effectively? I need them to: As a consultant this enables me to build up a toolkit of functions for particular scenarios gained over various different experiences and use them in a modular fashion where needed for each particular project. This allows me to make very generic code for granular tasks, typically either to plug a gap missing from the out-of-the-box cmdlets or maybe stringing a few of them together. In this presentation I demonstrated how my PowerShell code is typically broken down into functions and then placed into modules. Sometimes I’m asked how I manage my own (PowerShell) code, in terms of version control, backups, portability etc. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |