Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add core GitHub commands #1

Open
5 of 32 tasks
pcgeek86 opened this issue Mar 16, 2016 · 1 comment
Open
5 of 32 tasks

Add core GitHub commands #1

pcgeek86 opened this issue Mar 16, 2016 · 1 comment

Comments

@pcgeek86
Copy link
Owner

We need to fill out some of the core commands for interacting with GitHub.

Core

  • We need to figure out how to handle data pagination

Authentication

  • Support authentication in Microsoft Azure Automation runbook service, using PSCredential asset type
  • Encrypt GitHub Personal Access Token on-disk in JSON configuration file
  • Add support for multiple usernames and Personal Access Tokens
    • Enable user to switch between contexts
    • Enable user to specify a GitHub profile during each command call

Repositories

https://developer.github.com/v3/repos

  • List the authenticated user's GitHub repositories
  • List a specific user's public GitHub repositories
  • List all public repositories
  • Create new repositories
  • Edit / modify properties of existing repositories
  • Delete existing repositories
  • List contributors
  • List languages in project
  • List branches
  • Get a specific branch
  • List Git tags on a specific repository

Pull Requests

https://developer.github.com/v3/pulls/

  • View outstanding Pull Requests for an owner / repository
  • Merge one or more Pull Requests (one PowerShell command)
  • Update a Pull Request (title, description, state)
  • Create a Pull Request

Search

https://developer.github.com/v3/search/

  • Search for GitHub repositories
  • Search for GitHub issues
  • Search for GitHub users
  • Search for code

Issues

https://developer.github.com/v3/issues/

  • Create new GitHub issues
  • Close or re-open GitHub issues
  • List all or individual issues
  • Lock and unlock issues

Milestones

https://developer.github.com/v3/issues/milestones/

  • Create a milestone
  • List all milestones
  • Get a specific milestone
  • Update a milestone
  • Delete a milestone
@exactmike
Copy link

Pull request I posted today addresses:

  • List the authenticated user's GitHub repositories
  • List a specific user's public GitHub repositories
    I think with a little more effort and another parameterset we could also address
  • List all public repositories

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants