Add a warning log when gitea is using a deprecated setting item. #7474

Closed
opened 2025-11-02 07:26:46 -06:00 by GiteaMirror · 1 comment
Owner

Originally created by @lunny on GitHub (Jun 17, 2021).

We can add some warning logs when gitea start up if it's using a deprecated setting item. The docs is also important but I think that's not enough.

Originally created by @lunny on GitHub (Jun 17, 2021). We can add some warning logs when gitea start up if it's using a deprecated setting item. The docs is also important but I think that's not enough.
GiteaMirror added the type/proposal label 2025-11-02 07:26:46 -06:00
Author
Owner

@wxiaoguang commented on GitHub (Apr 27, 2022):

Now there is a deprecatedSetting function:

image

@wxiaoguang commented on GitHub (Apr 27, 2022): Now there is a deprecatedSetting function: ![image](https://user-images.githubusercontent.com/2114189/165458140-8ab5cb1f-869e-43af-9ebe-015e6ae35425.png)
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#7474