cmd-meta: support setting/getting fedora-coreos.parent-{commit,version}
The command previously wouldn't allow us to get/set fedora-coreos.parent-commit
and fedora-coreos.parent-version because it would try to traverse the
`fedora-coreos.` path. Add an exception here similar to `coreos-assembler.`.
Now we can do something like this in the pipeline:
```
cosa meta \
--set fedora-coreos.parent-commit=${parent_commit} \
--set fedora-coreos.parent-version=${parent_version}
```
@@ -65,7 +65,7 @@ def new_cli():
def pather(val):
path = val.split('.')
- if val.startswith("coreos-assembler."):
+ if val.startswith("coreos-assembler.") or val.startswith("fedora-coreos."):
new_path = [f"{path[0]}.{path[1]}"]
new_path.extend(path[2:])
return ".".join(new_path)
