{"record":{"id":"f01d8da6bb86f4cb","repo":"phacility/phabricator","slug":"the-name-s-is-not-a-valid-repository-short-name-f01d8d","errorCode":null,"errorMessage":"The name \"%s\" is not a valid repository short name. Repository short names must not end in \".git\". This suffix will be added automatically in appropriate contexts.","messagePattern":"The name \"(.+?)\" is not a valid repository short name\\. Repository short names must not end in \"\\.git\"\\. This suffix will be added automatically in appropriate contexts\\.","errorType":"validation","errorClass":"Exception","httpStatus":null,"severity":"error","filePath":"src/applications/repository/storage/PhabricatorRepository.php","lineNumber":437,"sourceCode":"\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)) {\n      throw new Exception(\n        pht(\n          'A repository callsign must be at least one character long.'));\n    }\n\n    if (strlen($callsign) > 32) {\n      throw new Exception(\n        pht(","sourceCodeStart":419,"sourceCodeEnd":455,"githubUrl":"https://github.com/phacility/phabricator/blob/5720a38cfe95b00ca4be5016dd0d2f3195f4fa04/src/applications/repository/storage/PhabricatorRepository.php#L419-L455","documentation":"Error \"The name \"%s\" is not a valid repository short name. Repository short names must not end in \".git\". This suffix will be added automatically in appropriate contexts.\" thrown in phacility/phabricator.","triggerScenarios":"Thrown at src/applications/repository/storage/PhabricatorRepository.php:437 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"}