dangerzone/dangerzone/updater/errors.py
Alexis Métaireau 83a8f85226
Add a dangerzone-image CLI script
It contains utilities to interact with OCI registries, like getting the list of
published tags and getting the content of a manifest. It does so
via the use of the Docker Registry API v2 [0].

The script has been added to the `dev_scripts`, and is also installed on
the system under `dangerzone-image`.

[0]  https://docs.github.com/en/packages/working-with-a-github-packages-registry/working-with-the-container-registry
2025-04-29 14:58:51 +02:00

10 lines
132 B
Python

class UpdaterError(Exception):
pass
class ImageNotFound(UpdaterError):
pass
class RegistryError(UpdaterError):
pass