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 support for auto_delete_head_branch #265

Closed
wants to merge 5 commits into from

Conversation

TomTucka
Copy link

@TomTucka TomTucka commented Aug 6, 2019

Relates to #264

Waiting on go-github to support this.

@ghost ghost added the size/XS label Aug 6, 2019
@@ -137,6 +136,10 @@ func resourceGithubRepository() *schema.Resource {
Type: schema.TypeString,
Computed: true,
},
"auto_delete_head_branch": {
Type: schema.TypeBool,
Computed: true,
Copy link
Contributor

Choose a reason for hiding this comment

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

Why is this marked as 'Computed'? When the API allows it, I'm going to want to be able to adjust this setting on my repositories from within Terraform, so this will have to be a normal setting, not a computed setting.

Copy link
Author

Choose a reason for hiding this comment

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

Thanks @kpfleming I've addressed this now, I can't do much more until #342 is merged.

@ghost ghost added the Type: Documentation Improvements or additions to documentation label Feb 18, 2020
@TomTucka
Copy link
Author

currently blocked by #342

@TomTucka TomTucka marked this pull request as ready for review February 18, 2020 06:54
@stefansedich
Copy link

@TomTucka with #342 merged any idea how long until we can get this one in?

@yordis
Copy link

yordis commented Mar 5, 2020

Hey folks, any updates on this?

@TomTucka
Copy link
Author

TomTucka commented Mar 5, 2020

Sorry, I've had a hectic few weeks at work, I'll try get this done before the end of next week

@yordis yordis mentioned this pull request Mar 5, 2020
10 tasks
@stefansedich
Copy link

Sorry, I've had a hectic few weeks at work, I'll try get this done before the end of next week

Anything I can do to help get this one in @TomTucka ?

@stefansedich
Copy link

@TomTucka any movement here? If I can help in any way to wrap it up let me know would love to close this one off on our end.

@jcudit jcudit added this to the v2.6.0 milestone Mar 30, 2020
@jcudit
Copy link
Contributor

jcudit commented Mar 30, 2020

How about we give @TomTucka another week to respond? If there are no objections in a week, @stefansedich please pick up the work needed to close this out. From what I can tell, this just needs to be rebased and perhaps have acceptance tests updated to include this code path.

I have a few things I'd like to get released ahead of this so deferring to the next minor release works best on my end. Thanks for the additional patience on this one 😅

@jcudit
Copy link
Contributor

jcudit commented Apr 2, 2020

I believe https://github.com/terraform-providers/terraform-provider-github/pull/399 resolves the issue as well. I plan to proceed with that PR instead and will circle back to this one if things do not work out.

@jcudit jcudit added this to the v2.7.0 milestone Apr 2, 2020
@jcudit jcudit closed this in #399 Apr 2, 2020
@jcudit jcudit modified the milestones: v2.7.0, v2.6.0 Apr 3, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
size/XS Type: Documentation Improvements or additions to documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants