Name: code_cache
Owner: BBC
Description: VCS Operations with a cache for optimisation
Created: 2015-01-26 20:12:24.0
Updated: 2017-01-12 08:53:50.0
Pushed: 2016-11-24 15:28:38.0
Homepage: null
Size: 52
Language: Ruby
GitHub Committers
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
Version control checkout abstraction and cache.
repo = CodeCache.repo( repo_url )
begin
repo.checkout( :head, 'path/to/checkout' ) # checkout master
repo.checkout( :head, 'path/to/checkout', 'branch_name' ) # checkout specific branch
rescue => e
puts "Checkout failed"
end
Tests run against the github svn and git endpoints for this repository. Just run:
bundle
bundle exec rspec
Code Cache is available to everyone under the terms of the MIT open source licence. Take a look at the LICENSE file in the code.
Copyright (c) 2015 BBC