Wednesday, 2015-12-16

*** jtomasek has joined #storyboard08:35
SotKIt struck me this morning that people will probably want to be able to subscribe to tags10:17
SotKI should probably go and read the tags spec10:17
pedroalvarezsubscribe to a search maybe?10:18
pedroalvarezstories of project storyboard or project storyboard-webclient that has the tag "bug"10:19
pedroalvarezand priority "high"10:20
* SotK isn't sure if that global priority setting has a future once worklists are in use10:20
Zarayeah, been wondering about that.10:22
* SotK finds that the tags spec already talks about subscriptions, and is pleased10:44
Zaralol, SotK and I just realised that it's possible to put images in storyboard since the markdown patches10:55
Zaraie: hosted on another service, using <img> tags10:55
Zaracan't believe that didn't click earlier xD10:55
openstackgerritAdam Coldrick proposed openstack-infra/storyboard-webclient: Add plugin_email_enabled preference by default  https://review.openstack.org/24166510:58
*** coolsvap is now known as coolsvap|away11:01
ZaraI wanted to demonstrate it in a comment then got paranoid about hotlinking from imgur11:12
SotKdo it on storyboard.sotk.co.uk?11:13
Zara(I daresay it's fine for a one-off, but does openstack have its own image-hosting thing we'd be better off using?)11:13
ZaraI mainly wanted to demonstrate it so other people would be aware of it, because it took this long for it to click for us!11:14
persiaI would like to see classic priorities removed once worklists land.11:23
persiaAlso, if someone has a good image hosting tool, proposing it in infra may be useful.11:23
ZaraI've now asked around there11:30
Zaramy only previous experience with this sort of thing is forums, and people are pretty lax about hotlinking there. (tbf, imgur provides bbcode links so I don't think they'd care about one-off uses, guessing they just wouldn't want to be regularly used for hosting a whole bunch of assets)11:31
Zaraso I'm probably just being paranoid, but hey.11:32
* SotK would imagine imgur don't care about hotlinking unless you're hosting all your assets there11:40
SotKgiven imgur is intended for sharing images11:40
* SotK could be wrong though11:40
Zarayeah, nah, I was just being paranoid11:43
Zarasee also: looked specifically for an image one of us had uploaded instead of something fun, because licensing11:43
Zaradoubt anyone would care11:43
Zarabut comments aren't deletable so just covering our backs11:44
Zara(I was thinking about this on the train-- I think comments should be deletable by admin, because of the risk from spam and dodgy links. although it requires a login to post comments, I think that anyone can have an account, so it still seems like a risk to me.)13:03
*** mase_x200 has joined #storyboard13:06
persiaI remember a similar debate in Launchpad, for which the resolution was delete-by-admin.  In addition to dodgy links, outright obscenity or prohibited speech can be an issue for the hosting organisation.13:08
Zarayeah13:10
ZaraI agree that delete-by-user is a bad idea (I think that point came up a while ago), because threads will be confused, but I think we need some way for admin to delete via the UX so they don't have to resort to fiddling around in mysql13:11
Zaraokay, I don't think I can test the email worker myself, but I can test that it doesn't cause problems elsewhere.13:13
Zaraargh, bug in my events timeline, not sure when introduced13:19
SotK:(13:19
SotKwhat is it?13:19
Zara1-10 displays 4 results. 1-25 displays 5. 1-50 also displays 5. 1-100 displays 13.13:20
Zara(of 190 in all cases_13:21
SotKwhat are your preferences?13:21
Zaraahahaha I'm a fool, I'd unchecked the boxes xD13:22
SotKI still think that is a bug, but its been around as long as the preferences I thikn13:22
Zarawe now know exactly how many 'task details changed' we have per set of results...13:22
SotKwe should filter by preference on the server side imo13:23
ZaraI think it's a bug that it's not obvious to a user what's going on in that situation, but not sure how to represent it tidily. at least I can stop panicking...13:24
Zaraokay, turns out I probably can test but still can't see any emails when I change stories I'm subscribed to etc. wondering if there's anything else I need to do?13:43
SotKhmm, do you see notifications for those changes on the dashboard?13:44
Zarayeah13:45
SotKoh dear, anything useful in the output from the worker?13:45
Zaranothing, am I right in thinking that tox -e venv "storyboard-worker-daemon --config-file ./etc/storyboard.conf"13:46
Zarais the worker command13:46
SotKcorrect13:46
Zaragah.13:46
SotKwhat did you change about the story?13:46
ZaraTried changing the description and adding a tag13:46
SotK:(13:46
SotKyou should have got an email about the description change13:47
Zara:(13:48
ZaraI wonder what's going on13:48
pedroalvarezdidn't you need to install an MTA or something? or is that already installed in your environment?13:49
SotKoh, have you set the email preference?13:50
Zaraidk what an MTA is so it might be that, and the only preferences I've set manually are in storyboard.conf13:51
Zaraso if there's anything else, then I haven't done that yet, and that's probably the problem :)13:51
SotKuse https://review.openstack.org/#/c/241665/ and set it in the web UI is probably the easiest way :)13:52
Zarahahaha, okay, I guess at least I've confirmed that patch as-is won't send emails, so that's good to me (I'm scared we'll spam people accidentally)13:53
Zarawill try with preferences patch now13:53
Zarayay, worked13:55
SotK\o/13:55
Zaraenabling-then-disabling them seems to work, too :P  well, pedro had already checked that-- but I like to be extra careful! :P13:57
SotKhooray!13:57
SotKwe'll need to patch puppet to turn them on in production13:57
Zarahm, do tags not trigger emails atm?13:59
Zaraor comments?14:00
SotKnope, just editing descriptions14:00
SotKand titles14:00
SotKof stories14:00
SotKwell, everything that creates a notification attempts to trigger an email, but there is only a template for updating a story title/description at the moment14:02
SotKso expanding the functionality just means adding templates14:02
Zaraheh, I guess we'll build it up, I think we should make it clear to users what things it currently tracks (maybe it should say that on preferences page)?14:03
ZaraI can see a new user getting confused because emails aren't showing up for comments etc, and I doubt they'll all see things on gerrit.14:03
* pedroalvarez is excited14:04
SotKthat could vary per-instance though14:04
* SotK wonders what the best way is14:04
SotKeg. pedroalvarez may plan to write templates for his instance, so a note on the UI would be a lie14:04
SotKthen again, he may not14:04
ZaraThe alternative is to make the templates first and then merge the UX preferences patch, I guess?14:05
pedroalvarezhm.. I wasn't planning to write my own templates tbh, but I see the point14:05
pedroalvarezif that is possible, some people might want to14:05
ZaraI'm a bit wary of going 'we have working email notifications!' and then people get excited, try them, find they're not useful yet and wander off again.14:06
* SotK suggests that we don't say "we have working email notifications!" just yet :P14:06
SotKmore "we have an initial implementation of email notifications for changes to story descriptions!"14:07
Zaraheh, that works too.14:08
SotKmore realistically, we should maybe add more templates before patching puppet to enable them on storyboard.o.o14:08
Zarayeah, I'd be more concerned if the button for notificatons were more prominent14:08
Zarabecause that could actively confuse users14:08
Zarabut it's on the profile page and people won't see that much14:08
Zaraso interested parties can see progress but I don't think it'll mislead people14:08
SotKmaybe we shouldn't merge that patch until we've patched puppet14:09
SotKhmm14:09
pedroalvarezheh14:10
pedroalvarezare we sure that this puppet script is the one used to deploy?14:10
Zarahave +2'd the worker14:11
SotKI think so, I'll check before I send any patches though14:11
SotK\o/14:11
pedroalvarezso, if Zara has managed to test the patches, that means that the vagrant scripts install a Mail Transfer Agent?14:12
persiaI suggest that notifications not be announced until they are considered to work well.14:13
SotKpedroalvarez: I believe she is using a pre-existing MTA14:13
openstackgerritMerged openstack-infra/storyboard: Single event email worker.  https://review.openstack.org/24034614:14
pedroalvarezwoo14:14
pedroalvarezSotK: what do you mean with pre-existing14:15
pedroalvarezI'm just wondering if we have to do anything in puppet to install that too14:15
* SotK assumes OpenStack have a mail server we can use14:15
persiaAt least there is one for gerrit, but there may well be several.14:16
pedroalvarezmakes sense14:18
pedroalvarezmaybe the database isn't also on the same host?14:18
pedroalvarezwho knows14:18
pedroalvarezSotK: I have the changes needed to the template but in a jinja2 format. Might be easy to translate to puppet templates14:20
* pedroalvarez pastes the info just in case14:22
pedroalvarezhttp://paste.openstack.org/show/482079/14:22
* SotK gets the webclient SHA into the UI successfully14:23
Zarastoryboard meeting in about half an hour btw14:23
SotKpedroalvarez: I expect that will be helpful, thanks14:23
ZaraI completely forgot about it last week14:23
pedroalvarezSotK: ohh!!! you are a grunt expert now :)14:23
SotKfsvo expert :)14:24
pedroalvarezyou know what I mean :)14:24
Zaraone thing I haven't checked is that emails will work well for multiple subscribers. SotK tested some of this with me as he went along, so I've assumed it's still okay, but my instance doesn't have many users so it's something to watch out for.14:26
*** mase_x200 has quit IRC14:26
Zarabtw, I can't merge the preferences-enabled patch yet as it has been updated since pedro's last +1 (and I'm also not sure if people want to merge it, personally I'm okay with it as long as notifications aren't announced yet)14:30
SotKthe update just made the default a string rather than a boolean14:31
SotKI don't think we should merge it without something to say it isn't complete (or even running) at the moment14:32
Zaraokay14:35
SotKis it worthwhile me sending a patch that just adds the webclient version, or waiting until I've come up with a way to get the API version too?14:41
pedroalvarezit is worthwhile as long as it's clear It's referring to the -webclient version]14:44
Zara1 minute 'til meeting!14:59
Zarathe tension!14:59
SotKoh yeah14:59
SotKthe agenda is at https://wiki.openstack.org/wiki/Meetings/StoryBoard if anyone has anything to add14:59
*** pedroalvarez has quit IRC15:00
*** pedroalvarez has joined #storyboard15:01
Zara(and TIL the phrase 'mail transfer agent' B))15:11
pedroalvarezI put exim on google, and used wikipedia's description :)15:12
Zaraheh15:18
openstackgerritMerged openstack-infra/storyboard-webclient: Place most recent items at the top of lists  https://review.openstack.org/25140915:30
Zara\o/15:31
pedroalvarezI'm curious about what was the problem to do this change: https://review.openstack.org/#/c/235476/6..7/src/app/worklists/controller/detail_controller.js15:33
pedroalvarezI guess it was a bug, given that everything else it's at -115:34
pedroalvarezah, it's just a check15:34
SotKyeah its a bug, checking that the index is  > -1 checks if it's in the list, but checking that the index is > 1 checks that it is the 3rd or later item in the list15:34
SotKwhich was broken, as the list in question only had at most two entries15:35
SotK(I missed out the - and didn't notice)15:35
openstackgerritAdam Coldrick proposed openstack-infra/storyboard-webclient: Display the most recent commit SHA on the about page  https://review.openstack.org/25858315:40
pedroalvarezoh no, we broke something15:43
pedroalvarez500: POST /api/v1/worklists: No error details available.15:43
SotK:(15:45
Zara:0 that's happening on master?15:45
pedroalvarezand in s.o.o15:46
SotKwhen creating a worklist?15:46
pedroalvarezwhen creating a board15:46
pedroalvarezit creates the worklist (because I can see them in the dashboard)15:46
pedroalvarezbut the board is not created15:46
SotKo.o15:47
* SotK fails to reproduce15:47
SotKon his test instance anyway15:47
Zarayeah, can't reproduce on my instance, hm15:48
Zaras.o.o seems to be down when refreshed15:49
Zarahang on, there we go15:49
SotKhmm15:49
Zaraare you sure you're logged in?15:49
SotKI reproduced it on s.o.o15:49
Zarajust made a board and it worked15:49
pedroalvarezI noticed this first on teststoryboard.baserock.org15:49
SotKthen it worked when I refreshed and tried again15:49
SotKI wonder if this is related to the access token thing?15:50
Zarabut at first I reproduced it. I'd been logged out, I think15:50
Zarayeah15:50
ZaraI think it's that15:50
pedroalvarezgr15:50
pedroalvarezwell, grr, and phew at the same time15:50
Zarayeah15:50
Zaraa bug, but not as bad as we feared15:50
pedroalvarezit is the bug15:51
-openstackstatus- NOTICE: Gerrit will be offline for a software upgrade from 17:00 to 21:00 UTC. See: http://lists.openstack.org/pipermail/openstack-dev/2015-December/081037.html16:21
pedroalvarezoh, that's in 40 minutes16:22
pedroalvarezmerge all the things!16:22
pedroalvarezI only  have one patch more to review :)16:25
pedroalvareztrying to reproduce this problem now: https://review.openstack.org/#/c/256457/16:26
pedroalvarez(the problem that this patch solves)16:26
SotKview a board you can edit in chrome to see it at its worst16:26
pedroalvarezOh yes16:29
pedroalvarezcards not taking all the space of the lane16:29
pedroalvarezthat works16:29
SotKok, I think we actually need to patch openstack-infra/system-config to make changes to production16:30
pedroalvarezSotK: I looked for the right place in that repo and didn't find it :S16:31
* pedroalvarez finishes reviewing16:31
SotKyeah, I'm struggling too16:33
SotKperhaps it somehow gets its templates from puppet-storyboard16:36
SotKI'll ask in infra16:36
*** persia has quit IRC17:00
*** thrace has quit IRC17:00
-openstackstatus- NOTICE: Gerrit is offline for a software upgrade from 17:00 to 21:00 UTC. See: http://lists.openstack.org/pipermail/openstack-dev/2015-December/081037.html17:06
*** ChanServ changes topic to "Gerrit is offline for a software upgrade from 17:00 to 21:00 UTC. See: http://lists.openstack.org/pipermail/openstack-dev/2015-December/081037.html"17:06
pedroalvarezjust tested the API version patch. Live here: http://teststoryboard.baserock.org/#!/page/about17:12
SotKs/api/webclient/ I guess?17:12
pedroalvarezoh yes17:15
*** jtomasek has quit IRC17:43
*** dabukalam has quit IRC17:54
*** Zara_ has quit IRC17:54
*** dabukalam has joined #storyboard17:54
*** Zara_ has joined #storyboard17:55
Zaragah, it's annoying that storyboard was rolled out to infra too early; looks like people still think there are bugs that must have been fixed n months ago.18:14
Zaragood lesson in there about dogfooding if you don't supply adequate resources to improve things.18:15
Zarawelp, gerrit's down so can't do much now; night, all! :)18:21
*** persia has joined #storyboard18:39
*** persia_ has joined #storyboard18:39
*** ChanServ changes topic to "StoryBoard - A task tracker for OpenStack development needs :: http://storyboard.openstack.org/ :: https://wiki.openstack.org/wiki/StoryBoard"21:02
-openstackstatus- NOTICE: Gerrit has been upgraded to 2.11. Please report any issues in #openstack-infra as soon as possible.21:02

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