This repository has been archived by the owner on Jul 6, 2023. It is now read-only.
v2.0.0
yay!
This update adds and changes a lot of stuff, which introduces some breakages from v1.x.x warranting a bump to v2.0.0. This update also comes with some neatly prepared documentation found on the new wiki and implemented help functions users can use in the script.
CHANGELOG:
- Added archiving! Archives offer a method of copying, compressing, and encrypting files, with easy-to-modify event functions if users feel that they would prefer e.g a different compression or encryption method.
- Added option-handling. A user can now technically perform an autosetup with a single command without any input if they know what they want to do beforehand.
- Major overhaul to the autosetup CLI. The user is now given more easily accessible tools to set up entries for the autosetup, which offer more information and are (hopefully) more intuitive to use. Additionally, help functions have finally been expanded on and are available wherever necessary for the user in the case that they do not understand what kind of input they need to give.
- Reveal an
APP_INSTALL_BACKUPS
configurable variable which lets the user specify autofilling/prompting for installing backups ahead of time. - Backups will now be performed in a temporary directory
TMP_DIR
(defaults to "/tmp/linux-autosetup") before any old backups are dumped and replaced with the new ones, only and only if the backup command succeeded. - Users are now prompted to resolve missing backup sources - currently there is no way to disable this, partly because I figured backing up a bunch of stuff only to find that something wasn't backed up and included is more annoying than an inconvinient prompt and also because I'm still deciding on how to make this properly configurable.
- Renamed app event functions to make more sense.
- bug will be squash
On the backend:
- Modularized functions into different files, which makes it easier to find functions while decluttering the main script.
- Hopefully improve maintainability of the autosetup CLI code, which should make adding features a lot easier.