zephyrproject-rtos/west

west compare (and others) don't sync manifest-rev with west.yml: need "west fetch"

Open

#747 opened on Oct 7, 2024

View on GitHub
 (9 comments) (0 reactions) (0 assignees)Python (157 forks)auto 404
help wantedpriority: medium

Repository metrics

Stars
 (350 stars)
PR merge metrics
 (PR metrics pending)

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

Contributor guide