Thursday, 2016-08-25

*** aswadr_ has joined #storyboard04:41
*** matthewbodkin has joined #storyboard07:35
*** yarkot1 has quit IRC07:40
*** fay has joined #storyboard07:56
*** fay is now known as faybrocklebank07:56
*** openstackgerrit has quit IRC08:48
*** openstackgerrit has joined #storyboard08:48
*** bethwhite_ has joined #storyboard08:52
Zarahm, https://bugs.launchpad.net/trove/+bug/1294904 looks like the thing in our logs09:40
openstackLaunchpad bug 1294904 in OpenStack DBaaS (Trove) "tox tests occasionally fail on quota tests with "Mismatch Error"" [Low,Confirmed]09:40
Zarais it just those patches?09:40
SotKyeah, I suspect there is something weird in either our code or our test code since we've never seen it before09:48
ZaraI wonder if it's interpreting % as modulo09:48
Zarain https://git.openstack.org/cgit/openstack-infra/storyboard/tree/storyboard/tests/api/test_comments.py09:49
Zaraidk why it would suddenly do that or go wrong now, though, and I feel like it'd be a more dramatic error09:50
SotKhooray I finally reproduced it locally10:29
SotKnow to find out why it doesn't work10:29
SotKhmm, it seems to work when not authenticated, but fail when authenticated10:46
SotKgetting somewhere10:46
Zarayay11:00
Zarathat sounds hopeful11:01
* SotK sends https://review.openstack.org/359895 again11:29
SotKget it together openstackgerrit11:29
Zarait says 'nah, mate'11:29
SotKif the tests fail now I'll be extra confused11:29
*** alexismonville has joined #storyboard11:33
*** alexismonville has quit IRC11:38
SotKargh12:02
openstackgerritAdam Coldrick proposed openstack-infra/storyboard: Hide timeline events and comments of private stories  https://review.openstack.org/35989512:03
SotKwhen you remake the fix on a different machine...12:03
SotKgood afternoon openstackgerrit12:03
Zara:)12:04
*** alexismonville has joined #storyboard12:07
Zarajust remembered I was reading a novel the other day, and it included the sentence, "What *is* Jenkins?". made me laugh.12:18
*** wendar_ has joined #storyboard12:19
persiaWodehouse?12:20
*** wendar has quit IRC12:20
ZaraThackeray12:20
*** persia_ has quit IRC12:25
*** persia_ has joined #storyboard12:26
Zaraoh yay, test passing12:50
Zaraguess I can take a look again now12:50
*** yarkot1 has joined #storyboard13:03
SotK\o/13:09
matthewbodkinDoes anyone know if we have a .less file for the about page or anything like that to avoid me having to put a `style=""` in the html file?13:09
persiamatthewbodkin: Does it need to be an about-specific file?  Could it be an about-specific style in a more generic file?13:17
matthewbodkinThat's what I was thinking because there doesn't seem to be an about-specific file, I'm just not sure what other generic file it would be and was hoping someone could point me in the right direction13:19
matthewbodkinIt's no worries I can just keep looking but I didn't know if the file in question was somewhere obvious and I just couldn't see it13:21
Zaraokay, so it's possible to find that hidden comments exist, but not what they say, as the error message for no comment isn't the same as the message for a hidden comment13:58
Zara'Comment 165 not found'13:58
Zarais when comment is hidden13:58
Zara''NoneType' object has no attribute 'event''13:58
Zarais when comment is not present13:58
Zaraalso, the faultcode is 'server' for the real 404 and 'client' for the fake one13:59
ZaraI don't know that it's a big concern but it does suggest that it's reporting that they're being treated differently, which might mean that reporting is happening elsewhere14:00
Zarafor stories, though, the codes are the same (ie: 'story x not found' whether it's hidden or not present)14:00
Zarasuspect this may be the case for any attribute of a hidden thing14:01
persiaIs that just a UI failure, or are things usefully blocked in the API?14:01
Zaraapi (I'm using the browser to navigate to api/v1/ and not passing any auth)14:03
Zarathere's no way to browse to events directly under the ui, so users will just get the story error14:05
Zaraso that side should be fine14:05
Zarasince that's the same for hidden/non-existent stories14:05
Zarayou'd also have to be paying pretty close attention to notice the things were different.14:06
persiaRight.  I just feared there may have been a bug processing data, rather than sending.  I do not think that is too dangerous a leak: one can get the entire population of a thing, and deduce the hidden ones by gap analysis anyway.14:08
Zarayeah, theoretically they *could* have been removed so the deduction would be uncertain-- but I agree that this on its own isn't a big problem14:09
Zaramy only concern is if it suggests that something else isn't being handled in the way we want to handle 'private' things14:09
Zarain a way that could be more of a problem14:09
persiaAh, true.14:15
SotKhm, that is unintentional, will fix14:18
Zarahah, I +2d since it was still an improvement, but it doesn't have +1s for +A yet, so cool14:20
Zaraas far as I'm aware, the about page doesn't have any specific styling; if you give more detail about what issue you're trying to fix then we might be able to point you at the right place in the code.14:28
Zaramatthewbodkin ^14:28
matthewbodkinthe small print at the bottom of the page 'Webclient version: ...' runs off the edge of the page when in mobile view. This can easily be fixed by using word-wrap: break-word but I'd have to add a style="" to do that14:31
matthewbodkinit has a class called text-muted but if I do anything to that class in another file then I fear that could cause problems with everything else that has that class14:33
matthewbodkinif that makes sense haha14:33
SotKit does :)14:35
SotKyou can just give it a new class as well and define it somewhere relevant14:36
* SotK would suggest in src/theme/base/typography.less14:36
matthewbodkinI was thinking of giving it an id so that I could target that id and class so it'd only affect the line I want14:36
matthewbodkinokay yeah14:37
Zara(yeah, I think the text-muted class is just meant to grey out the text so we shouldn't sneak that in there.)14:37
Zarastoryboard has 'truncate' used in places so you might be able to use that14:37
SotKgood point actually, we could just truncate the sha to 7 characters and have done with it14:38
matthewbodkinokay so if I just give it the class truncate then all will be well?14:38
persiaSo class="text-muted truncate" ?14:38
matthewbodkinokay great thanks14:38
Zaralooking around, it's a filter rather than a class14:38
matthewbodkinsimple enough14:38
matthewbodkinoh okay14:38
Zarathere are examples in src/app/search/template/whatever_search_item.html14:39
Zaraso that should let you cut the sha down to an arbitrary number of characters14:40
Zara(and similar for other things that stretch on into the distance)14:40
*** openstackgerrit has quit IRC14:48
SotKactually, the sha is interpolated in the build process so it may be an interesting experiment combining that with an angularjs filter somehow14:49
SotKor it may be simple, idk14:49
*** openstackgerrit has joined #storyboard14:49
ZaraI wonder if there are any problems if we can style things so that things are wrapped globally (eg: will it mess up pasted commands?)14:51
Zarathat'd solve the 'chaos when blah title too long' issue, too14:52
Zarabut I assume it's akward14:52
SotKit will likely be awkward to not mess up things14:53
SotKbest way to do it would be to create a class that does some wrapping and set it on everything we want wrapped14:53
Zarayeah, I felt like that would be 'most everything' so wondered if the inverse made more sense14:54
SotKeven then we will probably find some interesting corner cases14:54
ZaraI'm all for finding out the results of the experiment, anyway14:54
SotKwell, wrapping a table row for example won't work so well (assuming you have the mobile case in mind)14:54
*** alexismonville has quit IRC14:56
Zaras/everything/every-text-thing (I'd assumed it could just identify those without it being explicitly communicated, but maybe not)14:58
*** alexismonville has joined #storyboard15:00
ZaraI checked the interpolation+truncate thing; should work if it's told to treat the value as a string15:12
openstackgerritMatthew Bodkin proposed openstack-infra/storyboard-webclient: Make sidebar submenu the same length as sidebar  https://review.openstack.org/35555415:47
*** matthewbodkin has quit IRC16:00
Zarasent docs for our commit messages16:39
Zarabtw that reminds me, the other thing that makes life easier when triaging is when storyboard task title = commit message title16:39
Zarasince things can be searched16:40
openstackgerritAdam Coldrick proposed openstack-infra/storyboard: Hide timeline events and comments of private stories  https://review.openstack.org/35989516:40
Zarayay16:41
* Zara idly wishes 'updated' field was useful, for the millionth time16:43
SotKupdated_at you mean?16:45
Zarayeah (I was just looking at the ui at the time, but that's the data)16:45
Zarasince it just grabs the direct attributes of the thing, so when you update a task in a story... no change16:46
Zaraso I use recent events for that, but that will only list things I'm subscribed to (and similarly, the hacky workaround of making a miniscule change to a story description whenever updating a task will only help you find stories you've changed recently)16:47
*** alexismonville has quit IRC17:04
ZaraI've been able to test the 'hide things' patch as logged in story-user and logged out, but not as 'logged in but not listed as user of that story'18:01
Zaraideally we can check that quickly tomorrow morning18:02
Zarait looks good so far and seems like an improvement so have +2'd but tests need to run anyway18:02
Zaraand gerrit is unhappy atm anyway so I think that'll take a while18:02
Zaraso, 'night!18:02
*** aswadr_ has quit IRC18:21
-openstackstatus- NOTICE: The Gerrit service on review.openstack.org is restarting to implement some performance tuning adjustments, and should return to working order momentarily.19:47
*** alexismonville has joined #storyboard21:46
*** alexismonville has quit IRC22:52

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