_custom annotation may use hardcoded metadata.* names
Issue #25
closed
instance._custom("bundleName")="something"
is accepted and written in _command file. Is this something that should be returning an error? _command file already has that metadata, and now it will be written there twice.
Comments (6)
-
-
reporter agree
-
- changed status to closed
They are now in metadata.custom.KEY = VALUE.
-
reporter I think the customs should be written like this: metadata.custom_KEY=VALUE
in some (atleast bash) API's the keys are used as variable names, which do not allow for dots.
Also, it would be more in the fashion of the addition of array ports in anduril1, output._index_PORTNAME
-
reporter - changed status to open
this edit breaks bash api, perhaps others
-
- changed status to closed
Good point. Now using metadata.custom_key=value.
- Log in to comment
It should be handled. Possibly all custom attributes should be under custom.bundleName and not metadata.