Move images to Docker Hub
I choose to use the Fully Qualified Registry Name everywhere (`docker.io/weaveworks/flux`) instead of using the shorthand (`weaveworks/flux`) so it gets picked up when someone is for example excluding docker.io images using `--registry-exclude-image=docker.io/*`
|6 months ago|
Correctly store Excluded manifests
I noticed that fluxd was continually fetching image manifests that were "excluded", that is, had the wrong arch or otherwise weren't suitable. The design in #1265 was to mark those manifests as excluded, but count them as successful fetches; and, to save the fact in memcached. The implementation failed on three counts: - it would unconditionally use a cached result, even if excluded; - it was using the ID from excluded results (which have no ID value) as a key, so they got effectively thrown away anyway; - the encoding of results to JSON omitted the ExcludedReason field, because they embed the image.Info struct and thus inherit its JSON encoding methods. This commit corrects those problems.
|1 year ago|