remove-project on a project defined in a submanifest

249 views
Skip to first unread message

Scott Little

unread,
May 17, 2024, 2:30:48 PM5/17/24
to Repo and Gerrit Discussion
I'm trying to find a way to remove a project defined in a submanifest so that I can substitute an alternative project at the same path.

e.g.

  <remote name="starlingx" fetch="https://opendev.org/starlingx" />
  <submanifest name="starlingx-manifest" remote="starlingx" project="manifest.git" manifest-name="default.xml" revision="master" path="stx-manifest"/>
  <remove-project path="cgcs-root/public-keys" />

What I'm seeing is  ...

fatal: manifest 'default.xml' not available
fatal: remove-project element specifies non-existent project: <remove-project path="cgcs-root/public-keys"/>


repo version v2.45

Scott Little

unread,
May 17, 2024, 3:44:46 PM5/17/24
to Repo and Gerrit Discussion
It appears that directives like 'remove-project' and 'extend project' can only modify projects within the current manifest, and can't act upon submanifests.  I believe this would be a useful feature.     Perhaps add an optional  'subproject-name' attribute to the above elements, allowing them to act upon the named submanifest.
Reply all
Reply to author
Forward
0 new messages