The bug is that specifying the --branch for this call does nothing and seems to default to the default branch. It would also be nice to have a switch (or maybe default?) to list ALL branch meta.
> git obs meta list --branch main
Branch : main
apiurl : https://api.opensuse.org
project : devel:Factory:git-workflow
package :
> git checkout staging
Switched to branch 'staging'
> git obs meta list --branch main
ERROR: Git SCM package working copy doesn't have the following metadata set: apiurl, project
- The package has no parent project checkout
To fix apiurl:
- Run 'git-obs meta set --apiurl=...'
To fix project:
- Set 'obs_project' in the matching _ObsPrj git repo, 'staging' branch, '_manifest' file
Run 'git-obs meta pull'
- Run 'git-obs meta set --project=...'
Check git-obs-metadata man page for more details