Some of the tasks I feel that I "need" to perform on my system could perhaps be incorporated somehow into the install or upgrade utility.
Some examples would be:
I am trying to move in that direction, where basically a series of commands can be defined to do the upgrade automatically. It gets challenging for a lot of reasons though mostly because it wasn't designed to be upgraded that way and people are resistant to change.
* Always replacing prompts.dat, assuming that any changes of prompts should be performed by having a custom theme and updating the prompts there instead?
./install extract prompts.dat /mnt/bbs/mystic/data
No one should ever touch prompts.dat (or any files in the data directory, ideally, the editable ones should be available in the configuration).
prompts.dat is a safe file to automate updating every time if you'd like to
and I think as part of any automated upgrade this will be included.
* Updating the docs directory with the fresh one:
I think in the future the docs directory may just disappear.
With the Wiki and the ability to export the Wiki to a .txt and .pdf (which we should be able to do using Dokuwiki plugins) we can offer the documentation online via the Wiki and then those exports can be downloaded/distributed separately from the website as well.
The documentation really needs to be better, its all documented its just sourced all over the place and I think centralizing on the Wiki and exporting from there is probably the best way to get everything in a good place.
* Always replacing the default theme, assuming that custom themes should
This one I am not so sure about because I think a lot of people have modified their default themes. Ideally people would probably keep the default as a reference and then create a new theme but that is not the way it has been historically (even I am guilty of that).
The solution I came up with for this might be to have an online theme repository which will have the latest updated default theme and people can choose to download it if they want to (along with other themes)
But also having some default themes out of the box and a sync function might not be a bad idea too.
* Looking for deprecated binaries (manual inspection of output needed):
Upgrade.exe should handle depreciated data and executable files.
Some of these could perhaps be replaced with new flags to the install or upgrade utility, e.g.:
./install newbin /home/bbs/mystic (to extract not previously existing binaries)
The way the replace function works, it would add new binaries if they did not exist. I basically hardcode a list of binaries that replace should "replace" even if they don't exist. I gusss replace isn't really an accurate
description of what it does :)
--- Mystic BBS v1.12 A46 2020/03/01 (Windows/64)
* Origin: Sector 7 (21:1/108)