/srv/irclogs.ubuntu.com/2020/07/01/#smooth-operator.txt

jammorning all05:50
Chipacagood morning all :)09:14
Chipacastub: dunno if you saw #352 but that should do the trick09:24
mupPR #352: make ops.lib.use support relative submodules <Created by chipaca> <https://github.com/canonical/operator/pull/352>09:24
stubChipaca: Yup. Was going to test it, but a DB deploy exploded.09:33
Chipacastub: that totally sounds like a lot more fun than testing09:34
stubChipaca: I need to confirm it works with a path like lib/interface-pgsql/opslib/pgsql containing a hyphen :)09:34
Chipacastub: interface-pgsql is not a legal python package name is it?09:34
stubNope, not at all. But it is my repo name.09:35
Chipacastub: let me know how that goes :)09:35
Chipacaactually, i might as well test it myself09:35
* Chipaca tests it09:35
stubYup. Probably best to just say 'don't do that silly' if it doesn't work09:35
Chipacastub: it works :)09:37
Chipacaimport ops.lib; meh = ops.lib.use("foo", 2, "jlenton@gmail.com")09:37
stubNow unicode!09:37
ChipacaIn [2]: meh09:37
ChipacaOut[2]: <module 'foo-bar.opslib.meh' from '/tmp/xyzzy/foo-bar/opslib/meh/__init__.py'>09:37
Chipacaand that __init__.py does 'from . import foo', so submodules work also09:37
ChipacaIn [1]: import ops.lib; meh = ops.lib.use("foo", 2, "jlenton@gmail.com"); meh09:38
ChipacaOut[1]: <module '💩.opslib.meh' from '/tmp/xyzzy/💩/opslib/meh/__init__.py'>09:38
Chipacastub: ^09:39
stubinvalid UTF-8 sequences?09:39
stub;)09:39
ChipacaNO.09:39
Chipaca:)09:39
ChipacaOTOH you can call it 𝔭𝔤𝔰𝔮𝔩 for that extra bit of gravitas09:42
jamChipaca, you're having too much fun :)09:44
Chipacajam: non-stop partying, that's me09:45
jamChipaca, you and the unicode library, cosying on up09:45
Chipaca𝓘 𝓬𝓪𝓷 𝓷𝓮𝓲𝓽𝓱𝓮𝓻 𝓬𝓸𝓷𝓯𝓲𝓻𝓶 𝓷𝓸𝓻 𝓭𝓮𝓷𝔂09:45
* Chipaca brb09:55
facubatistaMuy buenos días a todos!11:22
Chipacafacubatista: hiya :)12:03
Chipacajam: you coming to the revue?12:04
mupIssue operator#180 closed: A way to easily drop the developer inside their running Python code <Created by facundobatista> <Closed by facundobatista> <https://github.com/canonical/operator/issues/180>12:09
mupIssue operator#66 closed: Packaging of charm and layer code <Created by knkski> <https://github.com/canonical/operator/issues/66>12:10
mupIssue operator#282 closed: Harness: Unable to assert if framework was called correctly by charm <Created by relaxdiego> <Closed by jameinel> <https://github.com/canonical/operator/issues/282>12:45
mupIssue operator#317 closed: use charm state for Juju 2.8 <Created by jetpackdanger> <Closed by jameinel> <https://github.com/canonical/operator/issues/317>12:51
mupIssue operator#303 closed: ints in pod spec somehow become scientific notation <Created by jetpackdanger> <Closed by chipaca> <https://github.com/canonical/operator/issues/303>12:59
mupIssue operator#316 closed: unit state lost following upgrade-charm <Created by jetpackdanger> <Closed by chipaca> <https://github.com/canonical/operator/issues/316>13:01
Chipacafacubatista: meeting?14:00
Chipacafacubatista: there you were :-)14:00
jamChipaca, facubatista : https://kubernetes.io/blog/2019/01/15/container-storage-interface-ga/14:12
Chipacaack14:12
jam(I'm assuming :)14:12
* facubatista -> lunch15:05
facubatistaChipaca, what do you think about, in error, trim the message presented to the user to something sane (150chars), while still dumping the full message in the log?17:33
Chipacagr, not sure how much of that got to the channel :-/18:09
Chipacastub: FYI:18:09
Chipaca>> import ops.lib; meh = ops.lib.use("foo", 2, "jlenton@gmail.com"); meh18:09
Chipaca<module '\udce1rbol.opslib.meh' from '/tmp/xyzzy/\udce1rbol/opslib/meh/__init__.py'>18:09
* Chipaca goes have dinner18:10
* facubatista eods21:53

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