Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Optimize rm action #227

Open
3 tasks
aidan-mundy opened this issue Oct 28, 2021 · 1 comment
Open
3 tasks

Optimize rm action #227

aidan-mundy opened this issue Oct 28, 2021 · 1 comment

Comments

@aidan-mundy
Copy link
Contributor

aidan-mundy commented Oct 28, 2021

  • rm and autoclean should not cause any actions other than rm
  • 'autoclean' should not trigger an rm action on an alias 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 the args section do not affect the rm task. Any tag without a config var should also be removed.
    • On a job, none of the config vars affect the rm task.
    • On a compose, all config vars affect the rm task,

A caveat here is that fixing 1&2 makes 3 a much more noticeable problem.

@aidan-mundy
Copy link
Contributor Author

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant