feat(server): source control, media and discovery use GitHub's API instead of gh (#16321)
Co-authored-by: Claude Opus 5.5 (1M context) <[email protected]>
This commit is contained in:
1 parent
adc3c9327a
commit
649418f01f
13 files changed
+1403
-1777
No files matched your search
@@ -305,6 +305,7 @@ export const makeWithProviders = Effect.fn("makeSourceControlProviderRegistryWit
|
||||
|
||||
export const make = Effect.gen(function* () {
|
||||
const github = yield* GitHubSourceControlProvider.make;
|
||||
const githubDiscovery = yield* GitHubSourceControlProvider.makeDiscovery;
|
||||
const gitlab = yield* GitLabSourceControlProvider.make;
|
||||
const forgejo = yield* ForgejoSourceControlProvider.make;
|
||||
const forgejoDiscovery = yield* ForgejoSourceControlProvider.makeDiscovery;
|
||||
@@ -315,7 +316,7 @@ export const make = Effect.gen(function* () {
|
||||
{
|
||||
kind: "github",
|
||||
provider: github,
|
||||
discovery: GitHubSourceControlProvider.discovery,
|
||||
discovery: githubDiscovery,
|
||||
},
|
||||
{
|
||||
kind: "gitlab",
|
||||
|
||||
Reference in new issue
Block a user