Wednesday, 2018-10-03

*** diablo_rojo has quit IRC00:02
*** ianychoi has quit IRC01:17
*** ianychoi has joined #storyboard01:28
*** ianychoi has quit IRC01:42
*** jamesmcarthur has joined #storyboard01:58
*** ianychoi has joined #storyboard02:19
*** jamesmcarthur has quit IRC02:59
*** jamesmcarthur has joined #storyboard04:59
*** jamesmcarthur has quit IRC05:04
*** udesale has joined #storyboard05:41
*** tosky has joined #storyboard07:03
*** jpich has joined #storyboard07:35
*** jtomasek_ has joined #storyboard08:21
*** jtomasek has quit IRC08:23
*** jtomasek has joined #storyboard08:34
*** jtomasek_ has quit IRC08:36
*** jtomasek has quit IRC08:59
*** jtomasek has joined #storyboard09:15
*** udesale has quit IRC10:26
*** jtomasek has quit IRC10:28
*** jtomasek has joined #storyboard11:18
*** jtomasek has quit IRC11:57
*** udesale has joined #storyboard12:03
*** jtomasek has joined #storyboard12:39
*** udesale has quit IRC13:05
SotKjust a heads up, I probably won't be around at meeting time today I'm afraid, feel free to have it without me if you like13:31
*** tosky__ has joined #storyboard13:51
*** tosky has quit IRC13:51
*** tosky__ is now known as tosky13:52
*** jamesmcarthur has joined #storyboard13:57
*** jtomasek has quit IRC15:10
*** jtomasek has joined #storyboard15:10
*** jpich has quit IRC17:32
*** jamesmcarthur has quit IRC17:41
*** fatema_ has joined #storyboard17:51
*** jamesmcarthur has joined #storyboard17:57
*** jamesmcarthur has quit IRC18:08
*** diablo_rojo has joined #storyboard18:41
*** jamesmcarthur has joined #storyboard18:44
fungiSotK: thanks for the heads up. i didn't have much, other than i think i've mostly worked out the task linking but keeping it from breaking the task updating automation in its-storyboard has required a fair amount of trial and error19:02
fungidiablo_rojo: what say you? to meet or not to meet?19:03
fungitaking this as your vote to not meet ;)19:07
diablo_rojoOh noes, I had updated the agenda19:08
fungiwe can totally still meet19:08
diablo_rojoI am available to meet if you are19:08
* diablo_rojo was distracted by election-y thins19:08
fungii also need to keep an eye out for pizza delivery19:08
diablo_rojoYUM19:08
diablo_rojothat sounds amazing19:09
fungimmm, election thins, a righteous snack19:09
diablo_rojoLol19:09
diablo_rojoI guess if SotK isn't going to be around we can skip this week, but it would be great if I could get some eyes on things from you fungi19:11
fungii seem to be short a few eyes this week but will see what i can do19:11
diablo_rojoI put a draft of the attachments spec up yesterday with as much info as I had from the PTG19:11
fungithanks! saw you hacking on it19:12
diablo_rojoThats the most important of the things so I can stop there since you are shorthanded this week19:12
diablo_rojoYup. Finally got around to not procrastinating anymore.19:12
diablo_rojoLol19:12
fungiokay, i've successfully gotten task and story hyperlinking working on review-dev without breaking the task update automation19:14
diablo_rojoWoohoo!19:14
diablo_rojoThat is awesome.19:14
funginow trying to see if i can solve the failure for story footers by themselves to add story comments19:14
fungisince i seem to be on a roll19:14
diablo_rojoThats awesome.19:14
diablo_rojoAt some point I mean to look at the ltsstoryboard thing so that we can auto assign when reviews are pushed19:15
fungigotta put on your java boots for that one19:16
diablo_rojoYeah.. I started this crazy train wih 3 years of Java so maybe I can figure it out.19:17
fungias it stands, i think i'm going to need to dissect that plugin to work out what it expects for story commenting without a task19:19
*** jamesmcarthur has quit IRC19:19
*** jamesmcarthur has joined #storyboard19:19
diablo_rojoIf you wanna do that first, go ahead :)19:19
fungifor reference, the source lives at https://gerrit.googlesource.com/plugins/its-storyboard/19:20
fungiwe're running the stable-2.13 branch currently, i believe19:21
diablo_rojoThanks :)19:25
fungireading https://gerrit.googlesource.com/plugins/its-storyboard/+/stable-2.13/src/main/java/com/googlesource/gerrit/plugins/its/storyboard/StoryboardClient.java it looks like getStory() relies on getStoryId() which assumes it will always be triggered with a task19:30
fungiso this may never have actually been implemented19:30
diablo_rojoSounds right19:30
persiaNever implemented definitely sounds right.  My memory is that there was a grand design (hinted at in the PTG session), and then everyone involved was told they had sharply limited time (for both Storyboard and its-storyboard), so something "just good enough" was put together in a hurry.19:43
persia(no ill-will towards anyone involved: we all operate under constraints, and perfect is often the enemy of good)19:44
fungihttps://review.openstack.org/607698 adds the version i've been testing for review-dev, and https://review.openstack.org/607699 does the same for review.openstack.org20:01
* diablo_rojo opens tabs to review20:02
persiafungi: I don't understand how that differs from the action labeled "its-storyboard" immediately below your new "task" entry.20:03
persiaIf it is just that the link is wrong...20:04
fungithe way the its plugins work is that the commentlink system needs to match a pattern in a commit message and if the name of the commentlink matches the name of an its plugin then the link parameters are passed into it20:05
persiaRight, but both 'task' and 'its-storyboard' match '\\\\b[Tt]ask:? #?(\\\\d+)', which is what confuses me.20:06
fungiit's far more magical than i ever expected when i first started digging into it20:06
fungiyeah, i'm testing now to see if order matters between those two20:06
fungifor whatever reason, seems order doesn't matter20:06
fungiexample: https://review-dev.openstack.org/10797520:07
fungithis is with the same configuration put in place manually, in the same order20:07
fungithe task footer is correctly hyperlinked, and the its-storyboard plugin also correctly updated the task status and commented on the corresponding story20:08
persiaTo ask another way, can we remove the entry for "name  => 'its-storyboard'," and get the same behaviour?20:08
fungiwithout that, as i understand it, there's nothing to map the "\\b[Tt]ask:? #?(\\d+)" pattern to the its-storyboard plugin call20:09
fungibut i'll try it on a whim20:09
persiaMy thought is that "link  => 'https://storyboard-dev.openstack.org/#!/task/$1'" is so different from "link  => 'task: $1'" that one of them probably doesn't work, unless I'm missing the sheer volume of magic involved.20:09
fungi"magic" in this case is that they overloaded the commentlinks structure to configure bug tracker plugins20:10
persiaWe don't have an equivalent for 'story", which is what made me think we probably didn't need it for "task"20:10
persia(also not for bug, blueprint, etc.)20:10
fungithe reason for no story equivalent is that functionality was never implemented in the plugin (see earlier discussion)20:11
persiaOh, heh, right.  Nevermind.  I understand it all now.  Your patches look roughly correct :)20:11
fungibug and blueprint don't trigger automation via commentlinks, but instead rely on a gerrit commit hook script we write to scrape teh commit messages for similar patterns20:11
fungier, commit hook script we wrote20:12
fungithe its plugin system was added to gerrit to provide a native solution so that deployments wouldn't need hook scripts20:12
persiaThat makes sense.  I suppose migraing the commit hook to an its plugin is somewhere at the dusty bottom of some TODO list somewhere :)20:14
persiaAlso, thanks for explaining the overload on its-storyboard and task: the commit message was much easier to understand after the explanation.20:14
fungithe idea at the time was we'd just move off launchpad and not bother reimlpementing our update-bug.py and update-blueprint.py python scripts in java20:14
fungianyway, i tested with the its-storyboard block removed (so just the story and task ones present) with patchset 7 of https://review-dev.openstack.org/107975 and it did not update the task status nor comment on the story, so i think that proves the unpleasant magic is still present20:16
persiaNow that I understand the magic, my interest in removing something has entirely dissipated :)20:17
fungipatchset 8 too just to be sure20:17
persiaIt's just *very* magic.20:17
funginow i'm putting it back and going to try again with ps920:17
fungiyep, started working again once i put that back, so definitely what's doing it20:20
*** jamesmcarthur has quit IRC21:26
*** jamesmcarthur has joined #storyboard21:36
*** jtomasek has quit IRC21:54
*** tosky has quit IRC22:24
*** jamesmcarthur has quit IRC23:11
*** fatema_ has quit IRC23:38

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