You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The three resolvers git, hg and fossil share a lot of very similar code. The latter ones are both based on the git implementation.
Just copying the code was nice for getting started. But that much duplication carries a technical debt. It's hard to keep track of things, especially when there are slight differences between the implementations, some of them seemingly arbitrary. The code should be consolidated, and similar pieces merged together.
Two recently fixed bugs #569 and #573 only existed in the git resolver. The other two used basically the same code, but with the bugs already fixed. The fixes were never brought back to the git resolver, though.
I think quite a bit of shared functionality can be abstracted and put in a general utility module.
A major common aspect is the CLI, running processes with error handling etc.
The text was updated successfully, but these errors were encountered:
The three resolvers git, hg and fossil share a lot of very similar code. The latter ones are both based on the git implementation.
Just copying the code was nice for getting started. But that much duplication carries a technical debt. It's hard to keep track of things, especially when there are slight differences between the implementations, some of them seemingly arbitrary. The code should be consolidated, and similar pieces merged together.
Two recently fixed bugs #569 and #573 only existed in the git resolver. The other two used basically the same code, but with the bugs already fixed. The fixes were never brought back to the git resolver, though.
I think quite a bit of shared functionality can be abstracted and put in a general utility module.
A major common aspect is the CLI, running processes with error handling etc.
The text was updated successfully, but these errors were encountered: