-
Notifications
You must be signed in to change notification settings - Fork 24
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
rebench crashes if git isn't installed #243
Comments
Hi @vext01 :) Hm, yeah, I guess that's expected to break. But only in the sense that this isn't something I have tested for. Should be an easy fix... |
Could you give #245 a go? Thanks! |
Sorry for the delay. Took me a while to figure out how to install a branch using pipx! You've made it so git is a not a dependency at all, right? Using this Dockerfile (without git installed) and this build script I'm able to run rebench just fine! CI output here if you are curious. Thanks |
Well, technically, no. ReBench/rebench/environment.py Line 39 in a158176
But practically, there seem to be different failure modes. I guess, I could just try to catch everything... but being not sure what else might be missed, I'd rather not catch too much.
Thanks. It would probably be sensible to add something like this to the CI, but not today. Let's go with the quick fix in #245 for now, and then reconsider if something else crops up. Thanks! |
Closing with #245 being merged. Thanks! |
Hi Stefan! Long time no see.
I'm trying out rebench for the first time and I think I've found some bugs. I'll file them, but if it's user error then I apologise in advance :)
I've noticed that if you run rebench on a system without git installed (I was using a very minimal docker container for a CI system), then you get an error like:
I'm not sure if git is a hard dependency of rebench, but it might be an idea to print a better error message like "git is required" instead of a stack trace.
Cheers
The text was updated successfully, but these errors were encountered: