Skip to content

Rename gitea/conf/app.ini to app.ini.example #1432

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
cez81 opened this issue Apr 1, 2017 · 8 comments
Closed

Rename gitea/conf/app.ini to app.ini.example #1432

cez81 opened this issue Apr 1, 2017 · 8 comments
Labels
type/proposal The new feature has not been accepted yet but needs to be discussed first.
Milestone

Comments

@cez81
Copy link
Contributor

cez81 commented Apr 1, 2017

The app.ini found in gitea/conf is not an active configuration file. To save the confusion it might be a good idea to rename it to app.ini.example.

@tboerger
Copy link
Member

tboerger commented Apr 1, 2017

Why is it confusing? It's even not shipped with the binary.

@andreynering
Copy link
Contributor

@tboerger Many people compile from source. I actually liked the idea. Alternatively could be an "example" folder.

@lunny lunny added type/question Issue needs no code to be fixed, only a description on how to fix it yourself. type/proposal The new feature has not been accepted yet but needs to be discussed first. and removed type/question Issue needs no code to be fixed, only a description on how to fix it yourself. labels Apr 2, 2017
@strk
Copy link
Member

strk commented Apr 2, 2017 via email

@cez81
Copy link
Contributor Author

cez81 commented Apr 2, 2017

Yes, that's what I thought but if I have understood it correctly all defaults are loaded from modules/setting/setting.go. Only reference that I can find is in gogs_migration.sh

In Gogs it works like you have described it.

@strk
Copy link
Member

strk commented Apr 2, 2017 via email

@cez81
Copy link
Contributor Author

cez81 commented Apr 2, 2017

Good point. Renaming the folder and explaining the purpose of the file might be a better idea.

@bkcsoft
Copy link
Member

bkcsoft commented Apr 18, 2017

You have my 👍 on changing the name of the file/folder

@tboerger We still have to consider people that don't install from binary 😉

@cez81
Copy link
Contributor Author

cez81 commented Nov 26, 2017

Closed by #1522

@cez81 cez81 closed this as completed Nov 26, 2017
@lunny lunny added this to the 1.4.0 milestone Nov 26, 2017
@go-gitea go-gitea locked and limited conversation to collaborators Nov 23, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
type/proposal The new feature has not been accepted yet but needs to be discussed first.
Projects
None yet
Development

No branches or pull requests

6 participants