{"record":{"id":"b2fab436e0c571bf","repo":"phacility/phabricator","slug":"the-name-s-is-not-a-valid-repository-short-name-b2fab4","errorCode":null,"errorMessage":"The name \"%s\" is not a valid repository short name. Repository short names may not contain only numbers.","messagePattern":"The name \"(.+?)\" is not a valid repository short name\\. Repository short names may not contain only numbers\\.","errorType":"validation","errorClass":"Exception","httpStatus":null,"severity":"error","filePath":"src/applications/repository/storage/PhabricatorRepository.php","lineNumber":429,"sourceCode":"    if (preg_match('/__|--|\\\\.\\\\./', $slug)) {\n      throw new Exception(\n        pht(\n          'The name \"%s\" is not a valid repository short name. Repository '.\n          'short names must not contain multiple consecutive underscores, '.\n          'hyphens, or periods.',\n          $slug));\n    }\n\n    if (preg_match('/^[A-Z]+\\z/', $slug)) {\n      throw new Exception(\n        pht(\n          'The name \"%s\" is not a valid repository short name. Repository '.\n          'short names may not contain only uppercase letters.',\n          $slug));\n    }\n\n    if (preg_match('/^\\d+\\z/', $slug)) {\n      throw new Exception(\n        pht(\n          'The name \"%s\" is not a valid repository short name. Repository '.\n          'short names may not contain only numbers.',\n          $slug));\n    }\n\n    if (preg_match('/\\\\.git/', $slug)) {\n      throw new Exception(\n        pht(\n          'The name \"%s\" is not a valid repository short name. Repository '.\n          'short names must not end in \".git\". This suffix will be added '.\n          'automatically in appropriate contexts.',\n          $slug));\n    }\n  }\n\n  public static function assertValidCallsign($callsign) {\n    if (!strlen($callsign)) {","sourceCodeStart":411,"sourceCodeEnd":447,"githubUrl":"https://github.com/phacility/phabricator/blob/5720a38cfe95b00ca4be5016dd0d2f3195f4fa04/src/applications/repository/storage/PhabricatorRepository.php#L411-L447","documentation":"Error \"The name \"%s\" is not a valid repository short name. Repository short names may not contain only numbers.\" thrown in phacility/phabricator.","triggerScenarios":"Thrown at src/applications/repository/storage/PhabricatorRepository.php:429 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":[],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"5720a38cfe95b00ca4be5016dd0d2f3195f4fa04","analyzedAt":"2026-08-21T05:07:25.672Z","schemaVersion":2},"datasetVersion":"2026-08-21T11:28:35.574Z"}