On Wed, 25 Aug 2021 at 01:07, Aaron Meurer <[email protected]> wrote:
>
> Are you simulating having the PR run in a "merged with master" state
> when running the authors script on CI? Maybe we should update the
> script itself so that it can do this.

It's not a simulation. When a PR is pushed GitHub actions will make a
temporary commit that merges the PR into master and then all tests run
on that commit. The problem I'm referring to is that usually if you
suggest that a contributor should "merge with master" in their PR the
merge is in the opposite direction (merge master into the PR rather
than PR into master). For most purposes this doesn't make any
difference because the final state of the changes to files is the
same. However the authors script looks through the topological order
of the commits and that is not the same in both situations. That's why
currently a rebase is needed: before the PR can be merged the
topological order needs to correspond to the chronological order in
which PRs are merged (but before the PRs are merged the *eventual*
chronological order is not actually known).


Oscar

-- 
You received this message because you are subscribed to the Google Groups 
"sympy" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sympy/CAHVvXxRHj27Xccr7nwtR%2B1yR_-OBY7fribJ1%3DRshzkP3e2iMjw%40mail.gmail.com.

Reply via email to