Tuesday, 2016-02-16

*** b3rnard0 is now known as b3rnard0_away04:19
*** coolsvap|away is now known as coolsvap05:56
*** coolsvap is now known as coolsvap|away06:58
*** coolsvap|away is now known as coolsvap08:09
*** coolsvap is now known as coolsvap|away08:26
Zaramorning, storyboard! :D10:13
SotKmorning!10:13
ZaraI'm a zombie. grarh10:16
pedroalvarezgood morning!10:17
pedroalvarezjust so you know, after playing a while yesterday I managed to build the its-storyboard plugin for gerrit :)10:18
pedroalvarezthat was step 1)10:18
pedroalvareznow I'll look at getting a testing environment10:18
Zara\o/10:18
Zaraoooooh10:18
Zarathat has almost woken me up!10:18
SotK:D thanks pedroalvarez!10:18
Zaramind if I delete stuff from the priority backlog? I think it's too big to be useful atm, and doesn't really reflect our priorities10:54
* SotK doesn't mind at all :)10:55
persiaI was having at chat at the Ops Midcycle, and someone wondered if it would be possible to have a storyboard plugin that would update task status for tasks stored on launchpad (to help with tracking things where some tasks are also tracked there).11:57
Zaraif the launchpad tasks' statuses update based on gerrit, wouldn't the gerrit plugin also take care of much of that?11:59
ZaraI wonder how much would be left over?11:59
persiaI thought the gerrit plugin required certain information in the commit message, so that gerrit knew which patch was being done.12:00
persiaI suppose the gerrit plugin could be adjusted to also consume if certain LP bugs were consumed, but there would need to be a mapping.12:01
ZaraI meant that I thought launchpad had a gerrit plugin, so the same info in commit messages used for that plugin could be used for the storyboard plugin? maybe I'm wrong about launchpad auto-updating from gerrit?12:02
persiaThe trick is that as long as there is no "one true tracker", there will be cases where some project on which some story depends has an external task tracker, and it may be interesting to be able to know when that external event happens, without needing to consume a gerrit stream from them (or without the developers of that project necessarily needing to care that the story author is also tracking the issue).12:02
Zaraohhh, I see, different task ID in the commit message, nvm12:02
persiaLP is the immediate example, and for OpenStack projects, we could consume the info from gerrit, certainly.12:02
persiaBut that requires the developer to be aware they are completing the task in SB, or having some mapping in SB.12:03
Zarayeah, I realised afterwards I'd missed a step.12:03
persiaMy thought was that a plugin might be able to handle the mapping outside of SB, perhaps with an updateable config file, or some such, so that one could take advantage of the SB interface without necessarily migrating all participants in the project.12:04
persiaBut I don't know if that would work, hence asking here before I tell anyone anything one way or another :)12:04
ZaraI'd imagine the complexity depends on what other task tracker is being tracked.12:04
ZaraI don't know anything about launchpad internals...12:05
Zarathe tricky thing is that you can get into a situation where comments etc are out of sync12:06
Zaraand in practice people then just use one over the other12:06
Zaras/people/projects12:07
persiaRight.  I think the idea was to use Storyboard to discuss the story, but then just add a task referencing some upstream bug in cases where one depended on upstream, with discussion on that bug being done in the upstream tracker (e.g. LP)12:07
persiaBut maybe it needs more thought.  I hope to make the SB midcycle event (I want cake), and maybe can better express the idea then.12:08
* persia isn't sure if this is possible, or if it fits into the StoryBoard roadmap, just found it interesting12:08
Zara:) I think there would be problems with people disagreeing on what things to discuss in which task tracker, and it could confuse things. (I'm also wary of it implying that another tracker is superior; in cases where people don't want to migrate for good reasons, I'd rather fix those! but I also like the idea of not letting stubborn individuals dictate the choices of teams.)12:11
Zaraso in theory I'm ambivalent, and I don't yet know what the implementation would entail. so in the end my opinion probably depends on how hard it is to do.12:14
persiaHeh.  That's a remarkably balanced statement containing amazingly little specific content :)12:14
Zara:D12:14
Zarawelp, here's another: it's not on the roadmap, it could be useful, it could also be more trouble than it's worth (socially and engineering-wise). I think the results of the gerrit plugin investigation may give us a hint about the difficulty.12:16
Zaras/may/will12:19
Zarabtw, what kinds of cakes do people want? atm I only have cupcakes12:25
ZaraI was planning to buy doughnuts12:25
Zaraany other cake wishes? we had a recipe for 24 cupcakes but somehow we only made 1212:26
Zaraand then we ate 312:26
Zaraso that's the depressing maths problem of the day.12:27
SotK:D12:29
SotKcake is never depressing12:29
pedroalvarezquestion: is it currently possible using the API to change only (for example) the 'status' of a task?12:32
SotKit should be (and if it isn't I'm about to have to fix it)12:36
SotKyou just send a PUT request to `/v1/tasks/:id` with its body set to an object containing the new values for the fields you want to update12:37
SotK(eg: `{'status': 'merged'}`)12:37
pedroalvarezso no need to know the other values :)12:41
pedroalvarezcool! thanks12:41
persiaYou may find python-storyboardclient a useful way to send the PUT request :)12:43
pedroalvarezthat's true, if there is a way of using it from java12:44
pedroalvarezand to include the python library into the .jar12:45
* SotK confirms that PUTs with fields missing work properly12:53
pedroalvareznice :)12:54
persiaoh, heh, Java12:55
*** b3rnard0_away is now known as b3rnard014:20
*** coolsvap|away has quit IRC14:57
*** coolsvap|away has joined #storyboard15:01
Zarapedroalvarez: btw, are you coming to our wonderful storyboard meetup?15:38
pedroalvareznot sure if I will have the time :/15:41
* Zara weeps15:41
pedroalvarezalso I feel I don't have useful opinions15:41
pedroalvarezi know, i know.. cake!15:42
Zarahm, you maintain an instance and know ansible, so I think you'd be an interesting person for infra representation to talk to15:43
Zarathey seem to be investigating ansible atm, so I can see it being useful to be able to compare deploying an example project with puppet to deploying it with ansible15:44
Zaraso I think you would have useful opinions! but Idk if you'd have the time!15:44
pedroalvarezZara: I'll be there16:07
SotK\o/16:07
Zara\o/16:07
Zaraall the cake!16:08
pedroalvarezalthough I can't make any promises about how long I can stay16:08
Zarathat's okay16:08
pedroalvarez:)16:14
ZaraI'm heading off in a minute in advance of infra meeting17:24
Zaralooking forward to seeing everyone tomorrow! :)17:28
pedroalvarezo/17:30
Zara'night, all! :)17:35
*** kencjohnston has joined #storyboard19:22
kencjohnstonhi storyboard folks, I was wondering if there is a way to get a test instance or a test project added to the storyboard.openstack.org instance?19:24
Zaraah, to add a project you have to be an admin; I think the admins for that instance are people with infra-root, so the best option is spinning up a test instance.19:25
ZaraWe've been meaning to set up a public test instance for a while so this might help us actually get round to it...19:26
kencjohnstonok, so I shouldn't muck around adding test stuff to the infra instance then?19:26
Zarain practice I don't think anyone would mind if you did it within the storyboard project, but you wouldn't be able to add projects or project groups anyway, and I suspect it could take longer to get people to agree to give you admin access than it would to start up a new instance19:27
*** jtomasek_ has joined #storyboard19:27
Zaraoh, actually, we do have an old test instance19:28
ZaraSotK is now tinkering away, should have status shortly...19:29
Zaraah, someone had rebooted it.19:34
kencjohnstonCan I ask some pretty noob install docs questions?19:41
kencjohnstonI booted a VM, running Ubuntu 14.04, and I'm getting errors on the first step, pip install storyboard19:41
Zaraah, okay, what are the errors? (this is very useful, thanks, helps us update the docs!)19:42
kencjohnstonwell they start with this line - "warning: manifest_maker: standard file '-c' not found"19:43
kencjohnstonand the final error output is "ValueError: jpeg is required unless explicitly disabled using --disable-jpeg, aborting"19:43
kencjohnstonI think it might be that I'm not using the correct os, I just booted a fresh VM from Rax public cloud19:44
Zarathose errors look very odd to me19:44
Zarabtw, http://paste.openstack.org/ would help with pasting the full log19:44
Zara(since I might just be confused by them out of context)19:45
kencjohnstoncool one second19:45
kencjohnstonhttp://paste.openstack.org/show/487166/19:46
* SotK goes to look at the install instructions19:46
SotKkencjohnston: I assume you're trying to follow http://docs.openstack.org/infra/storyboard/install/manual.html ?19:47
kencjohnstoncorrect19:48
* SotK suspects the beginning of those instructions is very wrong and goes to investigate19:49
Zarawow, yes, these are completely wrong (we've only used the developer ones so far, so hadn't looked closely at the user docs)... wonderful time to find out! :/19:50
SotKok yeah, those instructions lead to attempting to install something completely unrelated to OpenStack StoryBoard which also happens to be called storyboard19:53
kencjohnstonha19:54
kencjohnstonor I mean, oh shit :)19:54
Zarathe git log suggests someone made those docs at the very start of the project, to look vaguely similar to other projects, and they were never adjusted to match reality19:54
Zarabrb need a few years to recover from embarrassment :D19:55
kencjohnston:)19:56
* SotK would recommend following http://docs.openstack.org/infra/storyboard/install/development.html to install the api for now (but skip the vagrant part and install mysql locally instead, on ubuntu 14.04 that will be `sudo apt-get install mysql-server-5.6` IIRC)19:58
kencjohnstongreaet, thanks SotK19:58
Zarathe process can still be a bit variable (SotK's worked first time, mine was more awkward), so please feel free to send any more errors our way19:59
kencjohnstonwill do, thanks team!19:59
Zarayw! :)20:00
* SotK will be around for a few hours, feel free to ping me if you run into trouble :)20:00
Zarawe need to update those docs (ie: DELETE EVERYTHING); I'll try to get to it tomorrow.20:06
Zara(I'd *like* there to be a quick way for users to install storyboard, though, so maybe we can work out how to make that simpler in the meetup.)20:07
kencjohnstonSotK I ran into an error in the venv install20:18
kencjohnstonhttp://paste.openstack.org/show/487169/20:18
kencjohnstonI installed mysql, cloned the rep, added the table, edited the conf file, then installed tox20:19
Zarahuh, it's not finding the python header... googling around suggests the header sometimes doesn't come with python, and it's in a separate package (python-dev)20:29
SotKkencjohnston: you might need to do `sudo apt-get install python-dev`20:29
SotKheh, snap20:29
Zara:D20:29
Zaratbf your instruction was actually useful20:29
Zaraone to add to the wiki...20:31
kencjohnstonthat worked!20:33
Zara\o/20:33
Zararare words in software20:34
*** kencjohnston has quit IRC20:44
*** kencjohnston has joined #storyboard20:44
*** kencjohnston has quit IRC20:47
*** kencjohnston has joined #storyboard20:50
*** kencjohnston has quit IRC20:52
*** jtomasek_ has quit IRC21:39
*** jtomasek has quit IRC21:58

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