Do we need a better strategy for regular conflict files? #5268
Replies: 6 comments 8 replies
-
Is it possible to make a GitHub Action that updates the lockfiles within the PR? This would mean
|
Beta Was this translation helpful? Give feedback.
-
We could probably make a tool that updates the lock files within a PR, perhaps called by a magic comment (like conda-forge PR's), which would make it less clunky than the offline updates and reduce the pain of resolving the conflict. |
Beta Was this translation helpful? Give feedback.
-
Problems not always confined to My lazy-save PR has been a constant problem to maintain, to get running tests, because it wants to add 'distributed' into the deps. Every time someone merged an update to the lockfiles, I needed to ...
It's been painful, for sure ! |
Beta Was this translation helpful? Give feedback.
-
Some opinions that emerged on the
|
Beta Was this translation helpful? Give feedback.
-
Within each whatsnew category, there is no particular order to the entries, though I guess it's roughly chronological. If we adopted the convention that they are ordered alphabetically by name of author, conflicts between authors would occur less often. |
Beta Was this translation helpful? Give feedback.
-
I was wondering if this simple sort of conflict might in fact have an automatable solution. Not sure though. |
Beta Was this translation helpful? Give feedback.
-
docs/src/whatsnew/latest.rst
When
Almost every PR involves a contribution to this file. Any two that are under the same heading will conflict.
Solution?
.txt
files that must be aggregated before a release, so I'd prefer not to go back to that.requirements/locks/*
When
Anyone making changes to the
requirements/*.yml
files will need to make a corresponding update to the lock files. Any two such PR's will conflict, which can be quite regular due to the automated weekly updates of these files.Solution?
Possible common solutions
Approve
review has been made - they must be updated before merging.Could combine with auto-merge
This is a pretty tricky one. I don't expect the solution to be simple or without compromise.
Beta Was this translation helpful? Give feedback.
All reactions