(self)
| 41 | HTTPS = "https" |
| 42 | |
| 43 | def schemastore_repos(self) -> SchemastoreRepos: |
| 44 | match self: |
| 45 | case GitProtocol.SSH: |
| 46 | return SchemastoreRepos( |
| 47 | fork="git@github.com:astral-sh/schemastore.git", |
| 48 | upstream="git@github.com:SchemaStore/schemastore.git", |
| 49 | ) |
| 50 | case GitProtocol.HTTPS: |
| 51 | return SchemastoreRepos( |
| 52 | fork="https://github.com/astral-sh/schemastore.git", |
| 53 | upstream="https://github.com/SchemaStore/schemastore.git", |
| 54 | ) |
| 55 | case _: |
| 56 | assert_never(self) |
| 57 | |
| 58 | |
| 59 | def update_schemastore( |