refactor(lib): extract logic for mergiraf {merge,solve} out into separate modules #297

Merged
ada4a merged 4 commits from ada4a/mergiraf:split_merge_and_solve into main 2025-04-16 11:42:30 +02:00
Owner

I remember first delving into lib.rs, and feeling very lost jumping
between similarly-named functions placed in a seemingly random order. I
believe that after numerous restructurings (#123, #127, #132, #157), a
clearer structure has started to emerge, and this PR will hopefully be
the final step required.

Very pompous, I know, but that's not totally unwarranted I think

I remember first delving into `lib.rs`, and feeling very lost jumping between similarly-named functions placed in a seemingly random order. I believe that after numerous restructurings (#123, #127, #132, #157), a clearer structure has started to emerge, and this PR will hopefully be the final step required. Very pompous, I know, but that's not totally unwarranted I think
Author
Owner

I'm pretty sure this will break every single WIP PR, but oh well 😅

I'm pretty sure this will break every single WIP PR, but oh well 😅
wetneb approved these changes 2025-03-29 17:31:22 +01:00
wetneb left a comment
Owner

Yay! Makes a lot of sense.

Yay! Makes a lot of sense.
Author
Owner

Glad you like it! I don't want to stall #296 for no reason, so I'll wait with this one until that one's merged:)

Glad you like it! I don't want to stall #296 for no reason, so I'll wait with this one until that one's merged:)
ada4a force-pushed split_merge_and_solve from b13aaef0f0 to 31115451b2 2025-04-05 12:50:29 +02:00 Compare
Author
Owner

rebased onto main

rebased onto main
Author
Owner

Given that there was no response from #296, would you be okay with me merging this and asking you to resolve the resulting conflicts there @wetneb?

Given that there was no response from #296, would you be okay with me merging this and asking you to resolve the resulting conflicts there @wetneb?
Owner

Fine by me, there are already conflicts to resolve there anyway.

Fine by me, there are already conflicts to resolve there anyway.
ada4a merged commit 98035a8768 into main 2025-04-16 11:42:30 +02:00
ada4a deleted branch split_merge_and_solve 2025-04-16 11:42:31 +02:00
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: mergiraf/mergiraf#297
No description provided.