-
Notifications
You must be signed in to change notification settings - Fork 123
SIM RFC: Clean up runtime installer/loader code #3580
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
base: master
Are you sure you want to change the base?
Conversation
Andrewyx
left a comment
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.
LGTM
src/software/thunderscope/binary_context_managers/runtime_installer.py
Outdated
Show resolved
Hide resolved
| if filename.endswith((".tar.gz", ".tgz")): | ||
| with tarfile.open(tmp_path, "r:*") as tar: | ||
| tar.extractall(tmp_dir) | ||
| shutil.move(tmp_dir / extracted_binary_name, dest) |
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.
Does this mean that the version of the release is not attached to this
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.
Yea the version of the release is not in the unix_full_system binary's name, so we have to extract then rename/move it
Description
Fixed some bugs, the integration of everything works now, also some refactoring changes and cleaning up code.
Testing Done
Resolved Issues
Length Justification and Key Files to Review
Review Checklist
It is the reviewers responsibility to also make sure every item here has been covered
.hfile) should have a javadoc style comment at the start of them. For examples, see the functions defined inthunderbots/software/geom. Similarly, all classes should have an associated Javadoc comment explaining the purpose of the class.TODO(or similar) statements should either be completed or associated with a github issue