Tuesday, 2020-06-02

*** tosky has quit IRC00:19
*** jamesmcarthur_ has quit IRC00:50
*** jamesmcarthur has joined #storyboard00:51
*** jamesmcarthur has quit IRC00:55
*** jamesmcarthur has joined #storyboard02:33
*** jamesmcarthur_ has joined #storyboard02:50
*** jamesmcarthur has quit IRC02:53
*** jamesmcarthur_ has quit IRC03:29
*** jamesmcarthur has joined #storyboard03:29
*** jamesmcarthur has quit IRC03:36
*** jamesmcarthur has joined #storyboard04:08
*** jamesmcarthur has quit IRC04:19
*** udesale has joined #storyboard04:41
*** jamesmcarthur has joined #storyboard04:53
*** jamesmcarthur has quit IRC04:59
*** jamesmcarthur has joined #storyboard05:17
*** jamesmcarthur has quit IRC06:32
*** jamesmcarthur has joined #storyboard06:33
*** lifeless has quit IRC06:38
*** jamesmcarthur has quit IRC06:38
*** lifeless has joined #storyboard06:39
*** jamesmcarthur has joined #storyboard07:05
*** jamesmcarthur has quit IRC08:11
*** sshnaidm has joined #storyboard08:31
sshnaidmhi, I have a question - can I get notification about new opened stories/bugs in IRC channel of the project?08:37
*** jamesmcarthur has joined #storyboard08:41
*** jamesmcarthur has quit IRC08:47
*** tosky has joined #storyboard08:57
*** udesale has quit IRC09:59
*** jamesmcarthur has joined #storyboard10:44
*** jamesmcarthur has quit IRC11:00
*** jamesmcarthur has joined #storyboard12:57
fungisshnaidm: yes, in your user preferences you have to enable notifications, and then on a project's page click the star icon to subscribe to it13:00
fungialso make sure you've supplied an e-mail address, of course13:00
fungi(a working one)13:00
sshnaidmfungi, ack, and can I make this notification be in IRC channel of the project? Like notification of openstack bot about LP bugs opened13:03
*** jamesmcarthur has quit IRC13:04
fungisshnaidm: no, thought you were asking about personal e-mail notification (like launchpad)13:04
fungithere isn't any exposed event stream for storyboard yet, so nobody's written any irc bots around that, though i suppose you could set up a bot account in sb and subscribe it to the projects you care about, then make an irc bot triggered by e-mail deliveries13:05
fungiwe did something similar for getting launchpad bug events into firehose13:06
sshnaidmfungi, can I just poll restapi of sb and see if I see a new story in my project? And then send notification13:22
sshnaidmwould be easier to do such a script I think13:23
fungisshnaidm: yep, you should be able to create an api key under your preferences for that13:24
fungiso that the script doesn't have to grok openid auth13:24
sshnaidmfungi, I see, so I need a bot account anyway13:24
sshnaidmfungi, or you mean I can use token of my personal account?13:25
fungisshnaidm: yeah, you can use your personal account and create an api token for it if you prefer13:25
sshnaidmfungi, cool13:25
fungijust be aware that token will have all the powers of your account, so if it gets lost and you don't realize to revoke it, folks could do pretty much anything with it you can do13:26
sshnaidmfungi, hmm, that's good to know, maybe better to have a separate account then13:32
sshnaidmread-only tokens would be nice to have :)13:32
fungiyeah, this is an odd corner case where it might be useful13:33
fungithough you could also just code the list of projects to check on the bot end and rely on anonymous api calls13:33
fungithen you don't need an api token at all13:33
SotKmight actually be better that way then you don't need to worry about not notifying about private stories13:34
fungisince you're actively polling, you don't necessarily need to set any preferences or subscriptions for it13:34
fungiright, read-only tokens with the ability to see private stories your account has access to could result in leaking sensitive information13:34
sshnaidmyeah, I think anon calls are totally fine for me13:38
SotKwe should really get round to adding a sanitised public event stream, it wouldn't be that hard to either publish public events to a separate topic in rabbitmq, or have a worker plugin that consumes from the main topic and republishes public events to a separate topic13:38
sshnaidmis there restapi scheme/description?13:47
SotKthe docs for it are here: https://docs.openstack.org/infra/storyboard/webapi/v1.html13:47
*** jamesmcarthur has joined #storyboard14:00
*** mugsie_ is now known as mugsie14:06
*** udesale has joined #storyboard14:18
*** jamesmcarthur has quit IRC15:04
*** udesale has quit IRC16:04
*** jamesmcarthur has joined #storyboard16:58
*** jamesmcarthur has quit IRC17:39
*** jamesmcarthur has joined #storyboard17:40
*** jamesmcarthur_ has joined #storyboard17:41
*** jamesmcarthur has quit IRC17:45
*** jamesmcarthur_ has quit IRC18:19
*** jamesmcarthur has joined #storyboard18:20
*** jamesmcarthur has quit IRC19:44
*** jamesmcarthur has joined #storyboard19:45
*** jamesmcarthur has quit IRC19:51
*** jamesmcarthur has joined #storyboard20:14
*** jamesmcarthur has quit IRC20:14
*** jamesmcarthur has joined #storyboard20:14
*** tosky has quit IRC23:34

Generated by irclog2html.py 2.17.2 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!