Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upadd --if-not-exists option to fuzzit create target #25
Comments
|
I'm not sure I agree that a target should be created as part of the CI script. |
|
I understand that position. However, not doing that from the script makes our job of preparing scripts for projects harder because it requires more steps from them and more explanations from us. To simplify things, even more, we could remove "create target" from cli and have it be implicit in "create job". Since the only way to upload fuzzing job is from cli, we could get rid of the "Create Target" flow in the UI. |
|
Well, the wrinkle is the -seed option, so maybe we do need |
|
I get your idea though for me the "seamless" target creation is more confusing. Though maybe it is just me. let's keep this issue open for now and see if more people have a need for this feature. |
|
Ok added. here is also the use-case for reference |
In integration scripts I'm doing:
./fuzzit create target ${TARGET} || trueThis is to make the script continue if it fails because the target already exists.
Unfortunately it suppresses all other errors (e.g. failure to authenticate).
Would be good to have
--if-not-existsoption which would do nothing and return success if target already exists.