west compare (and others) don't sync manifest-rev with west.yml: need "west fetch"
#747 aberto em 7 de out. de 2024
Métricas do repositório
- Stars
- (350 estrelas)
- Métricas de merge de PR
- (Mesclagem média 6d 10h) (10 fundiu PRs em 30d)
Description
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