Refactor #1624

Add database.yml to .gitignore

Added by Brian Gupta about 1 year ago. Updated about 1 year ago.

Status:Closed Start:05/15/2012
Priority:Normal Due date:
Assigned to:Brian Gupta % Done:

100%

Category:Packaging
Target version:1.0
Backlog:No Difficulity:trivial
Votes: 0

Description

Since this is largely customized per site after install, it should not be tracked in Git after the initial checkout.

Associated revisions

Revision 7c7ddfe0a7a2e688bc9c4d53689ae9884bb65432
Added by Brian Gupta about 1 year ago

fixes #1624 - Moved database.yml to database.yml.example

keeping the database configuration file within the repo is not needed,
therefore, we moved it to an example config file, and added the
database.yml to a to .gitignore

NOTE: this would break you installation, as you would need to:

cp config/database.yml.example config/database.yml

History

Updated by D. Johnson about 1 year ago

I would rather see a sample file in the git repo that can update along with whatever is needed or becomes default in future versions than to track actual user-config file in git.

Setup is trivial, ex: "cp database.yml.sample database.yml" and edit to fit (which they would have to do regardless).

Updated by Brian Gupta about 1 year ago

  • Status changed from New to Closed
  • % Done changed from 0 to 100

Also available in: Atom PDF