Fix repository name validation errors by marcuslinke · Pull Request #298 · docker-java/docker-java
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
maybe short RepoNameMaxLength?
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Variable names are taken from docker sources. I would like to keep them.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
😟
Do you have any generic Object that can parse, store and provide parts of this data in getters like getTag, getHost, getDigest?
"proto://url:port/imagename:tag" (or digest)
Sadly no. But as already said in another post all this name handling classes needs to be refactored. It's on my todo list, but I'm quite busy to fix bugs atm.
@marcuslinke no problems, all this partial classes periodically confuses TODO rework it is good idea
marcuslinke
changed the title
Fix issue #290
Fix repository name validation errors
@marcuslinke it maybe good idea squashing such minor changes during merge to have better commit/blame history. I usually comparing docker-api docs, docker-java changes and docker client so it difficult sometimes jumping on styling commits
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters