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 github membership #304

Merged
merged 1 commit into from
Mar 2, 2021
Merged

Add github membership #304

merged 1 commit into from
Mar 2, 2021

Conversation

eliecharra
Copy link
Contributor

Q A
πŸ› Bug fix? no
πŸš€ New feature? yes
⚠ Deprecations? no
❌ BC Break no
πŸ”— Related issues #247
❓ Documentation yes

Description

No acceptance for this one guys as I didn't find a simple way to accept invitation within acceptance test

@eliecharra eliecharra added the kind/enhancement New feature or improvement label Feb 26, 2021
@eliecharra eliecharra requested a review from a team February 26, 2021 15:14
@codecov
Copy link

codecov bot commented Feb 26, 2021

Codecov Report

Merging #304 (ba8f950) into main (d9b4ca5) will decrease coverage by 0.00%.
The diff coverage is 67.92%.

Impacted file tree graph

@@            Coverage Diff             @@
##             main     #304      +/-   ##
==========================================
- Coverage   68.90%   68.89%   -0.01%     
==========================================
  Files         259      262       +3     
  Lines        5554     5607      +53     
==========================================
+ Hits         3827     3863      +36     
- Misses       1398     1410      +12     
- Partials      329      334       +5     
Impacted Files Coverage Ξ”
pkg/remote/github/init.go 0.00% <0.00%> (ΓΈ)
pkg/remote/github/github_membership_supplier.go 42.85% <42.85%> (ΓΈ)
...hub/deserializer/github_membership_deserializer.go 69.23% <69.23%> (ΓΈ)
pkg/iac/deserializers.go 100.00% <100.00%> (ΓΈ)
pkg/remote/github/repository.go 85.29% <100.00%> (+4.16%) ⬆️
pkg/resource/github/github_membership.go 100.00% <100.00%> (ΓΈ)

Copy link
Contributor

@wbeuil wbeuil left a comment

Choose a reason for hiding this comment

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

Small typo and wonder why you didn't make any acceptance tests ?

raw := raw
res, err := decodeMembership(&raw)
if err != nil {
return nil, errors.Wrapf(err, "error when deserializing github_team %+v : %+v", raw, err)
Copy link
Contributor

Choose a reason for hiding this comment

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

... github_membership

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Nice catch, fixed

@eliecharra
Copy link
Contributor Author

Small typo and wonder why you didn't make any acceptance tests ?

As I said in the PR description :

No acceptance for this one guys as I didn't find a simple way to accept invitation within acceptance test

@wbeuil
Copy link
Contributor

wbeuil commented Mar 1, 2021

Sorry forgot what you said in the description of the PR. Then just the small typo and I'm good with it

@eliecharra eliecharra merged commit 010b339 into main Mar 2, 2021
@eliecharra eliecharra deleted the add_github_membership branch March 2, 2021 11:13
@eliecharra eliecharra linked an issue Mar 2, 2021 that may be closed by this pull request
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/enhancement New feature or improvement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add support for github_membership
2 participants