Repository navigation
Update dev docs for GitHub Squash and merge option - #15100
Conversation
|
Thank you for your contribution to Astropy! 🌌 This checklist is meant to remind the package maintainers who will review this pull request of some common things to look for.
|
eerovaher
left a comment
There was a problem hiding this comment.
I quite like the new text (although i do have a few small suggestions), but I don't like that the text is split across two different files. Wouldn't it be better to have all the rebasing and squashing instructions in a single location?
Agreed, done! (just building the new version now). |
8ae354f to
f729f08
Compare
|
Rebased on main with the new pydata theme. |
|
@pllim - Can we enable Squash and merge just before merging this PR? I think the 3 commits should be squashed to one. 😄 |
|
Maybe but I won't have time to look at this this week though I am very interested. |
- Apply suggestions from @eerovaher code review - Merge when_to_rebase into dev workflow - Fix sphinx warnings and restore accidentally remove content - Fix another sphinx warning
77e1350 to
9854716
Compare
eerovaher
left a comment
There was a problem hiding this comment.
The updated content seems to be good, but I have a handful of formatting suggestions.
|
RTD completed successfully this time. |
Co-authored-by: Eero Vaher <[email protected]>
|
Thanks for the review and suggestions @eerovaher ! |
|
The commits need to be squashed, but other than that this should be ready. |
|
I think @taldcroft wants to just the "squash and merge". 😉 I won't have time to properly look at this until next week though. |
| integration tests to run correctly. | ||
| * There are merge commits from ``astropy/main`` in the PR commit history (merge | ||
| commits from PRs to the user's fork are fine). | ||
| * There are commit messages that violate the code of conduct. |
There was a problem hiding this comment.
Rebasing won't get rid of offensive commit messages, so not sure why this was added.
| * There are commit messages that violate the code of conduct. |
There was a problem hiding this comment.
Unless you also mean interactive rebase to squash?
There was a problem hiding this comment.
Maybe I will move this one to the "squash" section instead.
|
|
||
| .. _github-squash-and-merge: | ||
|
|
||
| Github 'Squash and merge' |
There was a problem hiding this comment.
Moving this section to maintainer workflows page. Also going to add more info to it.
Move section to maintainer workflow. Clarify policy.
pllim
left a comment
There was a problem hiding this comment.
I added my review as a commit directly. If no objection, let's enable this button!
|
pre-commit.ci autofix |
for more information, see https://pre-commit.ci
|
I did squash-merge + auto-merge 😸 Thanks, all! |
|
Thanks @pllim for getting this across the finish line! |
Description
This pull request is to update the developer docs to describe potential use of the GitHub
Squash and mergeoption when merging PR's. The intent is to enable this option for theastropyrepository, reducing effort for contributors and maintainers when squashing is desired.See https://astropy--15100.org.readthedocs.build/en/15100/
Fix #14473