Project

code_cache

0.0
No commit activity in last 3 years
No release in over 3 years
Provides a simple api for checking out svn and git repositories. Caches checkouts locally so that subsequent checkouts are optimised.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 3.3
 Project 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