charmbracelet / soft-serve

The mighty, self-hostable Git server for the command line🍦
MIT License
5.16k stars 127 forks source link

Set repo metadata (e.g. project-name, description, ...) from repo #504

Open lightlike opened 4 months ago

lightlike commented 4 months ago

Is your feature request related to a problem? Please describe. Repo metadata is currently set via cli commands. I always neet to look at the commands again because I do not use these regularely.

Describe the solution you'd like Some way to set or update the description or other values via the main branch in a configuration-as-code kind of way. This could be done by creating a .soft-serve file of any format (e.g. json, yaml, ini, ...) or data pulled from a kind of metadata block inside the readme file (like pandoc does)

Values that might be useful to set this way:

This might also be used for settings hooks and similar if security allows that. (maybe by only allowing server preconfigured hooks) But I am pretty new to soft-serve and git server hooks so I do not know if that is a good/useful idea.

Describe alternatives you've considered see above

Additional context