airbreather / StepperUpper

Some tools for making STEP happen.
MIT License
9 stars 2 forks source link

Handle LOOT User-Defined Metadata #18

Closed airbreather closed 7 years ago

airbreather commented 7 years ago

STEP has certain LOOT meta-rules that need to be set in order for LOOT to do the right thing.

Problem: the meta-rules are in a userlist.yaml file under %LOCALAPPDATA%, and we really don't want to overwrite the settings for a "power user"... but we also need LOOT to function properly especially for novice users.

Obvious cases:

  1. If userlist.yaml is completely missing, or if it is present with exactly zero rules, then we can probably feel safe about writing it out.
  2. If userlist.yaml is present and has exactly the rules we want to write out (and no more), then we can definitely feel safe about doing nothing.

Other than those two exact cases, it's unclear what we should do. Probably the safest is to do nothing but write out a warning message. This is the case even if the userlist has a superset of what we need, because it might cause us to sort incorrectly.

airbreather commented 7 years ago

See #700 on LOOT's repo.