Project

General

Profile

Actions

Refactor #96

closed

config/settings.yaml should not be under git control

Added by Martin Englund over 14 years ago. Updated over 13 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
-
Target version:
-
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

It is a host specific file which shouldn't be touched when you pull new changes.

Instead it should be distributed as config/settings.yaml.example


Related issues 1 (0 open1 closed)

Is duplicate of Foreman - Refactor #343: settings file should not be under version controlClosed07/06/2010Actions
Actions #1

Updated by Ohad Levy over 14 years ago

do you know of a way of removing it from git but not removing the file (for the people who do git pull?)

Actions #2

Updated by Martin Englund over 14 years ago

  • Assignee set to Ohad Levy

just run

git mv config/settings.yaml config/settings.yaml.example

Actions #3

Updated by Ohad Levy over 14 years ago

Martin Englund wrote:

just run
[...]

what about the people who already use it? :-\

Actions #4

Updated by Martin Englund over 14 years ago

I think you have to put in the release notes to re-create the settings.yaml file, as there is no way to ungit a file and still leave it (as far as I know, but I'm not a git expert, nor do I play one on TV)

Actions #5

Updated by Martin Englund over 14 years ago

btw, database.yml should also not be under git control

Actions #6

Updated by Ohad Levy over 13 years ago

  • Status changed from New to Closed
Actions

Also available in: Atom PDF