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

Make gauge adapter names in configuration case insensitive #202

Merged
merged 3 commits into from Feb 2, 2023

Conversation

smarr
Copy link
Owner

@smarr smarr commented Jan 28, 2023

When I looked at the loading code again, I noticed that we already traverse the module and load everything to find the adapter we are looking for.

So, this really just needs to add a bit of logic to make the check case insensitive.

Also used the chance the move the logic where it belongs, into the interop package, and add tests.

@raehik is this what you were hoping for?

This fixes #199.

- move the logic into adapter.py for easier testing and to move responsibility out of executor

Signed-off-by: Stefan Marr <git@stefan-marr.de>
Signed-off-by: Stefan Marr <git@stefan-marr.de>
@smarr smarr added the Feature label Jan 28, 2023
@coveralls
Copy link

coveralls commented Jan 28, 2023

Coverage Status

Coverage: 80.688% (+0.4%) from 80.322% when pulling cddb626 on case-insensitive-adapter-names into 08c736b on master.

Signed-off-by: Stefan Marr <git@stefan-marr.de>
@raehik
Copy link
Contributor

raehik commented Jan 28, 2023

Hadn't realized that's how it worked. Yeah this is much nicer, now Linux will have the same behaviour as the other case-insensitive platforms.

@smarr smarr merged commit 3816227 into master Feb 2, 2023
@smarr smarr deleted the case-insensitive-adapter-names branch February 2, 2023 18:39
@smarr
Copy link
Owner Author

smarr commented Feb 2, 2023

Merged. Thanks! 🙂

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

ReBenchLog gauge adapter doesn't work on case-sensitive filesystems
3 participants