Skip to content

Comments

Generate Workspace using Gita#47

Merged
FScholPer merged 8 commits intoeclipse-score:mainfrom
elektrobit-contrib:generate-gita-workspace-from-known-good-json
Dec 22, 2025
Merged

Generate Workspace using Gita#47
FScholPer merged 8 commits intoeclipse-score:mainfrom
elektrobit-contrib:generate-gita-workspace-from-known-good-json

Conversation

@opajonk
Copy link
Contributor

@opajonk opajonk commented Dec 4, 2025

This change adds the capability to generate a workspace directly from the known_good.json file. To achieve this, the known_good.json file is transformed into a configuration file for a git workspace management tool called gita, which can then be used to check out all mentioned modules on the specific commit/branch that is given in known_good.json. In addition, the score_modules.MODULE.bazel can be updated with local_path_overrides to the checked out modules. Hence, a bazel build will immediately work as expected. For all these activities, VSCode Tasks are added and the README is updated.

However, the general idea of this change is that more workspace managers can be added besides gita, if anyone wishes to do so.

@opajonk opajonk force-pushed the generate-gita-workspace-from-known-good-json branch from df53b35 to 288cd9f Compare December 4, 2025 12:07
@github-actions
Copy link

github-actions bot commented Dec 4, 2025

The created documentation from the pull request is available at: docu-html

@opajonk opajonk force-pushed the generate-gita-workspace-from-known-good-json branch 3 times, most recently from 21b1519 to e62de8f Compare December 4, 2025 15:08
@opajonk opajonk force-pushed the generate-gita-workspace-from-known-good-json branch 3 times, most recently from 98064b6 to 120fc34 Compare December 20, 2025 09:37
@opajonk opajonk marked this pull request as ready for review December 20, 2025 10:10
This change adds the capability to generate a workspace directly from the known_good.json file. To achieve this, the known_good.json file is transformed into a configuration file for a git workspace management tool called gita, which is then used to check out all mentioned modules on the specific commit/branch that is given in known_good.json. In addition, the score_modules.MODULE.bazel is updated with local_path_overrides to the checked out modules. Hence, a bazel build will immediately work as expected.

# Conflicts:
#	.gitignore

# Conflicts:
#	.devcontainer/devcontainer.json
This does not work, since submodules require also commit tracking in the top-level repository. This would by default pollute reference_integration, which is certainly not what we want.
@opajonk opajonk force-pushed the generate-gita-workspace-from-known-good-json branch from bf5f4d9 to 4934f3b Compare December 22, 2025 09:30
@opajonk opajonk force-pushed the generate-gita-workspace-from-known-good-json branch from 4934f3b to 0bad956 Compare December 22, 2025 10:06
@FScholPer FScholPer merged commit 8a9a38f into eclipse-score:main Dec 22, 2025
8 checks passed
@opajonk opajonk deleted the generate-gita-workspace-from-known-good-json branch December 22, 2025 11:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants