Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Expose targets custom data in the NotaryRepository API. #1143

Closed
endophage opened this issue May 1, 2017 · 1 comment
Closed

Expose targets custom data in the NotaryRepository API. #1143

endophage opened this issue May 1, 2017 · 1 comment

Comments

@endophage
Copy link
Contributor

No description provided.

@cyli
Copy link
Contributor

cyli commented May 5, 2017

Should this also expose it via the CLI? #1146 allows adding custom data via the CLI, but do we want to display it via the CLI as well? Or export it to a file?

Maybe something like (for listing and lookups):

$ notary list <repo>
NAME               DIGEST                                                              SIZE (BYTES)    ROLE          CUSTOM DATA
----               ------                                                              ------------    ----          -----------
2.6                9ace551613070689a12857d62c30ef0daa9a376107ec0fff0e34786cedb3399b    528             targets       yes
2.7                9f08005dff552038f0ad2f46b8e65ff3d25641747d3912e3ea8da6785046561a    1374            targets
3.1                f4c7710b17089324055ac600ee4659ee730d14bc321f1c25d4ad6360b7e2644f    528             targets       yes
3.2                cbbda5d34003b6c916f7fcd4aaba46c2de47c229dfbd06c5849d163dcf99d35e    528             targets

$ notary inspect <repo> 2.6
latest sha256:58e1a1bb75db1b5a24a462dd5e2915277ea06438c3f105138f97eb53149673c4 528
custom data:
{
   ...
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants