Tuesday, 2018-09-04

*** udesale has joined #storyboard04:12
*** mugsie has quit IRC05:49
*** dtantsur|afk is now known as dtantsur07:26
*** tosky has joined #storyboard07:41
*** jpich has joined #storyboard07:57
*** jaosorior has joined #storyboard09:47
*** mugsie has joined #storyboard10:47
*** udesale has quit IRC11:24
*** jamesmcarthur has joined #storyboard12:46
*** jamesmcarthur has quit IRC13:05
*** mriedem has joined #storyboard13:36
mriedemam i blind or is there no delete story button?13:36
SotKyou are not blind13:38
SotKsuperusers have the ability to archive stories13:38
SotKotherwise marking all the tasks invalid is a good indicator the story isn't valid anymore13:38
mriedemyikes ok13:39
SotKiirc its like that to avoid situations where anyone with an ubuntu one account can run a script to drive-by delete/archive everything13:41
SotKsince we don't want restrictions on who can interact with stories13:42
SotKmaybe its a bit of a pointless restriction though, since anyone could just drive-by update everything with blank content13:42
SotKit was probably more important before we made delete mean "archive" instead13:43
SotKhuh, apparently I dreamed that stories get archived not deleted, since that doesn't seem to be the case13:44
*** jamesmcarthur has joined #storyboard13:45
mriedemyeah you can't delete bugs in launchpad either13:47
mriedemso it's fine, as long as invalidating all the tasks makes the story itself go away13:48
SotKyeah, it will go away unless you actively look for invalid stories13:48
mriedemok that wfm, thanks13:49
*** udesale has joined #storyboard13:59
fungiagreed. stories are history. deleting stories is deleting history, and we reserve that for situations where the story itself is pure advertising spam or similar abuse14:01
toskydid I ask already about duplicated stories and merging them (if it's possible and I didn't see it, planned, or if there is another workflow)?14:04
persiatosky: Not possible.  Been talked about a lot.  I've yet to hear of anyone volunteering to try to implement it, but I may have missed some backscroll and/or email.14:05
toskythat's probably the only feature that I miss, because sometime new people open duplicated stories and there is no way to logically link them to an existing one14:05
persiaTo me, simple implementation is to be able to "mark duplicate", which hides a story and provides a link to the main story if one finds the dup.  Sadly, this runs into issues about comment interactions, reconciling tasks, etc. which convinced me that it needs some actual thought to be able to do it correctly.14:06
*** johnsom has joined #storyboard14:07
*** mriedem has left #storyboard14:28
fungihrm, is anybody else having trouble creatnig new stories on storyboard.o.o? i'm getting this at the moment:14:30
fungi400: POST /api/v1/tasks: Invalid input for field/attribute task. Value: '{'story_id': 2003647, 'project_id': 'openstack-infra/storyboard-webclient', 'title': 'Set href rel attribute to nofollow'}'. invalid literal for int() with base 10: 'openstack-infra/storyboard-webclient'14:30
SotKoh my14:32
fungiokay, i think i figured it out14:32
SotKhow did you attempt to create the story?14:32
fungifrom the openstack/storyboard-webclient project page i used the create new drop-down14:32
SotKfrom https://storyboard.openstack.org/#!/project/openstack-infra/storyboard-webclient by any chance?14:32
SotKsnap14:33
fungiit pre-filled the project for the initial task, but seems to be attempting to pass the literal story name instead of the index14:33
fungiyes, if i delete the last character from the project name and then choose it from the typeahead completion on a fresh story create, it works14:33
SotKhttp://git.openstack.org/cgit/openstack-infra/storyboard-webclient/tree/src/app/storyboard/controller/header_controller.js#n52 needs modifying to handle the case where the id is a name14:34
fungialso the workaround only solves it if you abort the old story creation dialog and start fresh. once it breaks you can't get it to submit by editing the project name and reselecting it14:34
SotKhm interesting14:34
fungislightly different api error which i didn't capture14:35
SotKwhat if you select a different project, then reselect the one you want?14:35
fungii'll find out14:35
*** jamesmcarthur has quit IRC14:36
SotKamusingly, I think that the "+ Add Story" button which we should probably get rid of at some point will work as expected14:38
fungino dice: 400: POST /api/v1/stories/2003649: Invalid input for field/attribute story. Value: '2003649'. unable to convert to Story14:41
fungii have a feeling it's burning story ids on create attempts and leaving them with no initial task, but i haven't checked the db14:42
SotKyep: https://storyboard.openstack.org/#!/story/200364914:42
SotKthe story was created but not the task14:43
fungiand yes, the +Add story button works fine14:43
SotKthen trying again without closing and reopening the modal probably caused the "new story" object it has to get an ID in it14:43
SotKwhich the API then didn't like14:43
* fungi goes down a storyboard-webclient rabbit hole14:44
fungii was just going to add 2003648 as a wishlist about adding rel="nofollow" ni links rendered from user-submitted content14:45
fungi2003650 is now filed for the project name being passed where an id is expected14:45
fungii'll open another about the empty story creation14:45
fungi2003651 is for the taskless story creation blocking the modal14:51
*** jamesmcarthur has joined #storyboard14:59
SotKthanks :)15:04
*** openstackgerrit has quit IRC15:20
*** jamesmcarthur has quit IRC15:43
*** jamesmcarthur has joined #storyboard15:43
*** jpich has quit IRC16:31
*** udesale has quit IRC16:51
*** mriedem has joined #storyboard17:31
mriedemso https://docs.openstack.org/infra/storyboard/webapi/v1.html#stories says that stories records have a status17:32
mriedembut is the list of available statuses defined somewhere?17:32
mriedemis it just these? https://github.com/openstack-infra/storyboard/blob/master/storyboard/db/models.py#L33017:34
mriedemi'm assuming the collection of task statuses determine the overall story status? so if all tasks in a story are invalid, the story itself is invalid?17:36
*** diablo_rojo has joined #storyboard17:47
mriedemyup i guess it does17:55
SotKyes, thats correct18:06
SotKall tasks merged or invalid maked the story "merged"18:07
SotKcurrently any other combination is "active"18:07
*** jamesmcarthur has quit IRC18:12
*** dtantsur is now known as dtantsur|afk18:21
*** jamesmcarthur has joined #storyboard18:32
*** jamesmcarthur has quit IRC18:36
*** jamesmcarthur has joined #storyboard19:11
*** jamesmcarthur has quit IRC19:15
*** jamesmcarthur_ has joined #storyboard19:15
*** mriedem has left #storyboard19:19
*** lbragstad has joined #storyboard19:19
lbragstadi have a quick query question - is it possible to filter a story by task status?19:20
lbragstadfor example - say i wanted to filter all projects that have this goal 'In Progress' https://storyboard.openstack.org/#!/story/200154619:20
lbragstadi tried doing something like story:$TITLE AND status:'In Progress' but it didn't return anything19:21
*** jamesmcarthur_ has quit IRC19:33
persialbragstad: I think not in the base UI.  I think you can with automatic worklists, where the query results populate a worklist.  Alternately, you should be able to do so fairly easily with the API directly, if you have another plan on how to view it.19:40
lbragstadack19:40
*** jamesmcarthur has joined #storyboard20:21
SotKI don't think even the api supports filtering stories by *task* status at the moment21:25
SotKfiltering by inferred story status works, but that might not be fine-grained enough (either Active, Merged, or Invalid atm)21:26
*** openstackgerrit has joined #storyboard21:36
openstackgerritAdam Coldrick proposed openstack-infra/storyboard master: Support getting project groups by name  https://review.openstack.org/59004721:36
openstackgerritAdam Coldrick proposed openstack-infra/storyboard master: Support getting project groups by name  https://review.openstack.org/59004721:41
*** jamesmcarthur has quit IRC22:50
*** jamesmcarthur has joined #storyboard22:51
*** jamesmcarthur has quit IRC22:52
*** jamesmcarthur has joined #storyboard23:44
*** tosky has quit IRC23:48
*** jamesmcarthur has quit IRC23:48

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