Monday, 2016-02-29

*** jtomasek has joined #storyboard08:07
SotKgood morning storyboard!10:35
Zaramooooooorning!10:36
Zarait took me three tries to type that; definitely the morning10:36
openstackgerritMerged openstack-infra/storyboard: Add Due Dates to relevant WSME models  https://review.openstack.org/28431510:45
openstackgerritMerged openstack-infra/storyboard: Update `PUT /v1/worklists/:id/items/:id` to allow assigning a due date  https://review.openstack.org/28431610:46
openstackgerritAdam Coldrick proposed openstack-infra/storyboard: Archive cards instead of deleting them  https://review.openstack.org/28539210:54
-openstackstatus- NOTICE: Infra currently has a long backlog. Please be patient and where possible avoid rechecks while it catches up.12:07
betherlystarting storyboard setup from scratch as not entirely sure where ive got to and ugh...errors12:41
betherlyhttp://docs.openstack.org/infra/storyboard/install/development.html12:41
betherlypretty sure the first time i skipped Launching the development VM and went straight to the API stuff as wasnt sure how the dev VM fit into everything else12:42
betherlyi am not instructed to download the storyboard repo until the API instructions so what am i doing vagrant up on and is it necessary as well as the API server and the Javascript-based web client stuff?12:43
ZaraI think it's a different approach to the same thing, so we should make that clearer in the docs12:44
Zara(since I haven't tried the vagrant steps so idk if they actually work...)12:44
Zaraso best to go straight to API instructions12:45
Zaraand then the webclient instructions after those12:45
Zara(reading through now, looks like step 3 of the 'vagrant up' instructions imply that you've cloned the repo, so possssibly you can substitute that for step 3 of the API instructions, but that hasn't been tested recently :/)12:47
betherlyim going to be bringing back up the docs to edit as i go and update them12:51
betherlyi feel like it needs to be clarified that its a totally different approach rather than the first step.12:54
Zaracool, thanks. :) yeah, I'm not sure how much overlap there is. probably because I've never used vagrant. :/ I'd imagine it's 'install virtualbox, install vagrant in virtualbox, clone storyboard repo and then run vagrant up in that directory' (and then maybe do some steps from the API Instructions that turn out not to be covered by that)....12:54
betherlymaybe worth having a third page of docs?12:54
betherlyie: 'Quick Install for Operators' 'Install using Vagrant' 'Installing and Running Manually for Developers'12:55
ZaraI think it should be a section on the developers page, but since I have no confidence in the content being up to date, maybe it'd be better to put it nearer the end (as there are other 'optional steps' naer the end)12:56
Zarathat way if someone knows what they're doing with vagrant, they'll see a heading for it12:57
Zarabut it won't confuse people, or put them in a position where they're asking for help with it in here and we don't know any more about it...12:57
ZaraI think the idea is it's a 'quick install for developers' but it hasn't been used in over 6 months.12:59
betherlyah true that12:59
Zaramayyybe we should just delete it, I'm not sure. it might work! :/13:00
betherlyIll try testing it through at some point and see what steps are actually working / required13:00
betherlyill move it to the end for now but when i get round to that having a 'quick install for developers' page might be clearer. but as you say, maybe not a good idea now while we dont know even if it really works13:00
Zarayeah, also the more pages, the more daunting it can be for a newcomer13:02
betherlytrue13:03
SotKthe vagrant machine just handles mysql and rabbitmq (and sets them up automatically), its not set up for actually running the api in the vagrant vm13:03
*** mrmartin has joined #storyboard13:03
Zarahm, should we just delete those instructions, then? I don't recall mysql or rabbitmq causing any problems. might be misremembering13:05
SotKyeah, I don't really know what the point is, I've always found it easier to work with it all in one vm when developing rather than setting up a whole bunch13:06
Zaraat this point they seem to introduce more trouble than they fix13:07
SotKbut, the vagrant machine is useful because you can run the test suite against the database it provides13:07
Zarain that case I support moving it to the end, then, with a note to that effect13:08
betherlycool ok i will do that13:09
betherlyas an 'optional'13:09
openstackgerritAdam Coldrick proposed openstack-infra/storyboard: Archive cards instead of deleting them  https://review.openstack.org/28539213:17
Zara\o/13:18
*** jtomasek_ has joined #storyboard13:35
Zarahm, I just managed to take a card on a magical journey, but I haven't been able to replicate it13:38
Zara(I started dragging a card, let go of mouse button, card still thought it was being dragged. I then went to other storyboard pages and the card came with me13:39
ZaraI took it to see the stories list, and a few story detail pages, then went back to the board and it got to float around itself13:40
ZaraI don't know how to trigger the out-of-card experience again, anyway.13:40
Zaraah, actually, maybe I do13:41
Zaraif you move lots of lanes fast, I think it gets confused (because you're moving a lane before the positions of all lanes update?)13:41
ZaraI doubt people will want to do that often, if ever.13:42
SotKwoah, thats a good one13:46
Zara:) I don't think it does any lasting damage, and refreshing the page fixes it13:47
Zarait just looks dramatic!13:47
* SotK struggles for inspiration on how worklists should look13:48
Zaramaybe just like a big lane13:48
Zara?13:48
Zarawell, a wide lane13:49
SotKyeah, that's what I'm tending towards atm13:49
Zara:) I'd say that if you're not sure after that point, leave them alone until/unless someone comes up saying 'I need my worklist to have glowing edges' etc13:51
Zara(if they do ask for glowing edges, we ban them)13:52
*** jtomasek_ has quit IRC13:55
Zarahow come wider cards? I think they look better narrower on my (relatively small) screen (otherwise I can only display 4 lanes before one goes off the page), but guessing there might have been something else that didn't display right on them narrower?14:23
* SotK thought that boards currently look pretty cramped, and names look a bit weird split over two lines on the smaller cards (see "Michael Krotscheck" on https://storyboard.openstack.org/?#!/board/1)14:26
SotKobviously we can't avoid the name thing entirely ever, but we can at least make it not split on names that aren't particularly long :)14:27
Zarahm, I wonder if a smaller font would work, or if that'd just be unpleasant... I'm a bit wary of only having 4 lanes visible at a time, though it works for 'backlog, doing, review, done'.14:28
*** mrmartin has quit IRC14:28
SotKit also limits the ability to arrange the content on the card a bit I found14:29
SotKI think smaller font might make it look *more* crowded14:29
SotKoh, it seems that due dates with 2-digit day-of-month numbers also look weird on the small cards with the new layout that uses the grid system rather than cramming everything on and hoping for the best14:31
Zarawe wanted to swap names with avatars anyway, so I don't think we should design things around how names display atm (dates are a different matter, though). for me it comes down to how much people will use >4 lanes, b/c it's going to be annoying to scroll horizontally all the time.14:32
* SotK wonders what kind of screen size people use storyboard on most of the time14:34
Zarayeah, this might be to do with 'large' screen settings covering too wide a range of screens... for my screen, if it's just the dates that display oddly, I'd rather a smaller font for dates (even if it looks crowded) than widen the cards and make people scroll horizontally a lot (wider cards do mean less vertical scrolling, but I think horizontal scrolling is more irritating than vertical scrolling).14:36
Zarabut if most people are using screens bigger than mine then agree we should just have wider cards. :P14:36
SotKyeah, the infra-cloud board (which has 6 lanes) fits fully on a 1080p screen with wider lanes, and (imo) looks neater for being wider14:39
Zarayeah, here's a screenshot of my view so people can see what I'm referring to (thinkpad screen, relatively small for a laptop but not small enough to behave like a tablet screen): http://imgur.com/2zRNGrZ14:40
Zarathat's at 100% zoom14:41
* SotK is heading further towards the opinion that making the lanes have a percentage width up to a certain number of lanes is probably a good plan14:41
Zarahehe14:41
Zarasuits me. does this need to be a dependency for other patches in this series, or is it worth making it a separate topic? (I don't really want to merge this as-is, but I don't want it to block due-dates patches)14:42
SotKI can split it out, but the patch which adds due dates to cards will make things look a bit weird unless I rework that too14:44
*** mrmartin has joined #storyboard14:44
Zaraokay. if it gets too fiddly then I'll just use things at 80% zoom, but I suspect I'm not the only user who'll have to do that.14:47
Zara(hm, or 67% for 6 lanes... that one is definitely too small :/ )14:48
betherlywith the setup got to setting the connection parameter14:48
betherlyanother area im not sure if i just guessed at and screwed things up in attempt no.114:49
betherlyive set mysql etc etc up on the same ubuntu vm so im presuming i remove the # before 'connection'14:49
betherlyand leave everything else as it is14:50
SotKyou'll need to replace `pass` with the password you set when installing mysql14:51
* SotK thinks fitting 6 lanes on a screen that needs 67% zoom to display them all is going to be ugly no matter how its done :P14:52
ZaraOooOOoooOOo14:52
Zarait's 90% when they're less wide!14:53
ZaraI can upload a few screenshots for contrast, if people are really interested.14:55
* SotK is quite interested14:56
Zaraokay, gimme a sec :D14:56
SotKftr, I need to set the lane max-width to 14% to see all 6 at once on my thinkpad using chromium, which provides exactly the problem I have with hobokan's lanes in that kind of situation14:57
SotK(I can see all 6 when setting my zoom to 75% alternatively)14:57
Zaraahh, I'm using iceweasel, yaaaay consistency14:58
Zarayay it uploaded them all out of order and now I don't know which is which15:02
* Zara tries again15:02
Zaraoh, okay. So just to be awkward, the first is the new width, at 67% zoom.  the middle two are the old width, at 90% and 100% respectively. and the last one is the new width, at 100% zoom.  http://imgur.com/a/RcdxV15:04
Zaraso of those, old at 90% is easily the best over here... as a note, I don't think it has to be 67%; something typed in manually between 67 and 80 might be a bit nicer, but that involves a user typing in a zoom value manually. :/15:05
* SotK would be interested to see how you think it feels once you add due dates into the equation too15:10
Zarayeah, I'll have a look. though based on what I have so far, I'd reckon it should be a case of changing due-dates to fit, or lane width as a function of lane number and screen size.15:21
*** mrmartin has quit IRC15:28
Zaras/lane number/number of lanes/15:35
Zaraeh, you know what I meant.15:35
*** pedroalvarez_ is now known as pedroalvarez16:08
*** faybrocklebank has quit IRC16:11
*** jtomasek_ has joined #storyboard16:32
Zarabetherly: how's it going?16:33
*** jtomasek has quit IRC16:34
betherlyZara: back on it now! had a delay when my iphone fell off the desk and shattered the screen beyond use.16:43
betherlyjust had to nip out to try and get it fixed before tomorrow or i would be fairly screwed trying to find the office! lol!16:44
betherlysorry so going back to earlier ... SotK where do i replace pass?16:45
betherlyive got to step 5 API Edit ./etc/storyboard.conf and set the connection parameter in the [database] section.16:46
betherlyand currently the value is: connection=sqlite://16:46
Zara:0 re: phone16:48
Zarare: pass, there's an example like: # connection = mysql+pymysql://root:pass@127.0.0.1:3306/storyboard16:49
Zaraso you want to replace the bit with # connection=sqlite:// with the thing above (removing the `# `16:50
Zaraand then replace the `pass` with the password you used when installing mysql16:50
betherlyok awesome! with pass as mysql password and the rest (ie the port) all as you put?16:50
ZaraI think so, will double-check16:52
Zarayup16:52
Zaramake sure to delete both the # and the space after it; I think that's caught me out before16:53
Zarathat is, delete `# ` rather than just `#`16:53
Zaraidk if that makes anything any clearer or if that was already clear or what xd16:53
*** mrmartin has joined #storyboard16:53
betherlythats awesome thanks!16:54
Zara:) the webclient is the trickier one imo, but fingers crossed it just works...17:14
Zara(npm can take a while downloading things, and when things timeout, lockfiles get left over which cause problems until they're removed)17:15
Zarathat's some unpredictable behaviour that I'd really like to sort out.17:15
*** openstackgerrit has quit IRC17:18
*** openstackgerrit has joined #storyboard17:18
*** fay has joined #storyboard17:20
*** fay is now known as Guest6602917:20
betherlyhehe thanks :)17:21
betherlysorry this has taken so long17:21
betherlytox -e venv "storyboard-db-manage --config-file ./etc/storyboard.conf upgrade head"17:22
betherlythat is throwing up lots and lots of nasty red lines17:22
betherlyor errorness17:22
betherlysummary: ERROR:   venv: could not install deps [-r/home/beth/storyboard/requirements.txt, -r/home/beth/storyboard/test-requirements.txt]17:22
Zarahm, that doesn't look familiar; I wonder what's going on...17:25
Zarais there any more information?17:26
*** Guest66029 is now known as faybrocklebank17:29
betherlyhttps://www.irccloud.com/pastebin/nAiUMID7/17:39
betherlythats the log ^17:40
betherly:/17:40
pedroalvarezI think that for that error you need to have python-dev package installed17:41
pedroalvarezsomething like `sudo apt-get install python-dev` if you are in Ubuntu/Debian17:41
betherlythank you pedroalvarez :D ill try that now and let you know :)17:44
Zaraperhaps we should have a note in the docs for that; I think it's caught out a couple of people now17:45
Zaraeven if it isn't specific to storyboard17:45
betherlyi will add it in :)17:48
Zarathank you :)17:50
pedroalvarezbetherly:  yw :)17:50
ZaraI'm planning to head home in the next 10 mins or so17:51
betherlyok cool! see you tomorrow Zara :) will get as far as i can!17:55
Zara:)17:55
betherlyugh im still getting18:02
betherlyhttps://www.irccloud.com/pastebin/Z1zmDFyp/18:02
Zarawe'd need more of the log to know exactly what's going wrong with it :S18:02
Zara(heading off, night!)18:06
*** faybrocklebank has quit IRC18:08
betherlyhmm it seems not to be finding the database storyboard which is weird18:09
betherlysoooo the api step 7 still seems to be failing due to lack of database storyboard which im pretty sure created fine earlier18:17
betherlyBUT...the storyboard webclient has just launched and is all happy and working18:17
betherlyso not entirely sure how its working lol but it is and im going to just let it be happy for a bit18:18
openstackgerritBeth Elwell proposed openstack-infra/storyboard: Updated documentation for installing Storyboard  https://review.openstack.org/28619418:29
*** b3rnard0 is now known as b3rnard0_away19:28
*** b3rnard0_away is now known as b3rnard020:14
*** yarkot_ has joined #storyboard20:36
*** yarkot_ has quit IRC20:38
*** mrmartin has quit IRC21:17
*** jtomasek_ has quit IRC23:50

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