Monday, 2016-07-11

*** alexismonville has quit IRC01:16
*** alexismonville has joined #storyboard01:33
*** alexismonville has quit IRC01:45
*** jmccrory is now known as jmccrory_away_th04:20
*** jmccrory_away_th is now known as jmccrory_away04:20
*** jtomasek has quit IRC07:52
Zaramorning, storyboard!09:25
ZaraI miss anything exciting during my holiday?09:26
pedroalvarezwe finished storyboard!09:27
Zaraomg! nice work! :D09:27
pedroalvarezhah09:27
Zarasounds like I was really slowing things down09:28
Zaraguess I can just go to bed now09:28
Zaranice09:28
Zarawhile on holiday, I found a piano piece called 'storyboard', so we now have a theme tune! (and no, I did not search for things called 'storyboard'; I found it by accident!) https://www.youtube.com/watch?v=zK8IObXNF-o09:33
openstackgerritMerged openstack-infra/storyboard: Add example commands for the Project api  https://review.openstack.org/33773009:35
Zaraoh, I think https://review.openstack.org/#/c/325294/ needs a rebase, too09:58
dabukalamodyssey4me: just saw this, was on holiday. Hope all is well. Have you had any luck with storyboard?10:11
Zaracommit message for https://review.openstack.org/#/c/333418/ refers to authors, but with superusers patch merged, I think it just applies to superusers. I think it should be authors or superusers... but that's a matter for a different patch (and tbh I should've said that in review for the superusers-editing patch)10:21
*** alexismonville has joined #storyboard10:47
*** jtomasek_ has joined #storyboard11:22
Zarahttps://review.openstack.org/#/c/335458/ awaits reviews11:35
pedroalvarezthat one was quick to review11:37
Zara:)11:38
Zaraslowly working through my queue...11:38
*** jtomasek_ has quit IRC11:44
SotKhmm, which superusers patch?11:56
Zarathe one that changes editing of comments so only superusers can do it11:56
SotKthat was changing it so only superusers can delete comments, it didn't change anything about editing11:59
Zaraohhh, I misread, sorry12:02
* Zara is best reviewer12:02
Zarathey were paired together in other patches, so must've assumed; sorry for nosie12:03
Zaraerm, noise12:03
Zaraargh I forgot to turn my email worker on over the weekend jic12:04
Zaragah, failed in the gate12:10
* Zara rechecks12:12
Zarafdsjfldsjfldsjflds spent a while testing, then realised was on wrong branch12:13
Zaraoh, rebase needed here: https://review.openstack.org/#/c/331748/12:14
ZaraI thought that was merged, sorry; woulda poked earlier12:15
Zarahm, just noticed that the 'edit' and 'subscribe' buttons are bigger for worklists than for anything else12:27
ZaraI think they just need to be in <small> tags12:30
Zarait might just be worth doing as part of the subscription-button-for-worklists patch, since otherwise I can send something but you'll have to rebase for it and apply it to stars, and that patch needs a tweak anyway.12:31
SotKI'll do it when I fix that patch then12:37
Zarathank you :)12:37
Zaraand sorry I didn't notice the button-when-logged-out thing earlier.12:38
Zara(aw, poor https://review.openstack.org/#/c/307712/ )12:41
*** alexismonville has quit IRC12:51
openstackgerritMerged openstack-infra/storyboard: Allow worklists to be filtered by subscriber_id  https://review.openstack.org/33545812:53
*** alexismonville has joined #storyboard12:56
Zara\o/12:59
Zaraso I'm looking at https://review.openstack.org/#/c/339286/ ; I have very little python anyway, but I've noticed some idioms have been changed that match those I've seen in code submitted recently, and want to find out how comfortable people are with it.13:34
Zarasince I get the impression we're used to ye olde python round here.13:34
*** alexismonville has quit IRC13:47
anteayahello13:52
anteayawelcome back Zara13:52
anteayathanks for merging that patch SotK13:52
Zarahi! :)13:56
*** alexismonville has joined #storyboard13:58
anteayahow was you time away?13:59
ZaraI slept a bunch. :) how are you?13:59
anteayagood thanks14:00
anteayasleeping is good14:00
anteayait is my favourite hobby14:00
*** alexismonville has quit IRC14:02
Zara:D14:03
Zaradmsimard: oh yeah, meant to say before I went on holiday, then forgot-- thanks for the kind words on the mailing list! :)14:04
anteayaso I'm going to continue working on https://review.openstack.org/#/q/topic:expand-api-docs+status:open this week14:11
anteayaI will share that I believe the Tags api is showing some unexpected behaviour: https://review.openstack.org/#/c/338532/14:12
anteayaI have left notes in that patch14:12
anteayaif anyone has any time to take a peek at what the Tags api is doing, I'd be grateful for the conversation14:12
pedroalvarezanteaya: looking at yout comments in https://review.openstack.org/#/c/338532/1/storyboard/api/v1/tags.py14:16
pedroalvarezfor creating multiple tags, have you tried to use a list?14:17
pedroalvarezparam tags (line 98) says that it's a list14:17
pedroalvarezI'm going go try it, one sec :)14:17
anteayasure14:19
anteayaI hope you have better success that I14:20
anteayaI tried several things last week, my commands are in the inline comments14:20
pedroalvarezhaha, funny "The Story 19 already has a tag story_id"14:20
anteayaI believe I tried a list14:20
anteayayes it does14:20
anteayasince with I give it the param: story_id:19 it creates a tag story_id14:21
anteayawhich I didn't want14:21
anteayaand if I give it a list, is refuses to take it since ti is malformed json14:21
anteayaand if I don't include story_id:id then it says it doesnt' ahve a story_id14:21
anteayaeven though the documentation says you can create a tag that isn't attached to a story14:22
anteayaI can't figure out how to do so14:22
pedroalvarezit's worrying, because it actually uses that "19" to figure out where to  put the tag14:23
anteayait is worrying14:23
anteayathanks I'm glad you have reached the same conclusion I did14:23
anteayaso any tags created using the api currently will also have story_id in the set14:24
pedroalvarezI believe that endpoint is not used from the API14:24
pedroalvarezs/API/webclient/14:24
anteayaoh14:24
anteayathat might explain why this behaviour is news14:24
anteayait is possible noone has tried to use it before14:25
*** jamesmcarthur has joined #storyboard14:30
*** dabukalam has quit IRC14:45
*** dabukalam has joined #storyboard14:46
anteayacan anyone see a worklist at https://storyboard-dev.openstack.org/#!/worklist/3014:52
anteayathe api says it is archived but I created it and can still navigate to it14:53
SotKyes, archived worklists can still be viewed, they just don't show up in search results by default14:54
SotK(and shouldn't show up on the dashboard either)14:54
anteayaah okay, so that is kind of different than I would expect from a DELETE action14:55
anteayaI think I should add those bits to the api docs14:56
anteayaelse we will just have questions about it14:56
SotKyeah, perhaps it would be better as part of a PUT in hindsight15:04
anteayaI've added some explaination, lets see if that is sufficent for now15:10
* SotK leaves comments on the tags patch15:27
Zaraboards page now has a skeleton of search, although it doesn't actually work yet15:39
Zarawill push shortly15:39
anteayaSotK: thanks for the comments on the tags patch15:43
openstackgerritZara proposed openstack-infra/storyboard-webclient: WIP 'All Boards and Worklists' Page  https://review.openstack.org/27975315:44
ZaraI've +1'd the requirements patch but not +A'd it myself, since I don't think I have enough python background to make that call. https://review.openstack.org/#/c/339286/17:15
*** mrmartin has joined #storyboard17:15
Zaraand with that, I'm off for the evening. :)17:15
*** mrmartin has quit IRC17:18
anteayaZara: SotK who would you like to merge it?17:37
anteayacan I ask pleia2 to review https://review.openstack.org/#/c/339286/ ?17:37
pleia2tsk, this is what I get for crawling out from under my pile 'o email ;)17:37
anteayaso glad you are here \o/17:38
anteaya:)17:38
pleia2lol17:38
anteayayou can't stay hidden under email all day17:38
pleia2give me 15 minutes, just want to finish up a couple final emails17:38
anteayayup, thanks17:38
* SotK is happy to merge it now17:45
anteayathank you17:54
*** jamesmcarthur has quit IRC17:56
anteayaSotK: thank you18:11
*** alexismonville has joined #storyboard18:18
*** alexismonville has quit IRC18:29
openstackgerritAnita Kuno proposed openstack-infra/storyboard: Add example commands for the Worklists api  https://review.openstack.org/34050618:29
pleia2well, it got two +As :)18:31
pleia2(was reviewing and didn't notice SotK's approval)18:31
openstackgerritMerged openstack-infra/storyboard: Use a common requirements file  https://review.openstack.org/33928618:44
openstackgerritAnita Kuno proposed openstack-infra/storyboard: Add example commands for the Tags api  https://review.openstack.org/33853218:47
anteayatwo +A's are twice as good, thank you18:51
pleia2hehe18:52
*** jamesmcarthur has joined #storyboard19:03
openstackgerritAnita Kuno proposed openstack-infra/storyboard: Add example commands for the Worklists api  https://review.openstack.org/34050619:16
anteayaSotK: I know it is late for you but are you around at all to discuss the tags api?19:21
anteayaI can't seem to get the PUT command to work as you think it should19:21
anteayaI do appreciate your reviews, thank you19:22
*** jamesmcarthur has quit IRC19:39
*** jamesmcarthur has joined #storyboard19:41
*** jamesmcarthur has quit IRC21:18
*** jamesmcarthur has joined #storyboard21:19
*** jamesmcarthur has quit IRC21:19
*** jamesmcarthur has joined #storyboard21:53
*** jamesmcarthur has quit IRC21:57
SotKanteaya: what happens when you try to run that command?22:16
anteayaI posted the output in the patch22:23
anteayaSotK: https://review.openstack.org/#/c/338532/1/storyboard/api/v1/tags.py22:23
anteaya tried this command:22:24
anteaya curl --insecure https://storyboard-dev.openstack.org/api/v1/tags/19 -X PUT -H 'Authorization: Bearer 4f5a02b4-2946-4df5-a4c5-5f9fbe047efe' -H 'Content-Type: application/json;charset=UTF-8' --data-binary '{"taga","tagb"}'22:24
anteayaand got this error:22:24
anteaya {"debuginfo": null, "faultcode": "Client", "faultstring": "Request is not in valid JSON format"}22:24
*** jamesmcarthur has joined #storyboard22:27
anteayaI get the same error with /stories/19/tags22:31
anteayacurl --insecure https://storyboard-dev.openstack.org/api/v1/stories/19/tags -X PUT -H 'Authorization: Bearer 4f5a02b4-2946-4df5-a4c5-5f9fbe047efe' -H 'Content-Type: application/json;charset=UTF-8' --data-binary '{"taga", "tagb"}'22:31
anteaya{"debuginfo": null, "faultcode": "Client", "faultstring": "Request is not in valid JSON format"}22:31
*** jamesmcarthur has quit IRC22:36
*** jamesmcarthur has joined #storyboard22:38
*** jamesmcarthur has quit IRC22:45
*** jamesmcarthur has joined #storyboard22:47
*** jamesmcarthur has quit IRC22:55
*** jamesmcarthur has joined #storyboard22:57
*** jamesmcarthur has quit IRC23:01
anteayaSotK: ^^23:03
*** jamesmcarthur has joined #storyboard23:05
*** jamesmcarthur has quit IRC23:10
*** jamesmcarthur has joined #storyboard23:15
*** jamesmcarthur has quit IRC23:25
*** jamesmcarthur has joined #storyboard23:25
*** jamesmcarthur has quit IRC23:27

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