No commit activity in last 3 years
No release in over 3 years
Rails generator for svn ignore rake tasks
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
 Dependencies
 Project Readme

SVN_Ignore_Rails Rake Task¶ ↑

DESCRIPTION:¶ ↑

Sensible SVN file removal/ignore from a Rails app

svn_ignore_rails is a simple rails generator that puts a rake task in your app that allows you to remove and ignore files from your rails app that shouldn’t be in your repository.

FEATURES:¶ ↑

  • Doesn’t delete any files, just removes them from the repository (uses the –keep-local option)

  • Doesn’t delete any directories, but recurses into them, ignoring files if appropriate

  • Commits along the way so you can revert back to a particular step if necessary

  • Has command-line options for verbose and simulation

  • Do a ‘rake -T svn’ to see what all it does

INSTALL:¶ ↑

  • Run (sudo if necessary): gem install git://github.com/pol-svn_ignore_rails.git

  • Run (in your rails app): script/generate svn_ignore_rails

USAGE:¶ ↑

All operations should be performed within the the root of the rails app. It is expected that the app is entirely checked into SVN, at the very least, the repository is set. Running ‘svn update’ from the root of the app should work.

Run a simulation: $ rake svn:setup OPTIONS=‘simulation’

Run a verbose simulation: $ rake svn:setup OPTIONS=‘simulation,verbose’

Run just the config/ removals $ rake svn:remove_config

Run the whole set of tasks $ rake svn:setup

See the rake file for more information.