Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(fix): Update as we go #194

Merged
merged 16 commits into from
Jan 3, 2021
Merged

fix(fix): Update as we go #194

merged 16 commits into from
Jan 3, 2021

Conversation

epage
Copy link
Collaborator

@epage epage commented Jan 2, 2021

The old architecture was limiting us. "The structure of this code looks similar, let's codify it to reduce duplication". The problem is this didn't give the Checker's enough control over the process. In adding Diffing and Fixing, I ended up using Report decorators to shoehorn things in. The problem was knowing when a file is done. Should we report additional messages? How do we handle alternate encodings?

I stepped back and decided that this was false code sharing. I bumped up the abstraction to a higher level and give the Checkers full control. There are patterns in the structure but consolidating them doesn't seem worth it.

Fixes #166
Fixes #168 (came out of new code structure)

@epage epage force-pushed the arch2 branch 2 times, most recently from 1ae74a3 to be7a81d Compare January 2, 2021 19:34
@epage epage merged commit 1c392c2 into crate-ci:master Jan 3, 2021
@epage epage deleted the arch2 branch January 3, 2021 00:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant