- [x] Create `Auth` - The arguments to `executeRequest` differ depending on whether you're talking to github.com or Enterprise, so need: 1. Default to github.com 2. Check if the provided domain is github's 1. If it is, use the `OAuth` constructor 2. If it isn't, use `EnterpriseOAuth` 3. If none provided use github.com and `OAuth` 4. pass these around in the app state This is necessary to ensure the right URLs are called (github.com doesn't use `/api/v3` like Enterprise does) - [x] Move labels - [x] Move Milestones - [x] Move issues - [x] Keep a mapping of old to new: - [x] Issue numbers (Hopefully we won't need to if we transfer everything in the same order) - [x] Milestones? - [x] PRs? ## Nice to haves - [x] Take in a list of mappings between user names, and auth tokens, so that comments can come from the correct person
Create
Auth- The arguments toexecuteRequestdiffer depending on whether you're talking to github.com or Enterprise, so need:OAuthconstructorEnterpriseOAuthOAuthThis is necessary to ensure the right URLs are called (github.com doesn't use
/api/v3like Enterprise does)Move labels
Move Milestones
Move issues
Keep a mapping of old to new:
Nice to haves