bbc/code_cache

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

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

code_cache

Version control checkout abstraction and cache.

Usage
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
Testing

Tests run against the github svn and git endpoints for this repository. Just run:

bundle
bundle exec rspec
License

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


This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.