-
Notifications
You must be signed in to change notification settings - Fork 7
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
Draft: Add property flag to specify an offset for the result path #412
base: main
Are you sure you want to change the base?
Conversation
f847f76
to
2517d2c
Compare
@@ -148,6 +150,7 @@ func Evaluate(ctx *Context) { | |||
} else { | |||
runCount = rl + 1 | |||
} | |||
runID := ctx.RunIDOffset + runCount |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If RunIDOffset is by default 1
shouldn't all evaluations where it is not set automatically start with runID: 2
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not sure what you mean here.
2517d2c
to
cfa997b
Compare
@@ -73,6 +73,8 @@ type Evaluate struct { | |||
Configuration string `long:"configuration" description:"Configuration file to set up an evaluation run."` | |||
// ExecutionTimeout holds the timeout for an execution. | |||
ExecutionTimeout uint `long:"execution-timeout" description:"Execution timeout for compilation and tests in minutes." default:"5"` | |||
// RunIDOffset holds the offset increment for the run id used in creating the result folders. | |||
RunIDOffset uint `long:"run-id-starts-at" description:"Sets the offset for the ID used in creating result folders." default:"0"` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
IDs start at 1
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That depends if the cli option is an "offset" or an "id-starts-at". I'm just working with what I got here.
Part of #403