The Problem:
I have enabled the GitHub Add-on and I am stuck in "Pending" state. There are no repositories in the drop-down list, and there is no way to remove the Add-on.
The Problem:
I have enabled the GitHub Add-on and I am stuck in "Pending" state. There are no repositories in the drop-down list, and there is no way to remove the Add-on.
+1 on this issue. Making the repo a personal one then moving it to the organization won't work for my studio.
The Reason:
There are two reasons that this can happen. The most obvious one is that you have no respositories that you own on the GitHub account that you have authorized. Our Add-on system only becomes active once you have selected a repository. If you don't see any repository, and you go back to the Add-on list it will show that the Add-on for Github is in a Pending state.
The second reason that this can happen, and this is something that we will update our documentation about so that it is very clear, is if you used an account that is part of an Organization. In that model, you have access to the repositories of your Organization in GitHub, but those repos are not owned by you, and so will not appear in the GitHub integration Add-on in PlayFab. At this time, the GitHub API does not allow anyone other than the account owner to register Webhooks for the repository.
The Solution:
As it stands, we recommend that you create a new GitHub account for use with PlayFab. Once you have your new account you should create a repository for each Title.
If you're stuck in a pending state you can resolve the issue by logging into GitHub under the account you Authenticated with and then navigating to this GitHub settings page (https://github.com/settings/applications) and Revoke the access to Game Manager.
In other words:
Step 1: Login to your github account ( the same one that you authenticated with when installing the addon )
Step 2: Navigate to: https://github.com/settings/applications
Step 3: Revoke GameManager
Then, go back to GameManager --> Addons --> GitHub in your title and you can authorize your new GitHub account.
Now you should see the repositories that you created on your new GitHub account in the dropdown.
Sorry for any confusion this has caused. We will get the docs updated ASAP and put some additional information in the Add-on install page to help alleviate the confusion here.
@marco: It would be really nice to have access to the repositories of a Github "organization" for this integration. In fact, it's critical. Our organization has a paid Github account with several available private repositories. Are you saying that we need to pay for another individual Github account? This causes lots of logistical issues. Also, it makes it very difficult to collaborate with multiple team members.
It should be possible to have access to those repositories if you set up Third-Party application access: https://help.github.com/articles/about-third-party-application-restrictions/ ... ie, the requirement of "owning" a repository is handled by Github's security policies.
@mike thanks for the info we will look into this further. However, I can't give a timeline for when this will happen but I will create a ticket internally to look into it.
+1 on this. I am the creator and admin of the GitHub organization but, as you are saying, there is no way I can access the repo. As Organization is the only way of keeping a project private (unless private but I believe that goes against GitHub rules for a commercial company) there is no way to actually use this feature.
I seem to have worked around PlayFab's inability to access a repository within a GitHub organization by creating a private repository, connecting it to PlayFab, and _then_ transferring the repository to the organization. Here's what I did:
It would be nice if this could be prioritized along the last spring teased ability to have multiple environments on a single application.
We are a studio using PlayFab Pro in live operations and from CI/CD perspective as well as longer term reliability, using personal repositories in an organisation with well over a dozen developers and multiple environments (development, staging and live) and changes to the team is risky at best especially given the operation critical nature of the data.
Just so you know, our focus in terms of Cloud Script is adding an Azure Functions version (C#, full debugging). It will also provide better options for revision management.
Will the better revision management be independent of Azure and Azure functions or depend on them?
5 People are following this question.