0
Fork 0
mirror of https://github.com/project-zot/zot.git synced 2025-01-27 23:01:43 -05:00
zot/pkg
Andrei Aaron feb7328f50
feat(repodb): DerivedImageList and BaseImageList make use of RepoDB (#1135)
- derivedImageList and baseImageList now use FilterTags to obtain results,
each with its own filter function
- images that have the exact same manifest as the one provided as a
parameter are no longer considered base images or derived images
- both calls can be made with specific pagination parameters, and the
response will include PageInfo

Signed-off-by: Alex Stan <alexandrustan96@yahoo.ro>

fix(tests): fix one of the pagination tests

The results were not reliable as the 2 returned tags were sorted by created date/time
which was not set, resulting in an unpredictable order

Signed-off-by: Andrei Aaron <andaaron@cisco.com>
(cherry picked from commit be504200a1127371422aeb0e5c0219e2a1ead20a)
(cherry picked from commit ed8d797e639f262a63840120afe92da7db9a7600)
Signed-off-by: Andrei Aaron <aaaron@luxoft.com>

Signed-off-by: Andrei Aaron <andaaron@cisco.com>
Signed-off-by: Andrei Aaron <aaaron@luxoft.com>
Co-authored-by: Alex Stan <alexandrustan96@yahoo.ro>
2023-01-25 14:06:02 -08:00
..
api test(refactor): cleanup/simplify testcases (#1124) 2023-01-20 10:01:52 -08:00
cli feat(repodb): DerivedImageList and BaseImageList make use of RepoDB (#1135) 2023-01-25 14:06:02 -08:00
common test(refactor): cleanup/simplify testcases (#1124) 2023-01-20 10:01:52 -08:00
compliance test(refactor): cleanup/simplify testcases (#1124) 2023-01-20 10:01:52 -08:00
debug feat(artifact): add OCI references support (#936) 2022-11-08 00:38:16 -08:00
exporter chore(lint): gci to separate zot from other imports (#870) 2022-10-20 09:39:20 -07:00
extensions feat(repodb): DerivedImageList and BaseImageList make use of RepoDB (#1135) 2023-01-25 14:06:02 -08:00
log test(refactor): cleanup/simplify testcases (#1124) 2023-01-20 10:01:52 -08:00
meta/repodb feat(repodb): DerivedImageList and BaseImageList make use of RepoDB (#1135) 2023-01-25 14:06:02 -08:00
regexp chore(trivy): update trivy version and enforce OCI compliant repo names in local image storage (#1068) 2023-01-18 08:24:44 -08:00
requestcontext feat(repodb): Implement RepoDB for image specific information using boltdb/dynamodb (#979) 2023-01-09 12:37:44 -08:00
scheduler fix(coverage): scheduler coverage (#893) 2022-10-21 18:33:22 +03:00
storage fix(referrers): annotation key is incorrect (#1139) 2023-01-25 12:50:03 -08:00
test feat(repodb): DerivedImageList and BaseImageList make use of RepoDB (#1135) 2023-01-25 14:06:02 -08:00