{"record":{"id":"bb698d742d3f9297","repo":"chubin/cheat.sh","slug":"do-not-known-how-to-handle-this-repository-s-bb698d","errorCode":null,"errorMessage":"Do not known how to handle this repository: %s","messagePattern":"Do not known how to handle this repository: (.+?)","errorType":"exception","errorClass":"RuntimeError","httpStatus":null,"severity":"error","filePath":"lib/adapter/git_adapter.py","lineNumber":78,"sourceCode":"    Implements all methods needed to handle cache handling\n    for git-repository-based adapters\n    \"\"\"\n\n    @classmethod\n    def fetch_command(cls):\n        \"\"\"\n        Initial fetch of the repository.\n        Return cmdline that has to be executed to fetch the repository.\n        Skipping if `self._repository_url` is not specified\n        \"\"\"\n\n        if not cls._repository_url:\n            return None\n\n        if not cls._repository_url.startswith(\"https://github.com/\"):\n            # in this case `fetch` has to be implemented\n            # in the distinct adapter subclass\n            raise RuntimeError(\n                \"Do not known how to handle this repository: %s\" % cls._repository_url\n            )\n\n        local_repository_dir = cls.local_repository_location()\n        if not local_repository_dir:\n            return None\n\n        return [\"git\", \"clone\", \"--depth=1\", cls._repository_url, local_repository_dir]\n\n    @classmethod\n    def update_command(cls):\n        \"\"\"\n        Update of the repository.\n        Return cmdline that has to be executed to update the repository\n        inside `local_repository_location()`.\n        \"\"\"\n\n        if not cls._repository_url:","sourceCodeStart":60,"sourceCodeEnd":96,"githubUrl":"https://github.com/chubin/cheat.sh/blob/031a5d3887f035aaa3bf1a3f83dff4fde2aac53d/lib/adapter/git_adapter.py#L60-L96","documentation":"Error \"Do not known how to handle this repository: %s\" thrown in chubin/cheat.sh.","triggerScenarios":"Thrown at lib/adapter/git_adapter.py:78 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":"031a5d3887f035aaa3bf1a3f83dff4fde2aac53d","analyzedAt":"2026-08-26T16:49:57.415Z","schemaVersion":2},"datasetVersion":"2026-08-26T21:11:00.512Z"}