Backlog
This document is meant as a list of planned changes. While their inclusion here means their implementation is desirable, the timing will depend on other priorities that could be unlisted.
Configuration
- Allow imperative configuration commands through a parsed file containing instructions
Package management
- When deciding to install/uninstall packages, there should be the option to also add/remove them from the configuration, both interactively and non-interactively
-
Add install, uninstall and query commands to check the status of packages and simultaneously add/remove to/from system and configuration
- Once install/uninstall and add/remove to/from configuration conflict resolution strategies have been implemented, the same functions can be reused to implement this
File management
-
Allow merging spare files on
~/.config/tori/baseby specifying where they should be copied to - Add an option to delete file from configuration when it’s not found on the system
Metaconfiguration
-
Make configurable:
- authorizer command (sudo/doas/su)
- package cache update frequency (currently defaults to daily)
-
Configurable hostname discernment:
-
extension, as in
packages.hostname,base.hostnamebase/file.hostname,hostname.conf -
directory, as in
hostname/packages,hostname/base,hostname.conf
-
extension, as in
Argument parsing
-
Add short options
- Let parser expand short options into long ones for returning
Utilities
-
Add a
--breakflag to thelogfunction to print a newline before any output-
Add this flag to the
log debug "user:\n$user_packages"call onscan_packages()inconfiguration.sh
-
Add this flag to the
-
set_opts()would be more ergonomic if it tookonandoffinstead of-and+
Help
-
Move the help function a dedicated
helpdirectory-
Add nested calls so that
help <command>can be used to get help on a specific command’s usage
-
Add nested calls so that