v0.6.0
Registry tool improvements
Building on changes previewed in v0.5.9:
registry get
now lists resources and replacesregistry list
, which is removed. When the-o yaml
option is provided,registry get
returns resources in a YAML format. WhenPATTERN
matches multiple objects, a YAML list is returned. When the-o contents
option is specified, contents of spec and artifact resources are written tostdout
.registry export PATTERN
can be used to write subsets or the entire contents of a registry to a local directory of YAML files.- Both
registry get
andregistry export
accept a--filter
argument. registry apply
can be used to apply all YAML files returned byregistry get
(including lists) andregistry export
to the registry.
Several obsoleted commands have been removed:
registry upload manifest
,registry upload manifest
, andregistry upload manifest
are all replaced byregistry apply
.registry upload spec
is removed, replaced byregistry apply
.
Other command changes include:
- The bulk uploaders ('openapi', 'discovery', 'protos') under
registry upload bulk
are now directly underregistry upload
. registry export csv
is moved to theregistry-experimental
tool in https://github.com/registry-experimental.
Test coverage is above 60% (and climbing!)