Optimize `rm` action
aidan-mundy opened this issue · 1 comments
aidan-mundy commented
-
rm
andautoclean
should not cause any actions other thanrm
- 'autoclean' should not trigger an
rm
action on analias
because that is redundant -
rm
should proceed as far as possible, even if some config vars cannot be parsed- On an
image
, config vars in theargs
section do not affect therm
task. Any tag without a config var should also be removed. - On a
job
, none of the config vars affect therm
task. - On a
compose
, all config vars affect therm
task,
- On an
A caveat here is that fixing 1&2 makes 3 a much more noticeable problem.
aidan-mundy commented
Thinking about solutions for item 3, it appears to me that dobi would benefit from a much more comprehensive state management system, similar to how terraform manages its state.