Changing policy

Currently the policies are stored at http://github.com/Growstuff/policy. This separate repository makes it easy for members to track any changes to the ToS and other policies without having to understand any code.

However, in order to make Growstuff configurable for anyone who wants to re-use our code, we need to make the email addresses and site name in the policies configurable. We don't want to get email that's meant to go to sister sites.

Proposed method of handling this
Use git subtree to manage including the policy repository history within Growstuff codebase. This will allow us to change policies easily.

In order to move future changes that have been committed in the policy repo into the main repo, first make sure you have added the policy repo as a remote to your code repo, then: git fetch policy git subtree merge --prefix app/views/policy policy/master git push origin policychangebranchname

Git subtree is currently only available in git version 1.7.11 or later. If you have an earlier version of git, grab it from https://github.com/apenwarr/git-subtree/blob/master/git-subtree.txt (wget https://raw.github.com/apenwarr/git-subtree/master/git-subtree.sh) and save it in /usr/lib/git-core or somewhere on your path with 755 permissions and without any suffix on the filename. For example: cd /usr/lib/git-core/ sudo wget https://raw.github.com/apenwarr/git-subtree/master/git-subtree.sh sudo mv git-subtree.sh git-subtree sudo chmod 755 git-subtree

Note, only those who are changing policy will need to do this - all other coders can continue to work as normal, even with old versions of git, and will not be affected.