-
Notifications
You must be signed in to change notification settings - Fork 0
F_adding_install_script #31
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: noetic-devel
Are you sure you want to change the base?
Conversation
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.
Happy to approve, but would be nice to get the functionality in shadow-robot/sr-build-tools#711 (review) added before merging this PR.
|
Nice. |
The checkout of dx_system in this script is purely to grab the host_scripts directory (hence the sparse checkout and deletion of dx_system at the end). The actual dx_system is part of the docker image. At the moment we don't add dx_system to the user workspace, as I understood that would be something we would have the users do manually if they want to edit dx_system |
Understood. Does that mean that the mounting of a host PC directory into the container is also a manual process for the moment? |
Depends on the directory. We automatically mount the We expect users to develop into the container via the user_ws directory (e.g. they would put their version of dx_system in there) |
|
Malformed license check can be fixed by using the following license |
| cd "$temp_dir" || { print_red "Failed to change to temporary directory"; exit 1; } | ||
| git clone -n --depth=1 --filter=tree:0 https://github.com/shadow-robot/dx_system.git . || { print_red "Failed to clone repository"; exit 1; } | ||
|
|
||
| # Configure sparse checkout |
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.
You have to cd into the dir you just cloned for the next git commands to work
Proposed changes
Adding a script to automate the setting up of a DX System
Types of changes
What types of changes does your code introduce?
Checklist
Put an x in the boxes that apply. You can also fill these out after creating the PR. This is a reminder of what we should look for before merging this code. I have: