Don't query git.coopcloud.tech when streaming logs #275
Loading…
x
Reference in New Issue
Block a user
No description provided.
Delete Branch "further-offline-fixes"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
So, as title says, this covers not doing that + has a refactor to make configuring this kind of thing easier in the future.
Working on finishing up coop-cloud/organising#292 and having something extendable for later changes. It seems like there is a need to allow specific command logic to modify the internals. E.g. making decisions about how to access the network, whether or not to clone the recipes etc. etc.
So, I've tried to come up with a kind of "options" system which is the Go way to pass down optional arguments into internals. This is an improvement on the
ensureLatest
bool onValidateRecipe
which requires updating the code everywhere and it's not very flexible.With this
runtime.Config
/Option
setup, any command can modify specifics in the internals and new options can be added when further changes are needed without updating the code all over the place.37a655e2cf
toe4b4084dfd
WIP: further offline fixesto Don't query git.coopcloud.tech when streaming logs