Anthony Oteri
80d1acf295
Replace async-std with tokio
...
Tokio is a far more mature async runtime.
2023-10-02 13:01:58 -04:00
Anthony Oteri
de42860be8
Release version 0.2.0
2023-09-29 18:09:46 -04:00
Anthony Oteri
fbe43f03f1
Support deleting an image tag
...
If the Docker Registry API allows for images to be deleted, issuing the
command `delete <image> <tag>` will result in the tag being removed from
the server.
A limitation of this change is that it will cause any unreferenced tags
to become orphaned, requiring the garbage collector within the docker
registry server to clean these up. This is because there is no way to
efficiently determine if each of the layers are reused by other tags or
images on the server.
Implement delete logic
Fix broken unit tests
2023-09-29 18:04:08 -04:00
Anthony Oteri
13ae092b91
Replace femme logger with simple_logger
2023-09-29 15:05:23 -04:00
Anthony Oteri
86c82b2f76
Support detail view of a tagged image
...
Running the `dredge <REGISTRY> show <image> <tag>` now responds
with additional output in the form:
```yaml
name: foobar
tag: latest
architecture: amd64
fsLayers:
- blobSum: sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4
- blobSum: sha256:d4228a16bba21ff0eabab548df8f4933103d1a83e5894216c7eb32e3058a8e5e
- blobSum: sha256:1f25ec90921b9d511541f9d38ce2b339de2afffc586e55d75b7345b2057f1993
- blobSum: sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4
- blobSum: sha256:7d97e254a0461b0a30b3f443f1daa0d620a3cc6ff4e2714cc1cfd96ace5b7a7e
digest: sha256:0259571889ac87efbfca5b79a0abe9baf626d058ec5f9a5744bace2229d9ed50
etag: sha256:0259571889ac87efbfca5b79a0abe9baf626d058ec5f9a5744bace2229d9ed50
```
2023-09-27 10:09:52 -04:00
Anthony Oteri
572416d3fa
Update metadata in Cargo.toml
2023-09-26 22:57:39 -04:00
Anthony Oteri
a6cd95bfa4
Add unit tests for existing commands
2023-09-26 16:09:52 -04:00
Anthony Oteri
7b0c3f1dcc
Create initial project structure
...
The initial project structure includes the base scaffolding of the
application as well as the ability to fetch the repo list from the
remote endpoint.
2023-09-13 17:37:28 -04:00