Skip to content

Conversation

@thaJeztah
Copy link
Member

@thaJeztah thaJeztah commented Aug 31, 2022

As it's just an alias for filepath.IsAbs. Also added a normalize step in
TrimBuildFilesFromExcludes, so that callers are not required to first
normalize the path.

We are considering deprecating and/or removing this function in the archive
package, so removing it in the cli code helps transitioning if we decide to
deprecate and/or remove it.

- Description for the changelog

- A picture of a cute animal (not mandatory but encouraged)

As it's just an alias for filepath.IsAbs. Also added a normalize step in
TrimBuildFilesFromExcludes, so that callers are not _required_ to first
normalize the path.

We are considering deprecating and/or removing this function in the archive
package, so removing it in the cli code helps transitioning if we decide to
deprecate and/or remove it.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
@thaJeztah thaJeztah added status/2-code-review area/builder kind/refactor PR's that refactor, or clean-up code labels Aug 31, 2022
@thaJeztah thaJeztah added this to the 22.06.0 milestone Aug 31, 2022
@thaJeztah thaJeztah merged commit 52b89d7 into docker:master Sep 1, 2022
@thaJeztah thaJeztah deleted the no_CanonicalTarNameForPath branch September 1, 2022 20:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/builder kind/refactor PR's that refactor, or clean-up code status/2-code-review

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants