Octokit is the GitHub Ruby wrapper. It's been around a long time and is well-supported.
From here with @client, we currently call an octokit method to look up repos to display in the settings area.
@client.repositories.eachdo|repo|...
I imagine to add the org repos, it'll be a matter of finding out what octokit has for that. Maybe they have a flattened way of finding all the repos, but I imagine it could be about sort of traveling up and down the object tree to get them. Hopefully it can be done efficiently.
Good luck, we can help with any bumps!
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
I wouldn't say this is a particularly simple first Rails issue but since it's yours I think you have the other insight to make it happen.
Basically in the controller we have this defined:
Octokit is the GitHub Ruby wrapper. It's been around a long time and is well-supported.
From here with
@client
, we currently call an octokit method to look up repos to display in the settings area.I imagine to add the org repos, it'll be a matter of finding out what octokit has for that. Maybe they have a flattened way of finding all the repos, but I imagine it could be about sort of traveling up and down the object tree to get them. Hopefully it can be done efficiently.
Good luck, we can help with any bumps!