Adding a computed attribute for the repository owner to the github_repository#2675
Adding a computed attribute for the repository owner to the github_repository#2675AlanCitrix wants to merge 1 commit intointegrations:mainfrom
Conversation
nickfloyd
left a comment
There was a problem hiding this comment.
Just a comment about making things a little more safe.
| _ = d.Set("topics", flattenStringList(repo.Topics)) | ||
| _ = d.Set("node_id", repo.GetNodeID()) | ||
| _ = d.Set("repo_id", repo.GetID()) | ||
| _ = d.Set("owner", repo.GetOwner().GetLogin()) |
There was a problem hiding this comment.
Thanks for the contribution @AlanCitrix!
Minor fix: please run go fmt . to format your files.
|
@AlanCitrix Please let us know if you still would like to see this change land. Given it's been a bit we will move it out of the current target v6 and into a later one v7. If you get the chance and are able to run |
d1717c6 to
0927341
Compare
Sorry for the delay got it fixed now. That all sounds good thanks! |
32f1f01 to
a5802d3
Compare
|
Thanks for fixing these! Since this has been targeted to the v7 release, would you be willing to try rebasing on the github-go-v68 branch? Though it's not final and you'll possibly need to rebase once we get it merged to main |
57f3649 to
5c902b9
Compare
a06e93b to
48bc34e
Compare
48bc34e to
64c8a61
Compare
|
Ok had a little fight with git but I think I've got it correct now. @deiga is this what you had in mind to target the |
|
@AlanCitrix Yes, exactly! Thank you for doing that :) Now let's hope we can get v7 released ASAP |
|
@AlanCitrix |
…epository` resource and data source. Fixes integrations#2503
791b93e to
7daca1e
Compare
|
Done @deiga , please approve the github action |
Resolves #2503
Before the change?
full_name, or passed around as a separate variable.After the change?
name+ownerwhen using anonymous auth.full_namewill also still work.Pull request checklist
Does this introduce a breaking change?
Please see our docs on breaking changes to help!