Gitea: Remove comments in app.ini.sample?

Created on 17 Jul 2019  路  9Comments  路  Source: go-gitea/gitea

Documentation in app.ini.sample often runs out of sync with the cheat sheet like for example https://github.com/go-gitea/gitea/issues/7491.

I'm thinking we might be better off removing all comments in the file and use the cheat sheet as the single source of truth, eliminating the need to update both.

stale

Most helpful comment

We could generate both from the code :-p

All 9 comments

Maybe we should generate cheat sheet by app.ini.sample. :)

We could generate both from the code :-p

I think it would be best to move most things from config file to database per the discussed roadmap and then the config file would be left very small and could be easily documented in one place and would probably not be updated much

@zeripath I like the idea.

@mrsdizzie right.

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs during the next 2 weeks. Thank you for your contributions.

Generating comments are better than removing them. So maybe we could close this or change the title.

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs during the next 2 weeks. Thank you for your contributions.

This issue has been automatically closed because of inactivity. You can re-open it if needed.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

flozz picture flozz  路  3Comments

tuxfanou picture tuxfanou  路  3Comments

cookiengineer picture cookiengineer  路  3Comments

adpande picture adpande  路  3Comments

haytona picture haytona  路  3Comments