distribution/common
Stephen J Day a650f0f854 Clarify repository naming constraints for registry API
After discussion, it was found that one of the proposed regular expressions
incorrectly limited separator delimited compoonents to two characters. The
desired restriction is to have repository name components limited to two
characters minimum. This changeset accomplishes this by wrapping the regular
expressions in a validation function, returning detailed feedback on the
validation error.

With this change, the repository name regular expressions are no longer enough
to respond with 404s on invalid repo names. Changes to the router will need to
be added to support this.
2014-11-17 11:42:54 -08:00
..
names_test.go Clarify repository naming constraints for registry API 2014-11-17 11:42:54 -08:00
names.go Clarify repository naming constraints for registry API 2014-11-17 11:42:54 -08:00
tarsum_test.go Define common regexps used across registry application 2014-11-12 16:53:55 -08:00
tarsum.go Define common regexps used across registry application 2014-11-12 16:53:55 -08:00