Repository navigation
prefix mixin methods to avoid accidental overrides - #246
Conversation
casparvl
left a comment
There was a problem hiding this comment.
Haven't tested it yet, but looks sane to me. Just a question: in your issue, you proposed prefixing with EESSI_mixin, but you prefixed with only mixin in this PR. Since you're trying to make this more specific to avoid naming collisions: wouldn't it be better to use EESSI_mixin specifically?
I admit, the chances that we'll make another mixin class that would define these functions is small, but.. if we're making a change to make things more specific anyway, why not. Or: is your idea that we might actually want to override some of these in a different mixin class, and then it's weird if that mixin class has to define functions called EESSI_mixin...?
|
i didn't think of having other mixin classes tbh, and i don't see us implement a second one anytime soon, so i'm fine with using |
casparvl
left a comment
There was a problem hiding this comment.
Code changes look good to me. Now testing with
reframe -t CI --run -t 1_8_node
If that all passes, this can go in :)
fixes #228