jupyter / jupyter-sphinx

Sphinx extension for rendering of Jupyter interactive widgets.
https://jupyter-sphinx.readthedocs.io/
BSD 3-Clause "New" or "Revised" License
186 stars 65 forks source link

re-authorize merge commits to main branch #269

Closed 12rambau closed 8 months ago

12rambau commented 8 months ago

@blink1073 could you change the rules applied to the main branch and re-authorize merge commits as discussed in https://github.com/jupyter/jupyter-sphinx/pull/237. I wanted to start merging bigger PR and only squash merges are allowed on main.

As a maintainer, I can do it in global config but I don't have enough rights to change branch rules.

blink1073 commented 8 months ago
image

As I said, I think "Rebase and merge" is a much better option, it preserves the order of the history without having a merge commit.

12rambau commented 8 months ago

I tried on #268 and it's creating a conflict that cannot be solved from the GH interface. As @akhmerov and I were ok to go back to the previous workflow I thought it was just a matter of applying it. I'm sorry if I look stubborn but I really don't see the advantage of forcing the use of either squash or rebase compared to merge considering the drawbacks I already mentioned and seeing now that it requires extra work to do something that is transparent with the default merge.

EDIT: And writting that I'm asking myself in the absense of a merge commit will the autogenerated changelog from github continue to work?

blink1073 commented 8 months ago

I will disagree and move on, I changed the policy.

12rambau commented 8 months ago

thanks a lot, I'm sure your method is better, we simply didn't face the need so we behave like spoiled child ;-)