Project

General

Profile

Actions

Patch #22337

closed

Ignore settings.yml in git/hg for cleaner repository updates

Added by Cy topia about 9 years ago. Updated about 9 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Code cleanup/refactoring
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:

Description

Linked from github: https://github.com/redmine/redmine/pull/77

I have renamed config/settings.yml to config/settings.yml.example and ignored config/settings.yml in .gitignore and .hgignore.

The main reason I would like to see this included in the repository is to be able to simply update redmine via git/hg.

As an example, I am using redmine-like-a-boss, which always includes redmine in the last stable version as a submodule. I want to be able to simply git checkout LATEST_TAG if a newer version is released and don't worry about that my settings.yml file will be overwritten by a pull.

I guess others will probably also want to use redmine update mechanisms via git pull or an equivalent for hg.

The only drawback of this pull request is that you might need to extend the redmine installation documentation with

cp config/settings.yml.example config/settings.yml

But afterwards, the update management will be easier.

Thanks


Files

ignore-settings.yml-git.diff (16.7 KB) ignore-settings.yml-git.diff Cy topia, 2016-03-29 13:10
Actions

Also available in: Atom PDF