Skip to content

Commit

Permalink
small readme improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
jpbusch committed Oct 11, 2023
1 parent 4fe94ad commit c1ec673
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .gitlab-ci/docker-ros.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,8 @@ variables:
ENABLE_RECURSIVE_ADDITIONAL_PIP: 'false' # Enable recursive discovery of files named `additional-pip-file`
CUSTOM_SCRIPT_FILE: docker/custom.sh # Relative filepath to script containing custom installation commands
ENABLE_RECURSIVE_CUSTOM_SCRIPT: 'false' # Enable recursive discovery of files named `custom-script-file`
VCS_IMPORT_FILE: .repos # Relative filepath to file containing additional repos to install via vcstools
ENABLE_RECURSIVE_VCS_IMPORT: 'true' # Enable recursive discovery of files named `vcs-import-file`
VCS_IMPORT_FILE: .repos # Relative filepath to file containing additional repos to install via vcstools (only relevant if ENABLE_RECURSIVE_VCS_IMPORT=false)
ENABLE_RECURSIVE_VCS_IMPORT: 'true' # Enable recursive discovery of files named `*.repos`
# -----
DOCKER_ROS_GIT_REF: main

Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -326,7 +326,7 @@ Create a folder `additional-files` in your `docker` folder (or configure a diffe
Relative filepath to file containing additional pip packages to install
*default:* `docker/additional-pip-requirements.txt`
- **`vcs-import-file` | `VCS_IMPORT_FILE`**
Relative filepath to file containing additional repos to install via vcstools
Relative filepath to file containing additional repos to install via vcstools (only relevant if `enable-recursive-vcs-import=false`)
*default:* `.repos`
- **`base-image` | `BASE_IMAGE`**
Base image `name:tag`
Expand Down Expand Up @@ -377,7 +377,7 @@ Create a folder `additional-files` in your `docker` folder (or configure a diffe
Enable recursive discovery of files named `custom-script-file`
*default:* `false`
- **`enable-recursive-vcs-import` | `ENABLE_RECURSIVE_VCS_IMPORT`**
Enable recursive discovery of files named `additional-repo-file`
Enable recursive discovery of files named `*.repos`
*default:* `true`
- **`git-ssh-known-host-keys` | `GIT_SSH_KNOWN_HOST_KEYS`**
Known SSH host keys for cloning private Git repositories via SSH (may be obtained using `ssh-keyscan`)
Expand Down
3 changes: 2 additions & 1 deletion docker/recursive_vcs_import.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ def findDotRepos(search_path: str, clone_path: Optional[str] = None) -> List[pat
repos.extend(list(pathlib.Path(clone_path).glob("**/*.repos")))
return repos


def main():

search_path = sys.argv[1] if len(sys.argv) > 1 else "."
Expand All @@ -39,4 +40,4 @@ def main():


if __name__ == "__main__":
main()
main()

0 comments on commit c1ec673

Please sign in to comment.