Skip to content
This repository has been archived by the owner on Nov 9, 2017. It is now read-only.

Commit

Permalink
Remove references to SVN.
Browse files Browse the repository at this point in the history
  • Loading branch information
grempe committed Oct 5, 2008
1 parent 9161334 commit b8e070e
Showing 1 changed file with 0 additions and 51 deletions.
51 changes: 0 additions & 51 deletions README_developers.txt
Expand Up @@ -15,13 +15,6 @@ If you want to learn more about how you can use GitHub to create your own fork o

http://railsontherun.com/2008/3/3/how-to-use-github-and-submit-a-patch

Authorization and SVN

We currently maintain a mirror of the Git master repo in an SVN repository on GoogleCode. We push commits from Git to SVN using the 'git svn dcommit' command. Code is never pulled from SVN to Git. The primary reason we maintain this mirror is because it allows us to use the standard rails './script/plugin install URL' tools to allow for easy end user installation of the plugin. When the newest version of Rails allows us to provide the same functionality by installing directly from a Git repo this SVN mirror may be discontinued.

You can browse the source code and get instructions for getting a copy of the repo in SVN form from:

http://code.google.com/p/rails-authorization-plugin/source/checkout

Testing

Expand All @@ -40,47 +33,3 @@ Submitting Patches
The recommended way to submit patches is to initiate a pull request from a Git fork @ GitHub.

However, we will also accept patches submitted on the Authorization Google Group, or by email.


PUSHING CHANGES TO GOOGLE CODE SVN:
- - - - - - - - - - - - - - - - - -
Pushing a read-only copy of the git repo master branch to the google code SVN repo.
--

Based on an article found at :
http://blog.nanorails.com/articles/2008/1/31/git-to-svn-read-only

Setup:

Clone a local copy of the git repo from GitHub:

'git clone git@github.com:DocSavage/rails-authorization-plugin.git'

cd rails-authorization-plugin

edit .git/config and add the following to the end:

--
[svn-remote "googlecode"]
url = https://rails-authorization-plugin.googlecode.com/svn/trunk
fetch = :refs/remotes/googlecode
--

run : 'git svn fetch'

run : 'git checkout -b local-svn googlecode'

run : 'git svn rebase'

run : 'git merge master'

run : 'git svn dcommit'


Now in the future as new changes are commit to master, do this to publish to GoogleCode:

$ git checkout local-svn
$ git merge master
$ git svn dcommit

And thats it!

0 comments on commit b8e070e

Please sign in to comment.