moby/distribution
Sebastiaan van Stijn a99e62fa3d
distribution: show image schema deprecation on all registries
When we added this deprecation warning, some registries had not yet
moved away from the deprecated specification, so we made the warning
conditional for pulling from Docker Hub.

That condition was added in 647dfe99a5,
which is over 4 Years ago, which should be time enough for images
and registries to have moved to current specifications.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
(cherry picked from commit 8c4af5dacb)
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2023-08-21 21:06:29 +02:00
..
fixtures/validate_manifest Add distribution package 2015-11-24 09:40:24 -08:00
metadata Remove uses of deprecated go-digest.NewDigestFromHex, go-digest.Digest.Hex 2022-11-08 16:42:13 +01:00
utils Add canonical import comment 2018-02-05 16:51:57 -05:00
xfer Merge pull request #45050 from lmbarros/close-reader 2023-02-21 22:57:53 +00:00
config.go fixing consistent aliases for OCI spec imports 2023-06-01 17:22:49 +02:00
errors.go distribution: Error when pulling OCI artifacts 2022-11-02 12:51:03 +01:00
errors_test.go distribution: un-export internal errors and error-utilities 2022-04-21 22:53:02 +02:00
manifest.go fixing consistent aliases for OCI spec imports 2023-06-01 17:22:49 +02:00
manifest_test.go fixing consistent aliases for OCI spec imports 2023-06-01 17:22:49 +02:00
pull.go distribution: move newPusher() and newPuller() together with definition 2022-04-21 23:13:39 +02:00
pull_v2.go distribution: show image schema deprecation on all registries 2023-08-21 21:06:29 +02:00
pull_v2_test.go fixing consistent aliases for OCI spec imports 2023-06-01 17:22:49 +02:00
pull_v2_unix.go fixing consistent aliases for OCI spec imports 2023-06-01 17:22:49 +02:00
pull_v2_windows.go fixing consistent aliases for OCI spec imports 2023-06-01 17:22:49 +02:00
push.go distribution: move newPusher() and newPuller() together with definition 2022-04-21 23:13:39 +02:00
push_v2.go Remove reference to "requireRegistryMatch" 2023-01-05 11:28:22 -08:00
push_v2_test.go distribution: use types/registry.AuthConfig 2022-07-29 23:05:18 +02:00
registry.go distribution: checkSupportedMediaType: allow additional media-types 2022-12-02 01:26:06 +01:00
registry_unit_test.go distribution: use types/registry.AuthConfig 2022-07-29 23:05:18 +02:00
repository.go distribution: add GetRepository(), un-export NewV2Repository, ValidateRepoName 2022-04-21 23:12:02 +02:00