Address user config overwriting on upgrade #18

Closed
opened 2024-04-27 23:00:10 +00:00 by danieljsummers · 1 comment

As currently designed, user-config.php is a file that users are free to modify. However, with it in the source repository under that name, upgrades will copy the repository version over a possibly-modified version.

To fix this, rename user-config.php to user-config.dist.php, and update the installation instructions to include renaming this file. Future upgrades will continue to overwrite the dist version (allowing users to diff the two after upgrading, to see if there are any new configuration items), but will leave the user's configuration alone.

As currently designed, `user-config.php` is a file that users are free to modify. However, with it in the source repository under that name, upgrades will copy the repository version over a possibly-modified version. To fix this, rename `user-config.php` to `user-config.dist.php`, and update the installation instructions to include renaming this file. Future upgrades will continue to overwrite the `dist` version (allowing users to diff the two after upgrading, to see if there are any new configuration items), but will leave the user's configuration alone.
danieljsummers added this to the alpha4 milestone 2024-04-27 23:00:20 +00:00
danieljsummers self-assigned this 2024-04-27 23:00:28 +00:00
Author
Owner

This is complete

This is complete
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: bit-badger/feed-reader-central#18
No description provided.