/srv/irclogs.ubuntu.com/2020/11/26/#juju.txt

manadartstickupkid or achilleasa: More NetworkInfo mechanix: https://github.com/juju/juju/pull/1236409:01
stickupkidmanadart, not sure how i feel about this sentence "Given that this intermediate type is no longer required, it is removed and the params type is returned directly. Increased brevity results."09:02
manadartIf you look, the type was used so as not to return the params type (dependency on apiserver from state) when the method resided in state.09:03
stickupkidbut given that we don't have a vertical boundary for this kind of thing, I have feeling that this is ok09:03
manadartNow that the method is in a sub-package of apiserver and we're handling the params return in the same module, the translation of one type to another is superfluous.09:04
stickupkidsure sure09:04
stickupkidapiserver is a glorified controller, but a shit version09:05
manadartstickupkid: Once the nips and tucks are done. I will indirect it all, move the current tests to xxx_integration_test.go and start with unit tests based on mocks.09:06
manadartThat package is very slow to test, because we spin up the scenarios with the DB for them all. Even when testing trivial units.09:06
stickupkidI still think that the api server should use the command pattern09:07
manadartYes.09:07
stickupkidThen the apiserver just invokes the commands... that would actually be nice09:08
stickupkidyou could even hide the state behind a repository - o the joys09:08
achilleasastickupkid: finished reviewing 1236311:26
stickupkidta11:28
stickupkidachilleasa, updated12:47
oscarf_is anyone familiar with a weird issue where a model which is supposed to be shared with users X, Y and Z, but still users X, Y and Z cannot see the model even when logging in and out of a controller?13:00
manadartachilleasa, stickupkid: One patch forward-merge - https://github.com/juju/juju/pull/1236813:12
manadartachilleasa, stickupkid: https://github.com/juju/juju/pull/1237116:36
stickupkidmanadart, for you in the morning https://github.com/juju/juju/pull/1236916:36
manadartstickupkid: Yep.16:36

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!