Project

General

Profile

Refactor #1624

Add database.yml to .gitignore

Added by Brian Gupta over 7 years ago. Updated over 7 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Packaging
Target version:
Difficulty:
trivial
Triaged:
No
Bugzilla link:
Pull request:
Team Backlog:
Fixed in Releases:
Found in Releases:

Description

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

Associated revisions

Revision 7c7ddfe0 (diff)
Added by Brian Gupta over 7 years 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

#1 Updated by D. Johnson over 7 years 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).

#2 Updated by Brian Gupta over 7 years ago

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

Also available in: Atom PDF