regmirror 1.2.0__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,8 @@
1
+ {
2
+ "MD024": {
3
+ "siblings_only": true
4
+ },
5
+ "MD013": {
6
+ "tables": false
7
+ }
8
+ }
@@ -0,0 +1,72 @@
1
+ # Changelog
2
+
3
+ All notable changes to this project will be documented in this file.
4
+
5
+ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
6
+ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
+
8
+ ## [Unreleased]
9
+
10
+ ## [1.2.0] - 2026-03-03
11
+
12
+ ### Added
13
+
14
+ - `inspect_remote()` helper that fetches the raw image manifest via
15
+ `skopeo inspect --raw`, computing the manifest digest and detecting embedded
16
+ signatures in a single network call. Returns a `RemoteInfo` named tuple with
17
+ `digest` and `has_embedded_signatures` fields.
18
+ - Digest tracking in `manifest.json`: after a successful download of a tag-based
19
+ image the resolved `sha256:` digest is stored, enabling update detection on
20
+ subsequent runs.
21
+ - Auto-detection of old-style embedded image signatures (Docker Content Trust /
22
+ Notary v1): when detected, `--remove-signatures` is applied automatically and
23
+ an info message is logged. Modern cosign/sigstore signatures are stored as
24
+ separate OCI artifacts and are not affected by this detection.
25
+
26
+ ### Changed
27
+
28
+ - Tag-based refs (e.g. `nginx:latest`) with an existing tarball now check the
29
+ remote digest before deciding to skip. The tarball is re-downloaded automatically
30
+ when the tag has moved to a newer image.
31
+ - Digest-pinned refs (e.g. `nginx@sha256:...`) are always skipped when the tarball
32
+ exists — their content is immutable by definition.
33
+ - If the remote manifest fetch fails (network error, auth failure, etc.) a warning
34
+ is logged and the existing tarball is kept. `--force` can be used to override.
35
+ - `--remove-signatures` on `download` and `sync` now acts as an explicit override
36
+ in addition to the new auto-detection; passing the flag always strips signatures
37
+ regardless of whether they were detected.
38
+
39
+ ## [1.1.0] - 2026-03-01
40
+
41
+ ### Added
42
+
43
+ - `__version__`, `__author__`, and `__description__` module-level metadata.
44
+ - Colored terminal logging via `_ColorFormatter`: DEBUG=cyan, INFO=green,
45
+ WARNING=yellow, ERROR=red, CRITICAL=bold red. Falls back to plain formatting
46
+ when stderr is not a TTY.
47
+
48
+ ## [1.0.0] - 2026-02-23
49
+
50
+ ### Added
51
+
52
+ - Initial release.
53
+ - `download` command: pull images listed in a text file to OCI tarballs via
54
+ `skopeo copy`.
55
+ - `upload` command: push tarballs to a private registry with source-registry
56
+ path rewriting (e.g. `docker.io` → `<registry>/dockerio`).
57
+ - `sync` command: download and upload in a single step.
58
+ - `list` command: display manifest contents and preview upload targets.
59
+ - `manifest.json` sidecar file mapping tarball filenames to original image
60
+ references, making the conversion fully reversible.
61
+ - `--force` flag to re-download existing tarballs unconditionally.
62
+ - `--dry-run` flag to print `skopeo` commands without executing them.
63
+ - `--src-tls-verify` / `--dest-tls-verify` flags for registries with
64
+ self-signed certificates.
65
+ - `--src-creds` / `--dest-creds` flags for registry authentication.
66
+ - `--authfile` flag to pass a Docker-compatible `auth.json`.
67
+ - `--remove-signatures` flag to strip image signatures during copy.
68
+
69
+ [Unreleased]: https://github.com/WatskeBart/regmirror/compare/1.2.0...HEAD
70
+ [1.2.0]: https://github.com/WatskeBart/regmirror/compare/1.1.0...1.2.0
71
+ [1.1.0]: https://github.com/WatskeBart/regmirror/compare/1.0.0...1.1.0
72
+ [1.0.0]: https://github.com/WatskeBart/regmirror/releases/tag/1.0.0