-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Custom configuration gets reset #34
Comments
Hello @SangeloDev, thank you for this issue. Yunohost aims to provide to admins one click installable applications (https://yunohost.org/en/administer/admin_guide/apps). The drawback is that app packagers (me) choose the config that should fit to everybody. The upgrade process need to overwrite the config file, in order to deploy new instructions needed by forgejo or to correct packaging mistakes (i.e. #27). As a existing workaround, you should have notice, that the upgrade process warns you if there are changes in the app.ini. You can rely on it to put your config back. The best I can do as app maintainer is to add some config fields the admin (you) could fill before installation (or in app config). These values should then be used to fill the app.ini file. Can you describe your use case in order to evaluate if it could fit to other forgejo app users ? I don't want to develop something just for one user. |
For me it's branding, as I try to host a public service. When the config gets overwritten, my modifications to the branding get lost, like custom css, the site name, among others. |
Description
When editing the forgejo configuration, I expect it to stay the same, though it resets on updates. Is there any reason this is the case?
Expected Behavior
Custom configuration doesn't change
Actual Behavior
Custom configuration gets replaced with stock configuration
The text was updated successfully, but these errors were encountered: