|
|
|
@ -109,7 +109,7 @@ func IsRepositoryExist(user *User, repoName string) (bool, error) { |
|
|
|
|
|
|
|
|
|
var ( |
|
|
|
|
// Define as all lower case!!
|
|
|
|
|
illegalPatterns = []string{"[.][Gg][Ii][Tt]", "user", "help", "stars", "issues", "pulls", "commits", "admin", "repo", "template", "admin"} |
|
|
|
|
illegalPatterns = []string{"[.][Gg][Ii][Tt]", "raw", "user", "help", "stars", "issues", "pulls", "commits", "admin", "repo", "template", "admin"} |
|
|
|
|
) |
|
|
|
|
|
|
|
|
|
// IsLegalName returns false if name contains illegal characters.
|
|
|
|
|