-
Notifications
You must be signed in to change notification settings - Fork 13
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
Conf files not upgraded on upgrade? #31
Comments
this line is just for upgrade from a specific version, don't consider it for packaging a new app.
A system for better handling of config files is being developped for an upcoming YunoHost version. Therefore, I would not spend much time on config file issues before it is out. The most important is that the file follows the upstream template such that install succeeds. Then the user can modify it manually. The config panel is already in the dev branch! |
OK!
I plan to package the mx-puppet-discord app:
The documentation has to be done, but as far as I tested, it already works! (installation, removal, backup, restoration, upgrade). There are still warning about… checksum precisely :) Maybe we can talk in private if you're interested. Code review is highly welcome :).
Actually, I discovered that I was wrong, because that's not the BTW,
🎉 I hope to play with it relatively soon! Florent |
Hello!
I am reading the code of the application for packaging another app.
I see in the code of the upgrade that we first remove the final_path directory:
mautrix_whatsapp_ynh/scripts/upgrade
Line 134 in ede0231
A bit later then, we backup the config files:
mautrix_whatsapp_ynh/scripts/upgrade
Lines 184 to 185 in ede0231
As the
$mautrix_config_path
file is stored in$final_path
, shouldn't we backup before the final_path directory?Although I have not tested what I suspect, so I may be wrong
The text was updated successfully, but these errors were encountered: