From bbbf64242726dee184f82b3bb355327c9c85b274 Mon Sep 17 00:00:00 2001 From: Tianon Gravi Date: Mon, 7 Jul 2014 09:57:50 -0600 Subject: [PATCH] Fix DCO parsing for numeric github handles like cpuguy83 Turns out, "alphanumeric" actually means both "alpha" AND "numeric". Dur. Docker-DCO-1.1-Signed-off-by: Andrew Page (github: tianon) --- hack/make/validate-dco | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hack/make/validate-dco b/hack/make/validate-dco index 6e915c9aab..8b7812982d 100644 --- a/hack/make/validate-dco +++ b/hack/make/validate-dco @@ -10,7 +10,7 @@ notDocs="$(validate_diff --numstat | awk '$3 !~ /^docs\// { print $3 }')" : ${dels:=0} # "Username may only contain alphanumeric characters or dashes and cannot begin with a dash" -githubUsernameRegex='[a-zA-Z][a-zA-Z-]+' +githubUsernameRegex='[a-zA-Z0-9][a-zA-Z0-9-]+' # https://github.com/dotcloud/docker/blob/master/CONTRIBUTING.md#sign-your-work dcoPrefix='Docker-DCO-1.1-Signed-off-by:'