Skip to content
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

manifest: Add submodule representation in as_dict #740

Merged
merged 3 commits into from
Sep 24, 2024

Conversation

pdgendt
Copy link
Collaborator

@pdgendt pdgendt commented Sep 20, 2024

Submodules were missing when calling --freeze or --resolve

Fixes #739

@pdgendt pdgendt added this to the v1.3.0 milestone Sep 20, 2024
@pdgendt pdgendt force-pushed the project-submodules branch 2 times, most recently from 965e3a2 to 6b6a516 Compare September 23, 2024 10:24
Copy link
Collaborator

@marc-hb marc-hb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Minor suggestions below, everything else looks good, thanks!

tests/test_project.py Outdated Show resolved Hide resolved
src/west/manifest.py Outdated Show resolved Hide resolved
Submodules were missing when calling --freeze or --resolve

Signed-off-by: Pieter De Gendt <pieter.degendt@basalte.be>
Add a minimal testing to validate submodule output for manifest --freeze

Signed-off-by: Pieter De Gendt <pieter.degendt@basalte.be>
Add a testcase to parse a manifest and validate the as_dict output.
Add an invalid manifest file for missing required submodule properties.

Signed-off-by: Pieter De Gendt <pieter.degendt@basalte.be>
@marc-hb marc-hb merged commit 775dce9 into zephyrproject-rtos:main Sep 24, 2024
9 checks passed
@pdgendt pdgendt deleted the project-submodules branch September 24, 2024 19:23
@marc-hb marc-hb added the git submodules The enemy! label Oct 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
git submodules The enemy!
Projects
None yet
Development

Successfully merging this pull request may close these issues.

west manifest freeze/resolve will lose submodules information
2 participants