Skip to content

Conversation

isc-tleavitt
Copy link
Collaborator

@isc-tleavitt isc-tleavitt commented Jun 28, 2024

When we sync, we now automatically resolve differences in the production definition.
Also cleans up a few rough edges / edge cases with sync and import.

Fixes #380
Fixes #371
Fixes #389
Fixes #387

Pending tasks:

  • preserve commit messages in production merge
  • support resolution on sequential commits - skipping for now, won't happen with a single file
  • ensure a git rebase --continue that modifies the production reloads and compiles it
  • fix handling of rename on diff for sync

Going to abandon the general solution to focus on the things that commonly happen - rather than trying to reimplement three-way merge, just going to do the right thing with the git conflict file
IncrementalLoad needs to compile with ck, not u - production xdata changes aren't picked up with "u"
Protection against argumentless operations in RunGitCommandWithInput
@isc-tleavitt isc-tleavitt marked this pull request as draft June 28, 2024 13:45
@isc-tleavitt
Copy link
Collaborator Author

Hit one issue: a git rebase --continue may itself trigger a non-conflicting change to the production. We need to ensure it is reloaded and compiled in this case to avoid the really annoying error alert.

@isc-tleavitt isc-tleavitt changed the title Fix production conflicts automatically Fix production conflicts automatically Jul 2, 2024
@isc-tleavitt isc-tleavitt changed the title Fix production conflicts automatically Fix production conflicts automatically (and more sync tweaks) Jul 2, 2024
refactor: add and use utility methods in PullEventHandler
@isc-tleavitt isc-tleavitt marked this pull request as ready for review July 2, 2024 17:09
@isc-tleavitt isc-tleavitt requested a review from isc-pbarton July 3, 2024 16:52
@isc-tleavitt isc-tleavitt merged commit 5b1428b into main Jul 3, 2024
@isc-tleavitt isc-tleavitt deleted the fix-production-conflicts branch July 3, 2024 17:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants