*** jamesmcarthur has joined #storyboard | 00:06 | |
*** jamesmcarthur has quit IRC | 00:10 | |
*** mrmartin has joined #storyboard | 04:49 | |
*** mrmartin has quit IRC | 05:21 | |
*** alexismonville has quit IRC | 05:58 | |
*** alexismonville has joined #storyboard | 06:04 | |
*** openstackgerrit has quit IRC | 06:18 | |
*** openstackgerrit has joined #storyboard | 06:18 | |
*** openstackgerrit has quit IRC | 07:33 | |
*** openstackgerrit has joined #storyboard | 07:33 | |
*** fay has joined #storyboard | 07:34 | |
*** fay is now known as Guest86846 | 07:34 | |
*** Guest86846 is now known as faybrocklebank | 07:37 | |
*** jtomasek_ has joined #storyboard | 07:53 | |
*** jtomasek_ has quit IRC | 08:10 | |
SotK | morning storyboard! | 08:45 |
---|---|---|
*** bethwhite has joined #storyboard | 08:52 | |
*** jtomasek_ has joined #storyboard | 09:07 | |
*** jtomasek_ has quit IRC | 09:13 | |
Zara | morning! | 09:20 |
Zara | oh, you tagged things, nice | 09:51 |
SotK | only one thing so far xD | 09:51 |
Zara | oh, you tagged thing, nice | 09:51 |
Zara | :P | 09:51 |
Zara | the oud was not popular, but that will not deter me! today we have a classical guitar. among other things. https://www.youtube.com/watch?v=2oyhlad64-s | 10:00 |
SotK | Zara: do you remember what you meant by "Comment strange wsgi workarounds" in https://storyboard.openstack.org/?#!/story/2000476 ? | 10:07 |
Zara | I remember you said you'd done something strange to workaround wsgi, so I asked you to comment it before we forgot what was going on | 10:08 |
Zara | I don't remember exactly where | 10:09 |
Zara | oh, wsme, sorry | 10:10 |
Zara | I always say 'wsgi' when I mean wsme, just to be confusing | 10:10 |
SotK | Zara: Do you remember where the "one GET per project" in https://storyboard.openstack.org/?#!/story/2000408 was happening? | 12:21 |
* SotK can't find a place it does that anymore | 12:21 | |
Zara | it was in project groups, and I think it was fixed | 12:21 |
SotK | \o/ | 12:21 |
Zara | oh no it still does it | 12:22 |
Zara | but now the project groups page collapses the projects list | 12:22 |
Zara | so it doesn't do one per project, but one per project group | 12:22 |
Zara | for some reason clicking on a project group now does 3 GETs for subscriptions | 12:23 |
SotK | one per project group seems fair | 12:25 |
Zara | I could add a task for 'one get per project group', if we expect someone to have a lot of groups in an instance in the future | 12:25 |
SotK | I guess the 3 subscriptions are one for the project group itself, one for the projects in it, one for the stories in it? | 12:25 |
Zara | ah yeah probably | 12:25 |
SotK | wait, I thought you said there is already one get per project group? | 12:25 |
Zara | yeah | 12:25 |
Zara | I'm saying I could add a task to fix that if we think it's likely that someone will end up with a billion project groups, sorry | 12:26 |
SotK | aha! | 12:26 |
SotK | I don't really think its worth doing that until we have a problem with it | 12:26 |
Zara | well I don't intend to actually fix it any time soon :P | 12:27 |
Zara | but meh might never be needed | 12:27 |
SotK | indeed, it feels like premature optimisation to me | 12:28 |
SotK | and going off boards, will probably end up making the project groups list take ages to appear xD | 12:28 |
Zara | I might add the task just to annoy you when you're done tidying s.o.o, but I'm not fussed if nobody does the task. | 12:29 |
Zara | (I'm under the impression that you're spring-cleaning s.o.o rn) | 12:29 |
Zara | about to review the beautiful timeline | 12:30 |
Zara | will try to break it | 12:30 |
* SotK is indeed | 12:31 | |
Zara | from all my EMAIL NOTIFICATIONS | 12:31 |
Zara | aw yeah | 12:31 |
Zara | http://traleetoday.ie/wp-content/uploads/2016/05/Otter-sunglasses.png | 12:32 |
Zara | oh btw re: tidying s.o.o, some stories have tags like 'storyboard-bug' and stuff because iirc at the time there wasn't an easy way to filter by project group and tag simultaneously. I believe that's no longer the case. | 12:51 |
SotK | anyone opposed to me marking https://storyboard.openstack.org/?#!/story/2000153 as merged? | 12:53 |
SotK | the described desired behaviour is what I see happening | 12:53 |
SotK | unless the search bar being referred to is the one on the search pages | 12:53 |
SotK | which I suspect it may be on a second reading | 12:54 |
Zara | I think it talks about the header, but it's not clear whether it refers to the dropdown or the results upon pressing enter | 12:54 |
Zara | which yeah, are the search page | 12:54 |
Zara | where that doesn't happen | 12:54 |
Zara | so I think that's part of the 'they should be the same' story... | 12:54 |
Zara | or task or whatever | 12:54 |
SotK | yeah, it must mean the search pages | 12:55 |
SotK | s/pages/views | 12:55 |
SotK | because the issue appears there | 12:55 |
persia | Maybe double-check with rockyg before marking "merged" to make sure she thinks it is resolved. | 12:56 |
persia | Maybe she can reproduce, and generate a more specific description. | 12:57 |
* SotK no longer plans to mark it merged | 12:57 | |
SotK | I've reproduced it myself now | 12:57 |
persia | Aha, then maybe just update the description :) | 12:57 |
SotK | any ideas on what to do about https://storyboard.openstack.org/?#!/story/2000148 ? | 12:58 |
Zara | as far as I know there's still no dox project in storyboard | 13:00 |
SotK | that matches my understanding too | 13:00 |
Zara | so short of creating that, finding out where they file things these days, sending it there and marking it invalid | 13:00 |
Zara | or leaving it again xD | 13:00 |
persia | The relevant project seems to be http://git.openstack.org/cgit/openstack/dox/ | 13:01 |
persia | Given the content of CONTRIBUTING.rst, I suspect the dox folk would appreciate a project-config update to match their communications | 13:02 |
persia | Same for https://storyboard.openstack.org/#!/story/2000147 | 13:02 |
anteaya | well dox isn't part of infra | 13:18 |
anteaya | it is openstack/dox | 13:18 |
anteaya | I'll ask in infra | 13:18 |
persia | anteaya: Does it need to be infra to use storyboard? I thought that changed. | 13:19 |
* SotK thought so too | 13:20 | |
anteaya | no it doesn't | 13:20 |
anteaya | put that changed last week | 13:21 |
anteaya | this is from last year | 13:21 |
anteaya | now if dox devs want it on storyboard it can be there | 13:21 |
anteaya | but this looks like a gap in communication that I would like to hear from the dox devs what they want | 13:21 |
anteaya | discussion took place and mordred will mark those stories invalid and is planning on retiring the project | 13:26 |
anteaya | the other thing about stories is that if you leave a discription in the story of your experience and your feeling about why a story is complete from your perspective I think it is fine to mark the story merged, closed or invalid and if the author disagrees, they can expand their discription | 13:28 |
anteaya | especially a story that is a year old | 13:28 |
Zara | I think that works where you're aware that the author will be notified, a reason I can be reluctant to change status of old stories is that at the time they were created, authors couldn't sign up for notifications. | 13:30 |
anteaya | that is a fair point | 13:34 |
anteaya | however they can always open the story and look at it if they are curious | 13:34 |
anteaya | can they find merged stories they created? | 13:34 |
anteaya | I just think a lot of time can be wasted trying to chase people down | 13:35 |
anteaya | so infra got out of that game early | 13:35 |
SotK | they can find merged stories they created, yeah | 13:35 |
anteaya | then as long as you are willing to look at the story again if it is reopened with an expanded description I dont' see the harm of closing it | 13:36 |
Zara | I don't think there's any easy way of finding them | 13:37 |
anteaya | yeah, I'm just looking for that | 13:37 |
Zara | if they can remember the title etc, they can find them, but I don't think there's a way to filter by them | 13:37 |
anteaya | searching on my name doesn't give me any stories I created | 13:37 |
Zara | you can filter by assignee but not creator as far as I know. | 13:37 |
anteaya | hmmmm | 13:37 |
Zara | and created on dashboard only shows active stories | 13:37 |
anteaya | perhaps that is the bigger issue | 13:37 |
SotK | ah, I thought the dashboard showed all | 13:37 |
SotK | in that case it is not easy | 13:38 |
anteaya | right, yeah once they disapper from the dashboard that makes it tough | 13:38 |
anteaya | okay I'll file a story for it | 13:38 |
anteaya | gerrit has the ability to show all patches regardless of status, merged abandoned everything | 13:38 |
anteaya | I think folkw will want that ability in storyboard | 13:38 |
Zara | yeah, it can show them, just not filtered by creator | 13:39 |
Zara | you could do that via the python client but I doubt many would want to | 13:39 |
anteaya | https://storyboard.openstack.org/#!/story/2000645 | 13:41 |
persia | For the vast majority of bug filers, I agree with the above. For folk who are active in the bugs teams for some of our major projects (e.g. nova), there may be other benefits to reaching out to check on status... | 13:41 |
anteaya | do those tasks seem resonable? | 13:41 |
anteaya | persia: oh sure, there are outliers but in general I think replying with details in the story and changing the progress is fine | 13:42 |
anteaya | and being open to having someone open it again with more details | 13:42 |
anteaya | being open but not feeling required to chase folks down | 13:43 |
persia | anteaya: Do you especially want everything on your dashboard, or could it be the same interface for both needs, just searching for yourself (with perhaps a link from the dashboard)? | 13:43 |
anteaya | well I guess I could search for myself and then the one functionality will do | 13:43 |
persia | anteaya: In general, I agree. I just thought 2000153 was an outlier :) | 13:43 |
anteaya | if adding it to the dash is too much work | 13:43 |
anteaya | sure, opinion counts | 13:43 |
*** jamesmcarthur has joined #storyboard | 13:43 | |
anteaya | can I perform a search and then share a link to share the search with someone? | 13:44 |
anteaya | search?q=dox | 13:44 |
anteaya | yeah I guess I can | 13:44 |
anteaya | okay then search for a person and have all their created stories would be fine | 13:45 |
persia | In LP, all occurances of people's names link to something akin to that person's dashboard (public data only). Maybe something like that? | 13:46 |
anteaya | oh I was using gerrit as my example of standard behaviour | 13:46 |
SotK | its only possible to share searches with `q` in the webclient at the moment, which makes this more work than it sounds | 13:46 |
anteaya | I don't know what launchpad does | 13:46 |
anteaya | SotK: hmmm, okay I'll make this low priority then | 13:47 |
anteaya | SotK: don't worrry about it then unless someone else mentions it | 13:47 |
anteaya | moving on | 13:48 |
persia | For most of the audience, I think taking UI hints from either gerrit or LP is probably useful practice. People will expect some behaviours that they see in those. | 13:48 |
anteaya | SotK: have you had a chance to look at krotcheck's comment on this patch? https://review.openstack.org/#/c/325294/ making note behaviour default to read only | 13:48 |
anteaya | persia: sure, I just don't know the launchpad behaviour your reference, as I use launchpad basically not at all | 13:49 |
Zara | (Iirc we wanted to move the dashboard toward something containing desired worklists. so on that implementation, you'd have an automatic worklist that could filter by 'created by me'. I think it would be better to work toward making that version of the dash a reality, than implementing more stuff to work around that. but that's also low priority.) | 13:50 |
anteaya | Zara: sure that is fair | 13:50 |
anteaya | thanks for sharing that vision, I think that would be a great feature | 13:50 |
* SotK was contemplating that on the tram this morning | 13:52 | |
SotK | I'll write down my thoughts so far at some point in the next couple of days | 13:52 |
SotK | anteaya: avoiding updating the original object in that modal is deliberate | 13:53 |
persia | Zara: That sounds like an excellent implementation. | 13:53 |
Zara | I think it was originally sotk's idea | 13:54 |
Zara | It's very elegant and I like it a great deal too | 13:54 |
Zara | I remember us discussing it in person in... Februrary? well evidently I don't remember that well. as a 'one day!' kind of thing | 13:54 |
anteaya | SotK: did I say something that implied that I wanted the original object in the model duplicated? | 13:55 |
anteaya | it is an elegant idea | 13:55 |
anteaya | nice one Adam | 13:55 |
SotK | anteaya: I was giving my opinion on krotscheck's comment, I'll reply to the same effect on Gerrit | 13:56 |
anteaya | SotK: ah sorry, thank you yes | 13:56 |
anteaya | and you didn't say duplicated you said avoiding updating the original object | 13:57 |
anteaya | I was distracted watching the deer cross my lawn | 13:57 |
anteaya | yeah that's it | 13:57 |
* anteaya is grateful the wildlife is willing to let her blame her mistakes on their beauty distracting her | 13:58 | |
persia | (or at least are willing to keep any alternate opinions to itself) :) | 14:04 |
persia | I was just creating a new story, and clicked on the body of the page, which caused the story dialogue to go away, apparently erasing my content. Is this because I use browsers nobody sane supports, or was it a bug? | 14:05 |
anteaya | what browser? | 14:06 |
SotK | that is how the modals work, its very annoying | 14:06 |
anteaya | how did you create the new story? the create new tab in the top left? | 14:06 |
anteaya | no not just you, I can replicate | 14:07 |
persia | SotK: Ah. Then I won't bother complaining any more, but it ought not do that :) | 14:07 |
SotK | I suspect we need to do http://stackoverflow.com/a/21156854 | 14:08 |
persia | anteaya: I mostly use rekonq and uzbl, in 2012 editions, which means old webkit, which isn't very current-standards-compliant. | 14:08 |
anteaya | okey dokey | 14:08 |
persia | SotK: keyboard:false might be a bit extreme, unless it really only stops ESC, rather than all keys | 14:09 |
anteaya | SotK: nice find | 14:09 |
anteaya | might be worth playing around with it on the -dev server | 14:10 |
Zara | I can't decide if I like the behaviour or not. it's got rid of things and annoyed me before but I also use it a lot to close boxes when I can't be bothered to move my cursor to a specific spot. | 14:11 |
Zara | well, I think I'd rather 'click outside' just moved the modal behind the current window | 14:12 |
* SotK is confused by the meaning of "moved the modal behind the current window" | 14:13 | |
Zara | so at least in my environment, normally if you have two windows open, and you click the one that's in the background, it brings it to the foreground | 14:14 |
Zara | and so the one that was in the foreground before ends up in the background | 14:15 |
SotK | but the modal is not a real window | 14:15 |
Zara | rather than either 'click in the background and nothing happens' or 'click in the background and the foreground window closes' | 14:15 |
Zara | yeah | 14:15 |
Zara | I guess it's weird to me that we use modals for things when there's no reason creating a story should block browsing around storyboard | 14:17 |
Zara | but I also don't know that there's a good alternative | 14:17 |
persia | Heh, so I re-entered the data, and now I can't actually create the story. Any hints on why (I've created stories in the past successfully) | 14:17 |
SotK | all fields filled in? | 14:17 |
Zara | (so roughly I think the modal is behaving correctly for a modal, and the issue is that we're using modals where we shouldn't be.) | 14:18 |
persia | Title is filled in, with a sentence. Description has a couple sentences, and preview works. Two tasks, with pulldown-selected projects and descriptions. I javen't checked the "private" checkbox, so no, not all fields. | 14:18 |
persia | Zara: That interpretation seems right to me. | 14:18 |
* SotK wonders what we should be using instead | 14:18 | |
persia | For new things, probably a new page | 14:18 |
SotK | persia: I've had this issue on rare occasions too, and fixed it by refreshing my page and trying again | 14:19 |
Zara | I don't know. my thinking is we'd want something a user could keep open while browsing all over storyboard, that doesn't block their view, so that they could get context from other stories and things. | 14:19 |
SotK | hmm, I wonder why a modal was used instead of a new page in the first place | 14:20 |
Zara | I normally get around this by using one tab to browse and another tab to make a story. | 14:20 |
Zara | (the kind of working around you don't notice you're doing until you think about it) | 14:20 |
* SotK does that too when he needs context | 14:20 | |
SotK | but I'd still have to do that if it was in a new page | 14:20 |
Zara | yeah, I can see arguments against making it open a new page in a new window, too | 14:21 |
Zara | 'now I have to close all the things!' | 14:22 |
Zara | I guess at least for now we're aware that it's a bit clunky, even if we don't know how to fix it | 14:22 |
persia | SotK: Thanks for the workaround ,but I suspect there's a bug there somewhere. I suspect an authentication timeout or similar. | 14:23 |
* SotK too, but I haven't found a way to reproduce it reliably | 14:23 | |
SotK | I've only had it happen once or twice | 14:23 |
Zara | in the past I've had oddness where a project selected was originally typed in, then selected from dropdown | 14:24 |
persia | That was in fact what I did | 14:24 |
SotK | new window may also have popup blocker issues too I guess | 14:24 |
Zara | yeah | 14:24 |
* SotK is also suspicious of anything that tries to open new windows, and hates it | 14:24 | |
persia | And I entered the full names of two tasks before assigning to projects, so didn't get the autopopulation effect (or maybe got autopopulation of null or something) | 14:25 |
SotK | persia: Does "Displayed tasks should link to search view for the tag" intend to refer to tags or tasks? | 14:26 |
persia | Tags. Retyping in a hurry the third time led my to mistakenly trust the muscle memory in my hands. | 14:26 |
persia | But if task names that aren't links are displayed somewhere, that would be a sensible task for that story :) | 14:27 |
Zara | sotk: yup. maybe there's something to be said for the old behaviour of the modal (which would keep floating around until the user clicked the cross!) well maybe if the modal could display in a way which didn't block the story text etc | 14:28 |
SotK | a minimise button might be cool | 14:29 |
persia | Windows that minimise within other windows rather than using my window manager confuse me. | 14:29 |
Zara | maybe story creation dialogue could be an always-on-top column to the right or left that can be closed and opened whenever, that other text adjusts to so it's not covered. | 14:31 |
Zara | eh idk just ideasing | 14:31 |
* SotK can't see that working well on a phone | 14:32 | |
Zara | yeah, you might also want different approaches for different screens. or not. | 14:32 |
SotK | incidentally, its the meeting in half an hour | 14:33 |
persia | I would prefer if the site did not try to guess the shape of my device, as I sometimes have laptops smaller than phones, and sometimes the other way. | 14:34 |
anteaya | okay so api questions again | 14:49 |
anteaya | so my authentication tokens which I can see at https://storyboard-dev.openstack.org/#!/profile/tokens | 14:49 |
anteaya | last for one hour, correct? | 14:49 |
SotK | they last until the time/date in the "Expires" column | 14:50 |
SotK | they can be created with a selection of lengths | 14:51 |
SotK | I think the ones the webclient makes default to an hour, yes | 14:51 |
anteaya | ah okay great | 14:52 |
anteaya | your answer implies it is possible to get or create a token via the api only | 14:53 |
anteaya | which was my next question | 14:53 |
anteaya | is it possible to get a token via the api? | 14:54 |
anteaya | if yes, does someone have an example of what curl command I would execute to do such a thing? | 14:54 |
SotK | ok, so if you already have a valid token I think its pretty easy to make a new one via the API (POST to /v1/users/:id/tokens with '{"user_id":USER_ID,"expires_in":LENGTH_IN_SECONDS}' as the body) | 14:57 |
SotK | if you don't have a valid token already, you'll need to figure out how to auth with Launchpad without using a browser | 14:57 |
anteaya | right, as would be the case with the gerrit storyboard plugin | 14:59 |
anteaya | zaro: ^^ looks like we may have found why I can't do any post or put with the plugin | 14:59 |
anteaya | so the storyboard api only allows auth access if you already have auth access | 15:00 |
anteaya | I can't pass my username and password to the storyboard api and it reply with a token | 15:00 |
* SotK goes to #openstack-meeting | 15:01 | |
persia | lp:launchpad-integration has an example of doing that : https://code.launchpad.net/~ubuntu-desktop/launchpad-integration/ubuntu | 15:24 |
SotK | persia: do you have a link to the actual example, I can't seem to find it? | 15:33 |
SotK | unless that whole thing is the example | 15:33 |
persia | I'm also not finding it. WIll dig deeper in a bit | 15:33 |
persia | And in fact, that's the wrong piece of software entirely :) | 15:46 |
anteaya | ubuntuone | 15:51 |
persia | SotK: https://launchpad.net/launchpadlib/trunk , https://help.launchpad.net/API/launchpadlib , http://bazaar.launchpad.net/~lazr-developers/launchpadlib/trunk/view/head:/src/launchpadlib/credentials.py | 15:52 |
pedroalvarez | I would say that the right thing to do is to allow StoryBoard Admins to create automation users that are not connected to any launchpad account | 15:56 |
persia | Unless there is some plan to provide per-tool credential delegation management, I suspect a cut down version of that code and those docs will probably support most users. | 15:56 |
persia | And perhaps some or all of the credential stuff is either already in python-storyboardclient or could be added there | 15:56 |
persia | pedroalvarez: That is a slippery slope: it has the side effect of allowing one to create any user with simple passwords, etc. | 15:56 |
persia | While I'm not excited about connections to LP accounts, I suspect the right place to grant automation authorisation is in an OpenID root. | 15:57 |
pedroalvarez | hm... I don't think that (for example) gerrit automation users are connected to any openid | 15:58 |
pedroalvarez | you, as an admin, can create them and set an ssh public key for them. But of course, that safer than a passord or an access token | 15:59 |
anteaya | ssh public key would be fine | 16:04 |
persia | That works for ssh. I'm not sure what the equivalent would be for HTTP. Maybe public keys for client-side X.509 certificates? | 16:04 |
anteaya | can you use an ssh public key as validation to create an iniital token? | 16:05 |
persia | anteaya: ssh keys only mean things to ssh services, so there's no way to usefully use an ssh key with an http service, sadly. | 16:06 |
persia | I've used a number of applications that use launchpadlib (linked above), which does the necessary stuff with Ubuntu One OpenID. | 16:06 |
persia | Alternately, we'd need to invent something. | 16:06 |
anteaya | hmmm, okay before we go that route let me do a bit of digging | 16:07 |
anteaya | I also want to include notmorgan on this conversation once he is around | 16:07 |
anteaya | I'm sure he has some thoughts to share on api auth | 16:07 |
*** faybrocklebank has quit IRC | 16:13 | |
zaro | anteaya: how far are you with the testing? | 16:20 |
persia | Zara: for your API script, you hardcoded the token, right? | 16:20 |
Zara | yeah | 16:21 |
anteaya | zaro: hi, so far just what I have put in channel and in the storyboard meeting | 16:21 |
anteaya | the plugin is confirgured and pleia2 was able to confirm via the storyboad-dev logs that it can do GETs | 16:22 |
anteaya | http://paste.openstack.org/show/515857/ | 16:22 |
anteaya | now I am trying to figure out how to get it to do PUTs and POSTs | 16:22 |
anteaya | and since I don't know how the storyboard api works yet myself was doing it for my beneift first from the gerrit server | 16:23 |
anteaya | and then got tied up in auth questions | 16:23 |
anteaya | can the storyboard plugin auth with openid and get a storyboard token, do you know? | 16:23 |
zaro | anteaya: no, you need to provide the token. it should be set in gerri.config it’s the storyboard password | 16:26 |
zaro | anteaya: IIRC you can find the user token in SB using the UI | 16:26 |
zaro | anteaya: but it looks like you can’t even post outside of gerrit, correct? | 16:27 |
anteaya | well I don't know if I can post yet as I didn't know I had to provide the token | 16:28 |
anteaya | the storyboard password should be the token? | 16:28 |
zaro | yes, i believe the token is the password. | 16:28 |
anteaya | yes there it is in the instructions: https://gerrit.googlesource.com/plugins/its-storyboard/+/master/src/main/resources/Documentation/quick-install-guide.md#its_connection_its_connectionConnection-Configuration | 16:29 |
anteaya | which I didn't understand at the time | 16:29 |
zaro | anteaya: how does pleia2 know that those requests came from your gerrit instance? | 16:29 |
anteaya | okay this is going to be frustrating to have to reset that every hour | 16:29 |
anteaya | zaro: she grepped for my ip address in the logs | 16:29 |
anteaya | can the storyboard plugin reauthenticate once it has an inital token? | 16:30 |
zaro | IIRC, SB allows you to set the timeout on the token. i think you can set for 30 days or something like that | 16:30 |
zaro | or even indefinately i believe | 16:31 |
anteaya | oh okay so manually create a 30 day token for my user and feed that to the config | 16:31 |
anteaya | I'll try that to confirm the plugin works as designed | 16:31 |
zaro | yes, | 16:31 |
anteaya | great thanks | 16:31 |
anteaya | we may end up having a follow up discussion with folks about this element of the design of the plugin | 16:32 |
zaro | but first you need to make sure you can do POST to SB outside of gerrit | 16:32 |
anteaya | but for now I will confirm it works as designed | 16:32 |
anteaya | right, which I just learned the syntax for yesterday and hope after lunch to have time to try | 16:32 |
zaro | if you can’t do POST outside of gerrit then gerrit won’t be able to post either | 16:32 |
anteaya | that makes sense to me | 16:33 |
anteaya | I need to get some lunch and try this now | 16:33 |
anteaya | and then will report back | 16:33 |
anteaya | thanks so much zaro! | 16:33 |
anteaya | \o/ | 16:33 |
zaro | cool, talk to you later. | 16:33 |
*** faybrocklebank has joined #storyboard | 16:37 | |
anteaya | thanks zaro | 16:38 |
* SotK successfully creates a story with curl | 16:39 | |
SotK | http://paste.openstack.org/show/516313/ | 16:40 |
SotK | replace MY_ACCESS_TOKEN with a real access token | 16:41 |
SotK | which is valid | 16:41 |
anteaya | woooooo | 16:43 |
anteaya | thank you | 16:43 |
anteaya | I don't see it https://storyboard-dev.openstack.org/#!/story/list | 16:44 |
SotK | yeah, it doesn't have tasks as they are made in a separate POST | 16:44 |
SotK | so it isn't "active" | 16:45 |
SotK | the output from curl should've given you an ID | 16:45 |
SotK | probably 14 | 16:45 |
anteaya | https://storyboard-dev.openstack.org/#!/story/13 | 16:46 |
anteaya | cool, thank you | 16:46 |
SotK | hm, 13 is the one I created to test it I think | 16:47 |
zaro | how do you do that same post without -—insecure? | 16:47 |
zaro | i think we want gerrit <—> SB to be secure, no? | 16:47 |
SotK | do it against something that has real ssl certs at a guess | 16:47 |
SotK | I had to add that because curl was refusing the self-signed certs on storyboard-dev | 16:47 |
zaro | anteaya: i think that means you need to setup some ssl thing on your gerrit machine | 16:48 |
zaro | because gerrit sb plugin assumes secure communications | 16:48 |
*** bethwhite has quit IRC | 16:49 | |
zaro | SotK: you know how to setup the machine so that curl does not require the insecure flag? | 16:49 |
* SotK makes another story for fun | 16:50 | |
SotK | zaro: I'm afraid not, the docs suggest various things here: https://curl.haxx.se/docs/sslcerts.html | 16:52 |
anteaya | I'm not setting up ssl on my gerrit machine | 16:53 |
anteaya | if I can get it this far I think that is enough to justify it on review-dev | 16:54 |
anteaya | that is the only point of my local instance is to say yes this is worth going on review-dev now | 16:54 |
anteaya | so let me have lunch and see if I can post first | 16:54 |
anteaya | I don't want to have to fight with ssl | 16:54 |
anteaya | to be honest I think the fact it can GET is confirmation enough it can safely go onto the review-dev server now | 16:55 |
pleia2 | anteaya: if there's any way another system on your network was accessing the gerrit api, it could be that it wasn't the gerrit instance accessing it | 16:55 |
pleia2 | in the log snippit I pasted to you the useragent was firefox, not sure what Gerrit's is supposed to be (but many applications say firefox) | 16:56 |
anteaya | no it was the gerrit instance | 16:56 |
anteaya | the timestamps match to the minute the comment I made that trigged the event | 16:56 |
pleia2 | ok, just confirming :) | 16:56 |
anteaya | and all the gets came from the same event based on timestamps | 16:56 |
anteaya | pleia2: thank you, yes, I'm sure because the timestamps line up | 16:57 |
pleia2 | zaro asked khow I "know" where they came from, and I didn't know, I was basing it off your feedback :) | 16:57 |
anteaya | yup, good follow up | 16:57 |
* anteaya checks her lunch | 16:57 | |
anteaya | zaro: sorry I shouldn't have been so abrupt | 16:58 |
anteaya | I don't like wrangling certs and don't have good experiences doing so in the past | 16:59 |
anteaya | plus I am not testing certs here | 16:59 |
*** faybrocklebank has quit IRC | 16:59 | |
anteaya | so would like to focus on the minimum to get consensous it can go on the review-dev server and continue work from there | 16:59 |
anteaya | do folks know the access token is created with a whitespace at the end? when I click it 3 times to select it I get Active and whitespace at the front and a whitespace at the end | 17:13 |
SotK | isn't that just how triple-clicking works in a table cell? | 17:14 |
anteaya | is it? | 17:17 |
anteaya | when I click my gerrit http password it gives it to me so that I can paste it without altering it | 17:17 |
anteaya | since I have to paste it into the command line which gives me no ability to edit it after it is pasted | 17:18 |
anteaya | anyway I can POST from my gerrit instance, manually: http://paste.openstack.org/show/516319/ | 17:18 |
anteaya | and I can create a token that lasts a decade | 17:19 |
Zara | (I don't know enough about the gerrit ui to know why that happens; it might well be a change they've made there. we don't do anything extra in storyboard afaik) | 17:19 |
anteaya | okay fair enough | 17:19 |
anteaya | thanks | 17:19 |
Zara | and yay! :) glad it's working so far | 17:20 |
Zara | been distracted today, sorry, and about to vanish! | 17:21 |
Zara | hopefully more present tomorrow | 17:21 |
anteaya | so far so good, I just created a token that lasts a year and added it to my local gerrit config according to https://gerrit.googlesource.com/plugins/its-storyboard/+/master/src/main/resources/Documentation/quick-install-guide.md#its_connection_its_connectionConnection-Configuration | 17:21 |
anteaya | Zara: have a lovely evening | 17:21 |
Zara | you too :) | 17:22 |
anteaya | and restarting | 17:22 |
anteaya | and just added another comment to a patch that has Story: 11 in the commit message | 17:23 |
anteaya | I'm really looking forward to getting rid of pagination on things | 17:24 |
*** jamesmcarthur has quit IRC | 17:44 | |
*** jamesmcarthur has joined #storyboard | 17:45 | |
anteaya | anyone still online to help me find guidance to set up my own storyboard instance? | 18:44 |
*** openstackgerrit has quit IRC | 19:33 | |
*** openstackgerrit has joined #storyboard | 19:33 | |
anteaya | http://paste.openstack.org/show/516364/ | 20:47 |
anteaya | latest output from the storyboard-dev logs after I input a year long token in gerrit.config in my local instance and downloaded zaro's plugin that is built for 2.11 | 20:48 |
anteaya | and I confirm the first 3 char and last 3 char of the token match the token in /profile/tokens that is marked active and is set to expire in 2017 | 20:50 |
anteaya | I did a hard stop and start after I installed the new plugin, and I removed the old plugin prior to downloading the new one | 20:52 |
anteaya | I'm out of ideas on what to do next | 20:52 |
*** jamesmcarthur has quit IRC | 20:53 | |
*** jamesmcarthur has joined #storyboard | 21:29 | |
*** jamesmcarthur has quit IRC | 21:31 | |
*** jamesmcarthur has joined #storyboard | 21:31 | |
*** openstackgerrit has quit IRC | 22:02 | |
*** openstackgerrit has joined #storyboard | 22:06 | |
*** jamesmcarthur has quit IRC | 22:20 | |
*** jamesmcarthur has joined #storyboard | 22:29 |
Generated by irclog2html.py 2.14.0 by Marius Gedminas - find it at mg.pov.lt!