Closed jpower432 closed 1 year ago
Hi @jpower432, I'm not getting the expected output from the last command in the test instructions. All of the other commands complete without error,
When I run uor-client-go inspect localhost:5000/exercises/helloworld:latest --attributes core-query.yaml
, I get the following error:
uor-client-go inspect localhost:5000/exercises/helloworld:latest --attributes core-query.yaml
Error: must specify a reference with --reference
When I add --reference
I get the following output:
uor-client-go inspect --reference localhost:5000/exercises/helloworld:latest --attributes core-query.yaml
Listing matching descriptors for source: localhost:5000/exercises/helloworld:latest
Name Digest Size MediaType
Note: the code block in step 13 has an incorrect file name, but I renamed this in my testing to core-query.yaml
.
@afflom Thanks for pointing out this bug. Please pull the changes and try this step again.
Description
This breaking change alters how linked collections and attributes are represented in the collection manifest. This also incorporates the new type called descriptor Properties that contain core attributes.
This also closes #67 because the list attributes functionality demonstrates the filtering on core attributes at the manifest level.
Type of change
How To Test
Before testing, please clear the UOR build cache or use an alternate location with export UOR_CACHE=myloc. This version of the client cannot process previously published collections because of a manifest spec change.
schemas
within the exercises directory and change into this directoryschema-config.yaml
file with the following contents to define the schema for the collection:helloworld-workspace
.helloworld
within the workspace:Add a test file to the workspace to demonstrate filtering
helloworld-dataset-config.yaml
with the following content:output
output
directoryapplication-query.yaml
to content that has the attributename=helloworld
application-output
:application-output
directorycore-query.yaml
to content that has the attributeCmd-./helloworld
and a schema id of core-runtume (See README for schema contents)Checklist: