Discourse Docker Manager: Upgrade All

I wrote the server code for executing multiple upgrades at once, but I’m having design troubles with the client code.

Branch compare: Comparing discourse:a6539a6cf...riking:multi-upgrade · discourse/docker_manager · GitHub

The client code I’m having trouble visualizing how to refactor. I suppose a MultiRepo object constructed by the Upgrade All handler that combines together the paths/versions and presents the same interface as a Repo object? It feels like that is going to run into duck-typing problems.

13 Me gusta