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

Change ListRepos and ListUserRepos to return new ListRepositories struct with count #1794

Merged
merged 2 commits into from
Feb 4, 2021

Conversation

DarthBenro008
Copy link
Contributor

@google-cla google-cla bot added the cla: yes Indication that the PR author has signed a Google Contributor License Agreement. label Feb 4, 2021
@codecov
Copy link

codecov bot commented Feb 4, 2021

Codecov Report

Merging #1794 (8dd8bff) into master (319dcff) will decrease coverage by 0.00%.
The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #1794      +/-   ##
==========================================
- Coverage   97.54%   97.54%   -0.01%     
==========================================
  Files          98       98              
  Lines        6385     6383       -2     
==========================================
- Hits         6228     6226       -2     
  Misses         85       85              
  Partials       72       72              
Impacted Files Coverage Δ
github/apps_installation.go 90.47% <100.00%> (-0.44%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 319dcff...645cf42. Read the comment docs.

Copy link
Collaborator

@gmlewis gmlewis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you, @DarthBenro008 !
Just one minor comment addition, please, then we should be ready for a second LGTM before merging.

github/apps_installation.go Show resolved Hide resolved
@gmlewis gmlewis requested a review from wesleimp February 4, 2021 13:55
Copy link
Collaborator

@gmlewis gmlewis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you, @DarthBenro008 !
LGTM.

Awaiting second LGTM before merging.

@gmlewis gmlewis added the Breaking API Change PR will require a bump to the major version num in next release. Look here to see the change(s). label Feb 4, 2021
@gmlewis gmlewis changed the title feat: #1791 new ListRepositories struct and tests Change ListRepos and ListUserRepos to return new ListRepositories struct with count Feb 4, 2021
Copy link
Collaborator

@wesleimp wesleimp left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 👌🏼

@gmlewis
Copy link
Collaborator

gmlewis commented Feb 4, 2021

Thank you, @wesleimp !
Merging.

@gmlewis gmlewis merged commit 24b281b into google:master Feb 4, 2021
Erouan50 added a commit to Erouan50/terraform-provider-github that referenced this pull request Apr 27, 2021
go-github released the Go client library to [35.1.0][1] 3 days ago. The
33, 34, 35 versions don't bring a lot of breaking changes that would
impact the provider. Only the [change][2] on ListRepo and ListUserRepos
from release 34 seems to have an impact.

To give some more context, I need this version to enhance the
`github-ip-ranges` by adding the missing [IP ranges][3] (actions, web,
etc...)

I didn't run the full ACC tests so if someone can run them for me and
communicate me any failing, I'll be more than happy to fix them.

Fix integrations#766

[1]: https://github.com/google/go-github/releases/tag/v35.1.0
[2]: google/go-github#1794
[3]: https://docs.github.com/en/rest/reference/meta
jcudit added a commit to integrations/terraform-provider-github that referenced this pull request May 11, 2021
* Update go-github to 35.1.0

go-github released the Go client library to [35.1.0][1] 3 days ago. The
33, 34, 35 versions don't bring a lot of breaking changes that would
impact the provider. Only the [change][2] on ListRepo and ListUserRepos
from release 34 seems to have an impact.

To give some more context, I need this version to enhance the
`github-ip-ranges` by adding the missing [IP ranges][3] (actions, web,
etc...)

I didn't run the full ACC tests so if someone can run them for me and
communicate me any failing, I'll be more than happy to fix them.

Fix #766

[1]: https://github.com/google/go-github/releases/tag/v35.1.0
[2]: google/go-github#1794
[3]: https://docs.github.com/en/rest/reference/meta

* Fix Go file formats

Co-authored-by: Jeremy Udit <jcudit@github.com>
kfcampbell pushed a commit to kfcampbell/terraform-provider-github that referenced this pull request Jul 26, 2022
* Update go-github to 35.1.0

go-github released the Go client library to [35.1.0][1] 3 days ago. The
33, 34, 35 versions don't bring a lot of breaking changes that would
impact the provider. Only the [change][2] on ListRepo and ListUserRepos
from release 34 seems to have an impact.

To give some more context, I need this version to enhance the
`github-ip-ranges` by adding the missing [IP ranges][3] (actions, web,
etc...)

I didn't run the full ACC tests so if someone can run them for me and
communicate me any failing, I'll be more than happy to fix them.

Fix integrations#766

[1]: https://github.com/google/go-github/releases/tag/v35.1.0
[2]: google/go-github#1794
[3]: https://docs.github.com/en/rest/reference/meta

* Fix Go file formats

Co-authored-by: Jeremy Udit <jcudit@github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Breaking API Change PR will require a bump to the major version num in next release. Look here to see the change(s). cla: yes Indication that the PR author has signed a Google Contributor License Agreement.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Return TotalCount in ListRepos in AppsService
3 participants