west compare (and others) don't sync manifest-rev with west.yml: need "west fetch"
#747 创建于 2024年10月7日
仓库指标
- 星标
- (350 个星标)
- PR 合并指标
- (PR 指标待抓取)
描述
Initial title: "west compare doesn't detect updated project revisions in manifest"
When running west compare, I expected that if my repo state didn't match the manifest, it would report it.
Actual behaviour: changes to repo are detected. But changes to manifest (e.g. change sha in a project's revision property) are not detected.
Is this the intended behaviour?
In our project, we want to confirm before building that repo state matches the manifest. We do this by running west compare before a build. But this doesn't catch an updated manifest. We have currently worked around this with a west extension which uses west compare and also checks each project repo in the workspace against the revision in the manifest.
Would an update to west compare to include this check be useful to others?
cc:
- #448
- #548