digestset: deprecate package in favor of go-digest/digestset

This package was only used for the deprecated "shortid" syntax. Now that
support for this syntax was removed, we can also remove this package.

This patch deprecates and removes the package, adding temporary aliases pointing
to the new location to ease migration from docker/distribution to the new
distribution/distribution/v3. We should remove those aliases in a future update.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
(cherry picked from commit 7b651a9692)
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
Sebastiaan van Stijn
2022-11-06 20:28:36 +01:00
parent d1ab2430e6
commit 29b00e8b28
4 changed files with 67 additions and 372 deletions

View File

@@ -4,8 +4,8 @@ import (
"regexp"
"github.com/distribution/reference"
"github.com/docker/distribution/digestset"
"github.com/opencontainers/go-digest"
"github.com/opencontainers/go-digest/digestset"
)
// ParseNormalizedNamed parses a string into a named reference