-
Notifications
You must be signed in to change notification settings - Fork 0
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
Executable editing utils #1
base: prolific
Are you sure you want to change the base?
Conversation
format='%(asctime)s - %(levelname)s - %(message)s') | ||
|
||
|
||
def edit_app_worker_id(app_path: str, new_worker_id: str, output_app_path: Optional[str] = None) -> None: |
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.
I don't think the output_app_path should be optional in the version of this code included in the backend. I'd like to avoid the possibility of the base apps getting accidentally overwritten.
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.
I'd prefer not to include the executables in this repo.
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.
Do you think you could store the task version (maybe just the commit hash) in the executables themselves? Then we could include that version string in the app.ini file and have version checking and executable downloading from OSF happen in here.
Ran pytests & it completed successfully on my machine, generating new app bundles with updated workerID values. I tried to generally follow the practices established within the project already. The base executables themselves will be updated as we move towards a final version. The executables included here should work but are by no means finalized versions.