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

Clarify merge strategy #40

Merged
merged 2 commits into from
Feb 15, 2021
Merged

Conversation

janhoy
Copy link
Contributor

@janhoy janhoy commented Feb 14, 2021

To avoid production and master branches for the website coming out of sync, we clarify that all edits should be committed to master branch, and then merge master -> production branch.

Also allow merge commit from GitHub UI merge button, and not force squash commit, which will allow us to use the UI to do the merge from master->production.

@madrob
Copy link
Contributor

madrob commented Feb 14, 2021

Should we protect the production branch too?

@janhoy
Copy link
Contributor Author

janhoy commented Feb 14, 2021

Should we protect the production branch too?

I think the protection we gain with .asf.yaml will only prevent force push. I'll add that to this PR. Does not look like we can protect the prod branch against random push, i.e. require a merge from main...

@HoustonPutman
Copy link
Contributor

Small change, I think it would be nice to not allow the "squash merge" from a PR for the production branch.

@janhoy
Copy link
Contributor Author

janhoy commented Feb 15, 2021

Small change, I think it would be nice to not allow the "squash merge" from a PR for the production branch.

Agree but don’t think that is possible to describe in asf.yaml without disabling squash on master too.

@HoustonPutman
Copy link
Contributor

Ahh yeah I think you are right. Unfortunate

@janhoy janhoy merged commit 860014a into apache:master Feb 15, 2021
@janhoy janhoy deleted the clarify-merge-strategy branch February 17, 2021 15: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.

None yet

3 participants