-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Implement GitHub Enterprise Search Indexing API #1095
Implement GitHub Enterprise Search Indexing API #1095
Conversation
@shiftkey Linux build failure looks unrelated. It's the "type initializer for list threw exception" variant |
Could you guys kick off the travis build again when you have a sec? Failure was unrelated |
@ryangribble 👢ed and 👀ing |
@ryangribble thanks for the heads-up, I'll make sure to prioritize these reviews before any other Octokit stuff as I know merging csproj changes is all kinds of terrible right now 😁 |
@ryangribble #1073 has been merged 🤘 |
6d9b5f4
to
b3049ee
Compare
Awesome, this has now been rebased on master and should be ready for review and merge |
@shiftkey builds passed, ready when you are :) |
Implement GitHub Enterprise Search Indexing API
Yeah we had a bit of discussion on the issue #1026 about which way to go and ended up with the multiple methods. Thanks for merging! |
Ah, cool. Yeah, I like it. I'm just thinking about adding one additional method as a failsafe. But I don't want to do that yet.
Thanks for contributing! |
What would the failsafe be, out of interest?
eg normal API doco for User Administration: vs Enterprise API doco for User Administration Heaps more nice methods to create/delete users, impersonation tokens, etc. Fun times 😀 |
A method that took a target request object (or string). That way, if Enterprise ever added a new target string syntax, you wouldn't have to wait for the next Octokit.net to start calling it. |
Nice idea, I'll add it in the next couple of days! |
Status
🚀 Ready to merge!
This is built on top of #1073 which is not yet merged. Only the top 3 commits are actually relating to this PR. Once #1073 is merged, I will rebase this PR.Features Implemented
Implement Enterprise Search Indexing Client
https://developer.github.com/v3/enterprise/search_indexing/
Fixes #1026
Includes normal and reactive implementations plus unit and integration tests for both
Test Notes
The integration tests require a GitHub Enterprise instance so wont run as part of Octokit builds currently. Integration tests have been run succesfully against a local GHE instance