[feat] modern editor friendly config file #14771

Open
opened 2025-11-02 11:22:36 -06:00 by GiteaMirror · 1 comment
Owner

Originally created by @loynoir on GitHub (Jul 17, 2025).

Feature Description

problem

app.ini cannot benefit from editor tab-completion and validation.

feat

  • support gitea.jsonc or gitea.yml

  • generate json schema and publish to schema store

https://github.com/microsoft/vcpkg/issues/34706

Screenshots

No response

Originally created by @loynoir on GitHub (Jul 17, 2025). ### Feature Description ## problem `app.ini` cannot benefit from editor tab-completion and validation. ## feat - support `gitea.jsonc` or `gitea.yml` - generate json schema and publish to schema store ## related https://github.com/microsoft/vcpkg/issues/34706 ### Screenshots _No response_
GiteaMirror added the type/proposal label 2025-11-02 11:22:36 -06:00
Author
Owner

@silverwind commented on GitHub (Jul 17, 2025):

YAML sound fine to me. And yes, schemastore support would be nice to enable editor highlighting. We could validate config schema on startup and issue warnings in log and admin pages if there's a schema mismatch.

I think what also would need to be provided is a config migration tool that converts ini to yaml.

@silverwind commented on GitHub (Jul 17, 2025): YAML sound fine to me. And yes, schemastore support would be nice to enable editor highlighting. We could validate config schema on startup and issue warnings in log and admin pages if there's a schema mismatch. I think what also would need to be provided is a config migration tool that converts ini to yaml.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#14771