Yes, this is source code that I originally wrote. Priti has been working with me in order to make the code into something more suitable for public consumption. I think this code, and perhaps some surrounding documentation, could serve nicely as a practical example of how to utilize and integrate existing OpenWhisk packages (GitHub, Cloudant, Slack, and Alarms) into a useful little app. With that said, I'm not sure which repo would make the best home for this. Justin
Rodric Rabbah <rod...@gmail.com> wrote on 02/10/2017 02:07:16 PM: > From: Rodric Rabbah <rod...@gmail.com> > To: dev@openwhisk.apache.org > Cc: d...@openwhisk.incubator.apache.org > Date: 02/10/2017 02:07 PM > Subject: Re: OpenWhisk Functions to receive GitHub pull request > updates on Slack > > Note the links are to Justin Brestler's repository. > > -r > > > On Feb 10, 2017, at 1:42 PM, Carlos Santana <csantan...@gmail.com> wrote: > > > > Hi Priti Desai > > > > From your description this sound like a good solution/app to have as > > sample app in company with a blog post > > > > I don't think it fits as a building block package, it looks you are already > > using from of the packages in the catalog to compose the app/solution. > > > > I can only go by what you describe as the github repository links you share > > they look like private repository maybe the IBM Github Enterprise server. > > And this is not publicly available. > > > > I recommend to create a repo under your user id in github to share the app > > and do a blog post, we then can added to the repo we list all the awesome > > tools and samples the OpenWhisk Community is doing and sharing [1]. > > > > We link to this repo from the OpenWhisk website [2] > > > > [1] https://github.com/openwhisk/openwhisk-external-resources#applications > > [2] http://openwhisk.org > > > > --Carlos > > > > > >> On Fri, Feb 10, 2017 at 1:22 PM Priti Desai <pde...@us.ibm.com> wrote: > >> > >> > >> Hi, > >> > >> I was working on some functions that uses OpenWhisk and had an idea to add > >> it as a package. Here is its description: > >> > >> This package is about demonstrating how OpenWhisk project developers are > >> using OpenWhisk functions to > >> improve its own Continuous Development and Integration (CD/CI) processes. > >> OpenWhisk development and code commits are managed by Pull Requests in > >> GitHub. OpenWhisk team at IBM has implemented set of functions to receive > >> updates on Slack when a GitHub Pull Request is ready to merge or a list of > >> requests are under review for certain days and haven’t merged. > >> > >> Please grant your permission to create a new package and commit the list of > >> files from: > >> > >> > >> https://github.ibm.com/bjustin/OWGitSlackBot/blob/master/ > find_delayed_prs.js > >> https://github.ibm.com/bjustin/OWGitSlackBot/blob/master/monitor.js > >> https://github.ibm.com/bjustin/OWGitSlackBot/blob/master/post_to_slack.js > >> > >> Cheers > >> Priti > >> >