Releases: DaemonDude23/container-image-replicator
Releases · DaemonDude23/container-image-replicator
v0.11.1
v0.11.0
- No code changes, but now all binaries (Linux. MacOS, Windows) are now a part of this release. Otherwise, just GitHub workflow tweaks.
v0.10.0
Enhancements
- Added the ability to build and push images, not just replicate them from somewhere to somewhere. See config syntax examples in README.md.
- Switched to Nuitka, replacing PyInstaller for generating binaries. Let me know if any of the builds (Linux/Windows/MacOS) have issues.
- Currently building a Python
3.11.5
image.
- Currently building a Python
Bugfixes
- Fixed inconsistent and contradictory reporting from logs about an image being present already, and notify user when an image is pushed successfully.
- Fixed error that prevented the use of the
--no-colors
flag.- Added a singular alias for the plural. These have the same effect:
--no-colors
--no-color
- Added a singular alias for the plural. These have the same effect:
Housekeeping
- pre-commit
- config updates and enabled
mypy
.
- config updates and enabled
- Corrected some docstrings.
- Added more typing. Bumped minimum Python version to
3.11
due to use of the newer typing mechanisms. PyYAML
package updated.- Split
requirements.txt
into the latest and greatest, or userequirements-mac.txt
if you have a bug with therequests
library.
v0.8.0
Enhancements
- Logging
- Added support for
success
logs with theverboselogs
library. - Added exception catching for input file not found and failed to parse scenarios.
- Added support for
- Added example RegEx named capture group example for those using log aggregation tools.
Bugfixes
- Fixed issue where if the destination image didn't already exist, CIR wouldn't attempt a push.
- Hopefully fixed the broken PyInstaller binaries.
Housekeeping
- pre-commit
- Removed
mypy
pre-commit hook. - Added
vermin
to test minimum Python version required, which is apparently lower than I thought atv3.6
- Removed
- Docs
- Added image of prettily-colored screenshot of command output.
- Added TODO list/musings for future plans to expand functionality of this script at the bottom of README.md.
v0.7.0
Enhancements
logging
- Added default coloration of logs (turn it off with argument
--no-colors
).- Add much improved error detail instead of
a silent error has occurred
, replacing it with (example)denied: Your authorization token has expired. Reauthenticate and try again.
- Add much improved error detail instead of
Bugfixes
- Update PIP dependencies.
- Pin
requests
to<=2.29.0
possibly prevent this issue: docker/docker-py#3113
- Pin
Housekeeping
- pre-commit-config updates.
mypy --strict
added and more typing.
v0.6.0
Enhancements
- Reduce
if
conditions for force pull or push. - Remove a redundant check on the destination repo.
v0.5.0
Enhancements
- Add CLI flag
--force-pull-push
to force pulling/pushing images even if the tag exists in the remote repository. Use[]source.forcePull
and or[]source.forcePush
to fine-tune these properties on a per-image basis instead of globally with this CLI flag.- Beware as this can count against rate limits. Use wisely!
- This is useful for when you source images with mutable tags, like
docker.io/httpd:2.4
where the patch version is being updated for this same image tag across time.
Housekeeping
types-PyYAML
package updated.- Added to and updated docs.
v0.4.2
Bugfixes
- Make argument
--max-workers
actually use that number of threads.
v0.4.1
Bugfixes
- Fix exception thrown when using
--version
or--help
.
v0.4.0
Enhancements
- Added multithreading (with a customizable worker thread count with
--max-workers
. Default =2
) so that multiple pull/push operations occur in parallel instead of serially as with the previous behavior. Much faster! - Only pull a source image if the image does not exist in the destination. Previously the image would be downloaded before checking if a push was required at all.
Bugfixes
- Present the input file as a required argument in
--help
.
Housekeeping
- pre-commit-config updates.