deprecated-packages / rector-ci

MIT License
12 stars 0 forks source link

Brainstorming output #47

Open JanMikes opened 5 years ago

JanMikes commented 5 years ago

@TomasVotruba

TLDR:

IMG_2360

JanMikes commented 5 years ago

@TomasVotruba fyi, we will not be able to install rector-ci to repositories on our side, user has always to do this on github and then it will return him back to rector-ci.org

You can enable others to install your public app by providing the installation URL in places like your app's homepage. You can then point to your app's homepage from the landing page on GitHub.

source: https://developer.github.com/apps/installing-github-apps/#allowing-people-to-install-your-public-app-on-their-repository and https://developer.github.com/apps/migrating-oauth-apps-to-github-apps/#direct-users-to-install-your-github-app-on-repositories

JanMikes commented 5 years ago

Though there are special cases, when i might be able to use this (it needs to be tested out and will be tricky to implement, but we will do it 😄 ): https://developer.github.com/v3/apps/installations/#add-repository-to-installation

It can happen when i have installed rector-ci on one of organization's repositories and want to add another repository from that org