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

Simplify configuration #196

Merged
merged 20 commits into from
Apr 9, 2023
Merged

Simplify configuration #196

merged 20 commits into from
Apr 9, 2023

Conversation

BUYT-1
Copy link
Collaborator

@BUYT-1 BUYT-1 commented Mar 28, 2023

Make option creation less verbose, separate types from options, clean up TypoMiner error check, add header with names and descriptions, simplify option-related classes, rewrite configuration accordingly, simplify option value type.

@github-actions
Copy link

clang-tidy review says "All clean, LGTM! 👍"

@BUYT-1 BUYT-1 force-pushed the simplify-options branch from 7686ea3 to 60dd9d6 Compare March 28, 2023 17:24
@github-actions
Copy link

clang-tidy review says "All clean, LGTM! 👍"

@BUYT-1 BUYT-1 force-pushed the simplify-options branch from 60dd9d6 to cfa4afd Compare March 28, 2023 17:38
@github-actions
Copy link

clang-tidy review says "All clean, LGTM! 👍"

@BUYT-1 BUYT-1 force-pushed the simplify-options branch from cfa4afd to b37a046 Compare March 28, 2023 18:40
@github-actions
Copy link

clang-tidy review says "All clean, LGTM! 👍"

@BUYT-1 BUYT-1 force-pushed the simplify-options branch from b37a046 to 6fd7a9f Compare March 28, 2023 19:23
@github-actions
Copy link

clang-tidy review says "All clean, LGTM! 👍"

@BUYT-1 BUYT-1 force-pushed the simplify-options branch 2 times, most recently from 190d624 to 0bfbe6e Compare March 28, 2023 20:01
@github-actions
Copy link

clang-tidy review says "All clean, LGTM! 👍"

1 similar comment
@github-actions
Copy link

clang-tidy review says "All clean, LGTM! 👍"

@BUYT-1 BUYT-1 force-pushed the simplify-options branch from 0bfbe6e to 36724aa Compare March 29, 2023 11:27
@github-actions
Copy link

clang-tidy review says "All clean, LGTM! 👍"

@polyntsov polyntsov self-requested a review March 30, 2023 18:22
@polyntsov polyntsov added the chore Performance upgrade or technical debt label Mar 30, 2023
@BUYT-1 BUYT-1 force-pushed the simplify-options branch from 36724aa to 8a32e11 Compare March 31, 2023 12:45
@BUYT-1 BUYT-1 marked this pull request as draft March 31, 2023 18:31
@BUYT-1 BUYT-1 force-pushed the simplify-options branch 4 times, most recently from a215cb6 to 16d3c66 Compare March 31, 2023 19:28
@BUYT-1 BUYT-1 marked this pull request as ready for review March 31, 2023 20:16
@BUYT-1 BUYT-1 force-pushed the simplify-options branch 3 times, most recently from d45ba43 to 672e45b Compare April 1, 2023 16:12
Copy link
Collaborator

@polyntsov polyntsov left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

И напиши, пожалуйста, комментарии к хотя бы основным классам вроде CommonOptionFactory и Option, чтобы было понятно, как их использовать

src/algorithms/options/text.h Outdated Show resolved Hide resolved
src/algorithms/options/text.h Outdated Show resolved Hide resolved
src/algorithms/options/factory.h Outdated Show resolved Hide resolved
src/algorithms/options/factory.h Outdated Show resolved Hide resolved
src/algorithms/options/factory.h Outdated Show resolved Hide resolved
src/algorithms/options/option.h Outdated Show resolved Hide resolved
src/model/index_vector.h Outdated Show resolved Hide resolved
src/algorithms/fastfds.cpp Show resolved Hide resolved
src/algorithms/options/indices_opt.h Outdated Show resolved Hide resolved
@BUYT-1 BUYT-1 force-pushed the simplify-options branch 2 times, most recently from d6f5ab1 to eded8e7 Compare April 4, 2023 13:38
@BUYT-1 BUYT-1 marked this pull request as ready for review April 5, 2023 10:30
@BUYT-1 BUYT-1 force-pushed the simplify-options branch from ed69bd2 to 5494cf5 Compare April 6, 2023 18:24
BUYT-1 added 5 commits April 7, 2023 21:47
std::string_view is too simple to pass by reference.
There are no situations where the descriptions.h header is needed
without names.h, thus this header is added for brevity.
@BUYT-1 BUYT-1 force-pushed the simplify-options branch from 5494cf5 to 950f3bb Compare April 7, 2023 18:47
src/algorithms/options/option.h Outdated Show resolved Hide resolved
src/algorithms/options/error/option.cpp Outdated Show resolved Hide resolved
src/algorithms/options/option.h Outdated Show resolved Hide resolved
src/algorithms/options/option.h Outdated Show resolved Hide resolved
src/algorithms/options/option.h Outdated Show resolved Hide resolved
@BUYT-1 BUYT-1 force-pushed the simplify-options branch 2 times, most recently from d7eb197 to f11896f Compare April 8, 2023 22:11
@BUYT-1 BUYT-1 requested a review from polyntsov April 8, 2023 22:12
@polyntsov polyntsov merged commit caf462e into Desbordante:main Apr 9, 2023
@BUYT-1 BUYT-1 deleted the simplify-options branch September 7, 2023 13:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
chore Performance upgrade or technical debt
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants