-
Notifications
You must be signed in to change notification settings - Fork 14
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
Improve public API #67
base: master
Are you sure you want to change the base?
Conversation
It doesn't look like |
Right, fixed. |
|
How is it broken? Are you trying to use it with an expression? I think I may need to tweak the macro for that to work... |
Evaluated before being set. |
Well spotted, thanks! |
When disabling |
Hmm, the semi-relying on defaults thing again. I guess there's no harm in making |
I don't want to duplicate the logic of "am I on CI or not?". It is easy to enable local report generation, but always doing it is annoyingly slow. Always disabling is also not a good idea as then you lose the "do the right thing without configuration on CI", which is 99% of usecases. So instead I use "default to CI only, unless explicitly told otherwise on command line" logic. Please also make |
That's a really bad reason to make a function public. |
Putting Should I keep the |
Yeah, that's not the problem and a good thing IMO. The tricky part is how to design everything to allow integrations such as Eldev, while not breaking the ability to improve what "do the right thing" means in future versions and new circumstances. |
47f3ad2
to
22001b7
Compare
Sorry, I forgot about this PR.
Doesn't sound terribly important to me, but maybe you could abstract this away the same way as you have done with
Doesn't sound like a good thing to me. Essentially, "run by default only on a CI server" is a feature of |
Don't even evaluate the log arguments if the level is above the verbosity.
Attempts to fix #66.