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

Chipacagood morning all!09:14
jammorning Chipaca09:56
Chipacajam: how's things?09:57
stubjam: controller state dropped in with no changes, looks happy: https://pastebin.ubuntu.com/p/p6nx4wz8vm/10:30
facubatista:helo:10:55
facubatista¡Muy buenos días a todos!10:55
facubatistaChipaca, please remember my https://github.com/canonical/charmcraft/pull/7512:16
mupPR charmcraft#75: Support for pushing bytes to the Storage <Created by facundobatista> <https://github.com/canonical/charmcraft/pull/75>12:16
facubatistaChipaca, do we plan to have "docs on the web" for charmcraft the tool? like a RTD or even a category in Juju's Discourse? Something to point to from the command line help12:29
* facubatista brb12:42
* facubatista is back12:49
Chipacafacubatista: saying we _plan_ to have that is a bit much, but I'm not opposed to the idea12:50
facubatistaChipaca, ack12:50
Chipacajam: you didn't _actually_ review #352 btw, you just pretended to12:53
mupPR #352: make ops.lib.use support relative submodules <Created by chipaca> <https://github.com/canonical/operator/pull/352>12:53
jamfine... :)12:54
* Chipaca reads that in beuno's voice12:55
mupIssue operator#351 closed: ops.lib.use does not support submodules <Created by chipaca> <Closed by chipaca> <https://github.com/canonical/operator/issues/351>12:56
mupPR operator#352 closed: make ops.lib.use support relative submodules <Created by chipaca> <Merged by chipaca> <https://github.com/canonical/operator/pull/352>12:56
* Chipaca lands ALL the things12:56
Chipacanow i just need to do the same thing with all the issues12:57
mupPR operator#355 closed: readme tweaks (including link to the api docs) <Created by chipaca> <Merged by chipaca> <https://github.com/canonical/operator/pull/355>12:57
jamall the... small things...12:57
Chipacait13:01
Chipacait's not the size of the pr that matters13:01
Chipacaor something13:01
Chipacabrb fiddling with the hardware again13:10
facubatistajam, oops, sorry, you were saying something13:40
jamfacubatista, I just said bye13:40
facubatista:)13:40
* Chipaca zzz14:58
* Chipaca goes to get some tea14:59
Chipacafacubatista: meeting?16:01
Chipacafacubatista: ah there you are :-)16:01
ChipacaI suddenly realised why I've been feeling "bleh" all day, when i noticed my face wasn't red because of a weird camera effect16:27
Chipacait's actually that red in the mirror too16:27
Chipacai guess i got a bit toasted running yesterday :-)16:27
Chipacaoh dang the dev summary16:41
Chipacathe sprint threw me off :-|16:41
facubatistaje16:43
Chipacai guess i'll write it up today and have you two check it as available16:43
Chipacabut not now, now i need a break, and maybe a meal16:43
Chipacaso ttfn, ttyl, etc ;-)16:44
facubatista:)16:44
facubatistaChipaca, jam, this is ready for review, now: https://github.com/canonical/charmcraft/pull/7619:37
mupPR charmcraft#76: Store upload <Created by facundobatista> <https://github.com/canonical/charmcraft/pull/76>19:37
crodriguezhi facubatista . I'm trying to import charmcraft instead of having the submodule in my charm. I added it to my dev-requirements.in, ran make build, and deployed mycharm.charm . However, my charm fails on install because it does not find the ops module20:29
crodriguezI'm unsure of what I'm doing wrong here20:29
facubatistahola crodriguez20:30
crodriguez(all of this inside a virtualenv)20:30
facubatistacrodriguez, import charmcraft or import ops?20:30
facubatistacrodriguez, charmcraft is a command line tool, you should not import it20:30
crodriguezyeah that's what I meant. import ops.charm20:31
facubatistacrodriguez, are you using charmcraft to build the charm?20:31
facubatistacrodriguez, would you remind me the url of your project?20:32
crodriguezI mentioned charmcraft because that's the package to install. Maybe I got confused by Maglana's new template. He's using make, not charmcraft build20:33
crodriguezlet me try to build it once more20:33
* facubatista checks it20:33
crodriguezit's a new project facubatista https://github.com/camille-rodriguez/charm-iscsi-connector20:33
facubatistait should be easier20:35
facubatistait looks that Makefile is using charmcraft to build20:36
facubatistabut at the same time hiding it20:36
facubatista@(python -m charmcraft build 2>&1 || echo "charmcraft build error") | tee .last-build20:36
facubatistathis template is doing so many things I fail to understand it20:36
facubatistacrodriguez, I see your requirements.txt is fine20:37
crodriguezhah, he showed it to us this morning in a presentation. He wrote it a few days ago, so it's still fresh. But it's an attempt at automating build, adding tests, and providing a way to deal with pip dependencies by adding pip-compile20:38
facubatistayou don't need to deal with pip dependencies20:38
facubatistacharmcraft does20:38
facubatista`charmcraft` shouldn't be used as a dependency ideally, but from the snap20:39
crodriguezwell charmcraft build or make build both are failing me rn so it's not the template lol20:39
facubatistacrodriguez, 1'20:40
crodriguezthis is a subordinate charm. Could it not be installing its dependencies correctly upon deployment?20:42
facubatistathis template is not good20:43
facubatistait's super mixing old and new stuff20:43
facubatistacrodriguez, let's start to clean it a little to make your charm work20:43
crodriguezalright I can revert to my previous commit, when I didnt have the template and still had the submodule20:44
facubatistacrodriguez, that would be better20:44
facubatistacrodriguez, and we work from there20:44
facubatistacrodriguez, let me know when you did that so I re-clone20:44
crodriguezok ! yeah I'll ping you whenever I'm ready20:45
facubatistacrodriguez, I'm close to EOD, but I can wait for you20:45
facubatistacrodriguez, or we can do this first time tomorrow... I just don't want to block you20:46
crodriguezoh same here, so don't wait on me. I'll update you tomorrow, thanks :)20:46
crodriguezI'm doing a bit of extra coding in the sprint after-hours, nothing urgent :)20:46
facubatistacrodriguez, let's work on this together tomorrow, I'm super interested in enabling an easy path in these cases20:47
facubatistawe can HO or whatever20:47
* facubatista needs to reboot, brb20:48

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