Skip to content
New issue

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

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

Already on GitHub? # to your account

Implement configuration extraction and comparison #23

Open
KennethGrace opened this issue Dec 30, 2022 · 0 comments
Open

Implement configuration extraction and comparison #23

KennethGrace opened this issue Dec 30, 2022 · 0 comments
Assignees
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@KennethGrace
Copy link
Member

An enhancement that could be made to our comparison and infromation extraction process would be to start including the state of the configuration. This can be a relatively simple line-by-line comparison. Using a library like difflib we should be able to accomplish this relatively easily. Here is some information on accomplishing this task from GeeksForGeeks.

The result of the comparison opperation should be only the mismatches in a dictionary composed of two sub-dictionaries "added_lines": {"Line ##": "TEXT_FROM_LINE"} and "removed_lines": {"Line ##": "TEXT_FROM_LINE"}.

@KennethGrace KennethGrace added enhancement New feature or request good first issue Good for newcomers labels Dec 30, 2022
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

2 participants