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 repositoryId overloads to methods on I(Observable)RepositoryPagesClient #1357

Merged

Conversation

alexander-efremov
Copy link
Contributor

As part of my work on #1120 I've added new overloads on I(Observable)RepositoryPagesClient to get access by repository id.

  • Update XML documentation of interface methods of clients (also synchronize XML docs of IRepositoryPagesClient and IObservableRepositoryPagesClient).

    There is some divergence between XML documentation of methods in IRepositoryPagesClient and IObservableRepositoryPagesClient. So I've decided
    to sync XML documentation of these classes during my work on Add support for interacting with repositories by id. #1120.

  • Add overloads to IRepositoryPagesClient.

    Just add overloads of existing methods that use repositoryId to work with repo.

  • Add overloads to IObservableRepositoryPagesClient.

    Just add overloads of existing methods that use repositoryId to work with repo.

  • Add unit tests.

    I've added new unit tests that use repositoryId to work with repo that is just a full copy of existing tests that use (owner, name) key.
    Also I've found out that not all methods are covered by tests and added them for new and for old methods.

  • Add integration tests.

    I've added only one new integration test for now because of improve documentation for interacting with Pages API #1263

/cc @shiftkey, @ryangribble

@alexander-efremov
Copy link
Contributor Author

@ryangribble please rerun travis here, it fails again because of seg fault.

@alexander-efremov
Copy link
Contributor Author

I've cleared tags here.

@shiftkey shiftkey self-assigned this Jul 7, 2016
@shiftkey
Copy link
Member

shiftkey commented Jul 7, 2016

Just 🔥 the <returns> tests here and I think this is good to merge...

@alexander-efremov
Copy link
Contributor Author

@shiftkey done!

@shiftkey shiftkey merged commit 6f3c8c4 into octokit:master Jul 12, 2016
@alexander-efremov alexander-efremov deleted the add-repo-id-repo-pages-client branch July 12, 2016 23:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants