Friday, 2018-02-16

dhellmannok, it is too late in the day to figure out how to add a required parameter via WSME00:00
dhellmannI wonder if it would make sense to change all of that to jsonschema anyway00:01
openstackgerritDoug Hellmann proposed openstack-infra/storyboard master: handle missing lanes arg when creating a board  https://review.openstack.org/54516800:19
openstackgerritDoug Hellmann proposed openstack-infra/storyboard master: handle missing filters arg when creating a worklist  https://review.openstack.org/54516900:19
openstackgerritDoug Hellmann proposed openstack-infra/storyboard master: use required enums to validate 'type' args  https://review.openstack.org/54517000:19
diablo_rojodhellmann, thanks for the patches!00:21
dhellmannthat still results in my script creating a board with no lanes :-(00:21
dhellmannbut it does create the board and the worklist00:21
dhellmannI create the board, then the worklist, then add filters to it00:22
dhellmannI'm assuming that I have not properly associated the board and worklist somehow but I'm not sure what I'm missing from that00:22
dhellmannthe script is in http://paste.openstack.org/show/673316/00:23
* diablo_rojo looks00:23
dhellmannI will try changing it to pass the worklist definitions when I create the board, but I was trying to follow what I thought the UI was doing in terms of making API calls00:24
dhellmannah, so apparently after I create the worklist I have to push a new definition of the board that includes that worklist00:46
dhellmannthat is unexpected00:46
dhellmannso, I'll probably just update the client to pass all of the data in a single call instead00:46
dhellmannand that'll be tomorrow00:47
*** persia_ has joined #storyboard00:48
*** persia_ has quit IRC00:50
*** persia_ has joined #storyboard00:51
*** thrace has joined #storyboard00:54
*** persia has joined #storyboard00:54
diablo_rojoSounds like a simpler fix01:03
diablo_rojoDefinitely unexpected that you need to give it a new definition01:03
persiaMy vague memory of workflow was an assumption that folk would create worklists and then boards, but I've always felt the board design was bolt-on, rather than being a prime focus: maybe the model ought be revisted for that.01:09
persiaBut updating the board to include the new worklist is consistent with that memory, as much as that might seem like unexpected behaviour from a boards-first perspective.01:10
*** udesale has joined #storyboard04:09
*** openstackstatus has quit IRC06:27
*** openstack has joined #storyboard06:29
*** ChanServ sets mode: +o openstack06:29
*** openstackstatus has joined #storyboard06:30
*** ChanServ sets mode: +v openstackstatus06:30
*** jtomasek has joined #storyboard08:40
SotKoh good, the publish-openstack-javascript-content job is still broken09:22
SotKI suspect the worklists and boards code is quite coupled to the webclient implementation of things, which (for example) creates a worklist and then updates the board to contain it09:36
SotKit being that way around is an artifact of the workflow persia mentioned, initial ideas involved being able to add pre-existing worklists to your board09:37
SotKpermissions make that sadly complicated though09:37
SotKI also think that worklist_filters.type is a thing left over from a worse implementation of worklist filters and it should probably go away09:39
SotKalso, thanks for the patches dhellmann, and sorry that the python client is so far behind the webclient09:40
openstackgerritMerged openstack-infra/storyboard master: remove unused variable in test-cleanup.sh  https://review.openstack.org/53969510:07
*** udesale_ has joined #storyboard10:07
*** udesale has quit IRC10:10
*** udesale__ has joined #storyboard10:16
*** openstackgerrit has quit IRC10:18
*** udesale_ has quit IRC10:19
*** udesale_ has joined #storyboard11:29
*** udesale__ has quit IRC11:32
*** udesale_ has quit IRC11:34
*** udesale has joined #storyboard12:41
*** udesale has quit IRC14:08
*** udesale_ has joined #storyboard14:08
*** aspiers has quit IRC16:33
dhellmannpersia , SotK : when I try to pass the lane and worklist data in the call that creates the board I get an error because the worklist needs an ID. But I don't know the ID, yet. So does that mean I have to create the worklist separately and then pass the same data when creating the board?16:36
*** udesale_ has quit IRC16:37
*** aspiers has joined #storyboard16:43
SotKdhellmann: yeah, you need to create the worklist first and then pass the "lane" object when creating the board (eg. something like "lanes": [{"worklist_id": 1, "position": 0}] iirc)16:43
dhellmannah, ok16:43
dhellmannso I don't need the full worklist definition there, just its id16:43
persiaYes.16:44
dhellmannok. I'm trying to make this tool idempotent. Do you have any tips for figuring out if the worklist already exists if it's not tied to the board at the time it is created?16:44
dhellmannthe title of the board is going to be pretty generic, since it's a lane16:45
dhellmannunless the lane and list can have different titles?16:45
* dhellmann checks the data model16:45
SotKthe lane just uses the list title, this isn't a use case I've considered a lot really :/16:46
SotKa "lane" is just a mapping between boards and worklists with a "position" attribute16:47
SotKs/with a/ with an added/ might make more sense there16:48
dhellmannyeah, that's what I thought16:48
dhellmannMaybe the thing to do is create the lists with long well known names, associate them with the board, then change the names when the board is fully created.16:50
dhellmannthat feels very complicated, though16:50
SotKthat's the best thing I can think of doing without changing the data model16:51
persiaWe really should talk about the data model though.  If we want to have first-class boards (I'm not a fan, but appreciate that others are), then we ought avoid situations where we have 95 worklists named "backlog".16:55
persiaBut I think for dhellmann's script, best to do it the complicated way (for now), and talk about the data model if we can organise having most of us in the same place and timezone.16:56
dhellmann\o/ got it working17:49
dhellmannhttps://review.openstack.org/537690 is the start of the series with the script and http://paste.openstack.org/show/674741 has the full text17:50
dhellmannthanks, persia, SotK , Zara, and diablo_rojo for your help17:50
persiaThanks a lot for exercising the python client.  While some effort went into trying to keep it up to date, a total lack of identified users didn't help keep anyone motivated.17:51
persiaNow that it has a user, I think we can start to think sensibly about how to make the experience smoother, improve the representations, etc.17:52
*** openstackgerrit has joined #storyboard17:52
openstackgerritDoug Hellmann proposed openstack-infra/storyboard master: use required enums to validate 'type' args  https://review.openstack.org/54517017:52
openstackgerritDoug Hellmann proposed openstack-infra/storyboard master: mark worklist filter_criteria as a required field  https://review.openstack.org/54540517:52
openstackgerritDoug Hellmann proposed openstack-infra/storyboard master: mark FilterCriterion title as a mandatory field  https://review.openstack.org/54540617:52
dhellmannpersia : yeah, I'd like to see an actual release and to have the python API reflect things like required parameters for calls to make it easier to do the right thing17:53
dhellmannfor now I'm just building my virtualenv by hand to run this tool17:53
persiaI think those are achieveable.  There has been talk about a storyboard session at PTG, but I don't know that any specific slot has been scheduled or even that everyone has committed to having time to think about storyboard at PTG.17:54
dhellmannI'm interested in participating if we can put something together17:55
dhellmannfor now, it's time for lunch17:55
diablo_rojo_phonNothing has been scheduled yet. I was looking at maybe Tuesday afternoon and Wednesday morning. Gotta double check my schedule, but I was trying to keep hours here and there for StoryBoard.17:56
SotKI will be at the PTG most likely thinking about StoryBoard for a large portion of the time17:57
SotKthough I won't be around on Friday17:57
persiaThat's probably enough of us.  Shall we look at something Wednesday then?18:03
SotKI feel like Wednesday is the traditional day for StoryBoard sessions18:05
diablo_rojo_phonSounds good to me.18:36
dhellmanndiablo_rojo_phon : I'm not going to be available on Tuesday but could join Wednesday after we tag the final release18:50
diablo_rojoSounds like Wednesday is the best day for a bigger group get together/chat18:51
dhellmanndiablo_rojo , SotK , Zara , persia : I could use a +1 from you on this release request for the python client: https://review.openstack.org/54543718:59
dhellmannI'm happy to serve as release liaison for storyboard, but as it's currently designated as part of the infrastructure team I don't know how that would work19:00
dhellmannI wouldn't want to take on all of the deliverables the infra team manages19:00
diablo_rojodhellmann, done19:00
dhellmanndiablo_rojo : thanks19:00
diablo_rojodhellmann, lol yeah I wouldn't either. I can't even imagine how many that is.19:01
diablo_rojoI'll back you as our release liaison.19:01
dhellmannI wonder if it makes sense to spin storyboard out into its own team19:01
diablo_rojoI had been thinking about that for a while. I think it makes sense under infra..but maybe if its on its own team it will get more attention?  I dunno. Something we can discuss at the PTG- what that would look like.19:02
dhellmannsomething to discuss at the ptg, maybe19:02
diablo_rojodhellmann, :)19:02
dhellmannheh, yeah19:02
* dhellmann runs off to take care of another errand19:03
persiaRelease makes a lot of sense.  Last substantial code change before dhellmann's patches seems to be September 2016.19:03
persiadhellmann: My only concern with release is whether you need a couple more quick changes before a release happens.  If it works well enough (but not ideally), then release before the session is probably sensible.19:04
persiaOn having a separate team: that several folk in Infra can review has been very useful in taking care of things sometimes: unless there is a sponsor for at least one developer at least half-time, I think a team would be overkill.19:05
persiaOf course, if people think having a team would cause that sponsorship to happen, then it might make sense (assuming a willing individual to consume that sponsorship)19:06
dhellmannpersia : releases are pretty cheap and easy, so if we find issues with this version we can iterate19:41
dhellmannI can't really see having a team drive sponsorship for contribution; I just wondered if the team was self-sufficient enough19:42
dhellmannand anyone from the infra team who wanted to remain a reviewer could, of course19:42
dhellmannthe whole question was triggered by my first version of that patch, which didn't pass validation locally because "storyboard" wasn't the name of the team that owned the repo :-)19:43
persiaI think that's an actual bug in the script.  There are lots of repos where that is true, especially for the teams with more repos than others.19:46
persiaOn the other hand, Infra is *huge*: that's nice sometimes, because it usually means one can find helpful hands in neighbour projects, but it also means that there are many repos for which there are other repos in the openstack-infra/ namespace that have no connection or overlap at all.19:48
persiaIt also means that key infra folk (which title I avoid to avoid highlighting) can come fix whatever project is necessary to get the infra working again in the event of an outage, which is absolutely critical to ensuring the level of service we have all come to accept.19:49
dhellmannthe release validation checks the governance list to verify that all repos are owned by a team under governance19:53
dhellmannand we use the team to identify the PTL and liaison who we expect to either submit or sign off on the release19:54
dhellmannso it's more of a communication check for the release team19:54
persiaMakes sense, but as we're hiding under clarkb's umbrella, he really is the right person to make that decision.20:17
openstackgerritDoug Hellmann proposed openstack-infra/python-storyboardclient master: build universal wheels  https://review.openstack.org/54544620:19
openstackgerritDoug Hellmann proposed openstack-infra/python-storyboardclient master: remove sphinx-isms from README.rst and clean up docs  https://review.openstack.org/54544720:25
openstackgerritDoug Hellmann proposed openstack-infra/storyboard master: mark worklist filter_criteria as a required field  https://review.openstack.org/54540521:00
openstackgerritDoug Hellmann proposed openstack-infra/storyboard master: mark FilterCriterion title as a mandatory field  https://review.openstack.org/54540621:01
openstackgerritDoug Hellmann proposed openstack-infra/python-storyboardclient master: remove sphinx-isms from README.rst and clean up docs  https://review.openstack.org/54544721:42
persiadhellmann: Thanks for documenting the test results match my reading of the code :)21:48
dhellmannpersia :-)21:49
persiaYou also seem to have fallen for the mail delay loop recheck that almost caught me :)  That was patchset 1 that got the python27 timeout, but it doesn't matter that much (as we aren't likely to have core review until tomorrow)21:49
dhellmannoh, oops21:50
dhellmannsomeday I'll figure out how to read a gerrit screen21:50
persiaI think it only happens when hyperefficient developers fix issues before Zuul has a chance to report on the last version.21:51

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