octokit.net
octokit.net copied to clipboard
Implement Migration - Source Imports client
https://developer.github.com/v3/migration/source_imports/
Added to API docs approximately Feb 19 2016
The Source Import API lets you start an import from a Git, Subversion, Mercurial, or Team Foundation Server source repository. This is the same functionality as the GitHub Importer.
/migration/sourceimports/
- PUT /repos/:owner/:repo/import
- GET /repos/:owner/:repo/import
- GET /repos/:owner/:repo/import/authors
- PATCH /repos/:owner/:repo/import/authors/:author_id
- DELETE /repos/:owner/:repo/import
Note this is a preview API and custom accept headers are required to activate it
application/vnd.github.barred-rock-preview
Since I'm already implementing the Migrations API, should I take this up after I am finished with that?
Certainly, but it's definitely best to get one over the line before working on the next.l :grinning: Infact, I haven't yet started on #1024 which would be a higher priority IMO, if you wanted to knock off some of that coding :stuck_out_tongue_winking_eye:
@ryangribble Sure, I'll try to make it production-ready ASAP.
@ryangribble Hi Ryan, does octokit has an implementation for source import endpoint to migrate from other git repos(non GitHub ones) to GitHub
👋 Hey Friends, this issue has been automatically marked as stale
because it has no recent activity. It will be closed if no further activity occurs. Please add the Status: Pinned
label if you feel that this issue needs to remain open/active. Thank you for your contributions and help in keeping things tidy!