dwyl / dwylbot

:robot: Automating our GitHub Workflow to improve team communication/collaboration and reduce tedious repetition!
28 stars 7 forks source link

Should we create a Github App? #51

Closed SimonLab closed 7 years ago

SimonLab commented 7 years ago

Github has created a marketplace where people can search and install application that extend the Github functionalities. I think the main goal for Github is to get some revenue from the pay versions of these apps: "Note: As part of the Marketplace Developer agreement, GitHub receives a 25% revenue share from GitHub Marketplace listings." see https://developer.github.com/apps/adding-integrations/listing-apps-on-github-marketplace/about-github-marketplace/. To make it easy for developers to create and offer applications on the marketplace, Github has create "Github App". The main way for an App to access the Github API is now to use jwt and a private key to authenticate. However the OAuth are also wrapped in Github App and can be used to authenticate a specific user. I'm still looking at the Github App documentation and I'm creating a dummy simple app to tests the new functionalities. From this I'd like to create a "learn-github-app" repo which can help us to decide if we want to create dwylbot as an app and if we want to list it on the Github marketplace.

My first thought about apps, is that it is easier to install as Github take care of it, however if we create a paid version of dwylbot we will have to give 25% to Github. I also need to find out more about the small prints when an app is on the marketplace (rights, permissions, licences?)

Any ideas, feedback, comments or suggestions on why we should use the Github marketplace or why we should avoid it?

linked to #47 see also https://developer.github.com/apps/

ghost commented 7 years ago

Sounds like a good idea to investigate further - since the app store is relatively new this could be a great opportunity for us to get something out there and generate publicity

SimonLab commented 7 years ago

From a spike yesterday I manage to

All the process to add/remove dwylbot on repositories decribed on the issue https://github.com/dwyl/dwylbot/issues/30 can now be done directly with the Github Interface. However it would be nice to show on a dwylbot page which repositories have dwylbot installed and which one can get the application. Unfortunately at the moment I don't think the API let you install an Github app on your profile or organisations see the Github API doc:

SimonLab commented 7 years ago

yes let's use Github App, a new shiny thing to play with :tada: