-
Notifications
You must be signed in to change notification settings - Fork 446
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
Definition of stage_file function in C++ #4733
Comments
@davidpanderson, this function declaration was added in c529c3c |
Looks like I intended to implement stage_file() in C++ but didn't get around to it. |
I may try to make one based on PHP implementation. |
By all means! Let me know if you need any help or advice. |
@davidpanderson, @AenBleidd |
Hello @jellythefish, thank you for your PR. |
Unless efficiency is an issue, I'd recommend invoking the PHP script from C++ using system(). In any case, don't change the name of stage_file since that will break some projects. |
Ok, i'll change the name of stage_file back to .php version, actually agree with you. Just thought it would be kind of uniform to use my c++ lib functions and tool as it is usually done in BOINC. I tried to make totally same function behavior as in .php, but just in case will leave this script default in usage. |
There is a binary executable for staging input files and it is written in php.
https://github.com/BOINC/boinc/blob/master/tools/stage_file
In projects we usually use this tool like
bin/stage_file
But for my needs i was searching for such API in C++ and was able to find only declaration in
bachend_lib.h
:boinc/tools/backend_lib.h
Line 118 in 2f166ed
It has got no definition in
bachend_lib.cpp
or somewhere else across the repository.Is this a work in progress or may it be a feature request?
The text was updated successfully, but these errors were encountered: