Open
Description
Config is parsed all over the place which leads to bugs and duplicated code. It is hard coded to one file which makes it inflexible.
We should be able to:
- Abstract away the file it's reading the config from
- Allow updates to config values
- This is more complex now that there's a caching layer
- Have one way to get the most correct value for a key (See Fixes hard coded block sizes in multiple locations. #47)
- ini scsi id section - take this no matter what, user must know more than we do
- ini scsi global section - take this if not set in the id section.
- File name - take this if not set in the ini
- Runtime detection if applicable
- Sane default
- Move config keys to own file and document there
- Have process parse this file and update ini.bluescsi.com and the wiki automatically
Activity