-
-
Notifications
You must be signed in to change notification settings - Fork 835
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
Pass "big" binary files #162 #174
Conversation
This looks great! I would just change one little thing - instead of keeping file on exit by default, I would delete it by default. So we can rename that option to "KeepFileOnExit". |
While we can be sure that the file will be here on starting our hook, we can't be sure about the file still existing after the hook was run ( the script could remove the file by itself). So naming the option If you insist on your naming I can certainly go for it, but I found it more intuitive this way. |
Ah, you are absolutely correct. I would then remove the flag and do this cleanup by default, after the hook command is done executing, if the file is there, delete it. Since it's a tempfile, if the user wants to keep it, they should copy it to the appropriate place in their script code, because if we don't delete it, it's gonna be deleted after machine restart anyway. |
Allright, I patched the code accordingly. I also updated the test file, yet I can't figure out why I still make messages like
on make test |
Ahh, the #173 forgot to include request ID in the |
done! |
Can you just choose adnanh:development as base branch so I can merge it in :-) |
And update the wiki with the new option |
Ok, I changed the base, after you accepted the PR I plan to integrate the documentation from my page into your wiki in an updated version! |
Done! |
Docu added :) |
Awesome, thank you very much for your contribution and making webhook a better tool! |
I would appreciate feedback on the changes made. The issue itself is documented in #162 - a usage guide is provided in https://github.com/col-panic/webhook/wiki