Explorar o código

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 <admwiggin@gmail.com> (github: tianon)
Tianon Gravi %!s(int64=11) %!d(string=hai) anos
pai
achega
bbbf642427
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      hack/make/validate-dco

+ 1 - 1
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:'