0
Fork 0
mirror of https://github.com/project-zot/zot.git synced 2025-01-20 22:52:51 -05:00
zot/pkg/extensions/search
Andrei Aaron faa410a0c3
feat(cli): Fix multiple issues with zli output (#1612)
https://github.com/project-zot/zot/issues/1591
    - I will rename "IMAGE NAME" to "REPOSITORY" in order to make the header easier to parse
    - The order of the images cannot be predicted if zot is getting them 1 by 1 using the REST API for manifests, so they cannot be sorted when printed. We could wait on all calls to return but that may take minutes, and printing partial results as they become available is better.
    - The order of the images can be predicted when relying on the zot specific search API, but that is not available in all zot servers depending on build options. I added sorting ascending by default. We are planning to implement configurable sorting in a separate PR - see the work under https://github.com/project-zot/zot/pull/1577
    - With regards to the column widths/alignments that was discussed before, and the issue is we don't know the values beforehand for the REST API based responses. As mentioned above printing partial results as they become available is better.
    - The column widths/alignments are partially fixed in this PR for the search API, but we should properly fix this in - see https://github.com/project-zot/zot/pull/851

https://github.com/project-zot/zot/issues/1592
    - Fix missing space after help message

https://github.com/project-zot/zot/issues/1598
    - Fix table headers showing for json/yaml format
    - Fix spacing shown with json format, use 1 row per shown entry in order to be compatible with json lines format: https://jsonlines.org/
    - Add document header `---` to every image shown in yaml format to separate the entries

Signed-off-by: Andrei Aaron <aaaron@luxoft.com>
2023-07-12 10:21:12 -07:00
..
convert feat(cli): Fix multiple issues with zli output (#1612) 2023-07-12 10:21:12 -07:00
cve fix(test): TestConfigReloader, wait for trivy db download (#1543) 2023-07-06 14:17:49 +03:00
gql_generated feat(cve): ability to return CVEs per image os and architecture (#1607) 2023-07-11 09:29:04 -07:00
digest_test.go fix: removed duplicate structures from service.go and moved them to pkg/common (#1436) 2023-05-25 11:27:49 -07:00
gqlgen.yml Update to graphql 1.17.13 2022-07-18 12:55:40 -07:00
resolver.go feat(cve): ability to return CVEs per image os and architecture (#1607) 2023-07-11 09:29:04 -07:00
resolver_test.go feat(cve): ability to return CVEs per image os and architecture (#1607) 2023-07-11 09:29:04 -07:00
schema.graphql feat(cve): ability to return CVEs per image os and architecture (#1607) 2023-07-11 09:29:04 -07:00
schema.resolvers.go feat(cve): ability to return CVEs per image os and architecture (#1607) 2023-07-11 09:29:04 -07:00
search.md feat(search): update search pattern matching rules (#1257) 2023-03-22 10:31:53 -07:00
search_test.go feat(cve): implemented trivy image scan for multiarch images (#1510) 2023-07-06 11:36:26 +03:00
userprefs_test.go fix: removed duplicate structures from service.go and moved them to pkg/common (#1436) 2023-05-25 11:27:49 -07:00