/srv/irclogs.ubuntu.com/2020/11/24/#smooth-operator.txt

bthomasmorning09:13
Chipacabthomas: yes it is09:52
* bthomas double checks his conclusions09:58
* Chipaca passes bthomas a bucket of ∎10:00
bthomasI just realized I was not checking for emitted events in my remove relation tests. So I am now modifying them to use RelationEventCharm and checking that the events are emitted.10:27
bthomasAlso there was a formatting error (fixed now) in a docstring.10:28
Chipaca👍10:33
bthomasChipaca: I see a harmless duplicated line "if self._charm is None or not self._hooks_enabled:" in _emit_relation_created. This probably came through in a merge commit. I am axing one copy.11:07
Chipacabthomas: 🪓11:08
bthomas:-)11:08
Chipacaall future reviews will be done in emoji form11:11
* Chipaca notes that includes '🯆'11:13
* bthomas needs to update his emacs unicode fonts config to get more emojis displayed11:15
Chipacabthomas: not many fonts have that last one11:22
bthomasChipaca: At present I am using https://pastebin.canonical.com/p/GGhRjxCZ2s/ but neither of the last two emoji's show up11:23
Chipacabthomas: you might need http://unifoundry.com/unifont/index.html in fact11:23
bthomasThanks11:24
* bthomas has his work cut out this for this weekend11:24
Chipacaas in, unifont 1311:24
Chipaca(it's a good fallback font)11:24
Chipacabrb, rebooting11:28
bthomasFixed two bugs in the data for emitting relation departed and relation broken11:43
bthomasFixing all tests now11:44
bthomasChipaca: Do you know if my charm has a relation "db" with two units ("/0" and /1") of remote app "postgresql", then is it the case that both units have the same "relation_id" 0 ?12:07
bthomasNever mind. I think the answer is yes.12:08
* bthomas getting hungry now and it is getting harder to think12:08
bthomasFixed all tests and code. Will create PR after lunch some time.12:11
bthomasPushed all fixes. Travis is very excited, and is glad Chipaca did not burn him down.12:16
bthomasOos. Looks should have been "burn her down", judging from travis logo.12:26
* bthomas -> lunch12:42
* bthomas back13:06
bthomasOh no I just realised there is a typo in doc string. There should be no "Returns". Will wait for travis to finsh (almost done) and fix.13:08
Chipacaheh13:17
Chipacabthomas: i hope to get to review today13:17
Chipacabthomas: hold that fix until i do, to avoid tiring our frind travis out?13:17
bthomasChipaca: I am going to convert draft PR to PR in next 20 min13:17
Chipacaah, sounds good13:18
Chipacai need to step out for a while; will probably miss the standup15:50
bthomasack. PR is ready for review, and cleared all checks.16:00
mupIssue operator#452 closed: event.unit is None when using update_relation_data <Created by dstathis> <Closed by dstathis> <https://github.com/canonical/operator/issues/452>16:53
dstathisIs there a correct way to get the application name from harness?20:36
dstathisI see harness.model in the docks but no harness.app20:36
dstathisanswer to my own question: self.model.app.name seems to work20:47
dstathisself.harness.model.app.name that is20:47

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