[Proposal] Gitea subcommand for installation #24220
Labels
type/feature
Completely new functionality. Can only be merged if feature freeze is not active.
type/proposal
The new feature has not been accepted yet but needs to be discussed first.
Feature Description
As Gitea's configuration becomes more and more and once some configuration changes, gitea needs to be restarted. So we introduced database-based global configuration in #18058 . But once most of system configurations have been moved to database-based global configuration. For those who want to quickly set up a predefined Gitea instance, it becomes very difficult. Then I suppose we could have a subcommand which could be named
install
orinit
. i.e.The subcommand will become an alternative choice of the current Web-based installation guide. It accepts a YAML configuration file. The file could contain all possible
app.ini
configurations, database-based global configurations and even authentication sources (LDAP, OAuth2), and some default users, orgs and etc.Screenshots
No response
The text was updated successfully, but these errors were encountered: