How robocorp/example-use-git-submodule-for-shared-code works
Project type and purpose
• This is a Robot Framework‐based automation project (an “open‐source tool” style repository) whose primary goal is to execute robotic automation tasks defined in tasks.robot.
• It shares common keyword libraries via a Git submodule in shared/, avoiding duplication across robot projects.
File structure
• Top‐level files:
• .gitignore, .gitmodules – Git and submodule configuration
• README.md – high‐level documentation
• conda.yaml – defines the Python/Robot Framework runtime environment
• robot.yaml – Robot Framework project metadata (entry‐points, tags, settings)
• tasks.robot – the main suite of Robot Framework test/automation tasks
• Top‐level directory:
• shared/ – Git submodule containing common keyword libraries
• No separate “frontend” or “backend”: this is a single‐component automation codebase augmented by an external submodule.
README for additional insights
• The README explains how the submodule was added and how to clone or update it.
• It highlights the use of RCC (Robocorp Command‐line Client) and the standard Robot Framework template.
Elements
• Blue for developer actions (clone, update submodule)
• Green for runtime env (conda, rcc)
• Orange for code components (tasks.robot, shared keywords)
• Purple for external services (GitHub, Control Room)