Monorepo for Tangled tangled.org

Revert "Revert "*/config: add PLC URL config option"" #698

closed opened by boltless.me targeting master from sandboxed-atmosphere

This reverts commit 55b06460d331a29b940dd06c7518d9fd0a911cd2.

Labels

None yet.

assignee

None yet.

Participants 1
AT URI
at://did:plc:xasnlahkri4ewmbuzly2rlc5/sh.tangled.repo.pull/3m3sa6t262w22
+2 -2
Interdiff #7 #8
appview/config/config.go

This patch was likely rebased, as context lines do not match.

appview/state/state.go

This patch was likely rebased, as context lines do not match.

guard/guard.go

This file has not been changed.

idresolver/resolver.go

This file has not been changed.

knotserver/config/config.go

This file has not been changed.

knotserver/ingester.go

This file has not been changed.

+2 -2
knotserver/internal.go
··· 145 145 146 146 func (h *InternalHandle) replyCompare(line git.PostReceiveLine, repoOwner string, gitRelativeDir string, repoName string, ctx context.Context) ([]string, error) { 147 147 l := h.l.With("handler", "replyCompare") 148 - userIdent, err := idresolver.DefaultResolver(h.c.Server.PlcUrl).ResolveIdent(ctx, repoOwner) 148 + userIdent, err := idresolver.DefaultResolver().ResolveIdent(ctx, repoOwner) 149 149 user := repoOwner 150 150 if err != nil { 151 151 l.Error("Failed to fetch user identity", "err", err) ··· 353 353 r := chi.NewRouter() 354 354 l := log.FromContext(ctx) 355 355 l = log.SubLogger(l, "internal") 356 - res := idresolver.DefaultResolver() 356 + res := idresolver.DefaultResolver(c.Server.PlcUrl) 357 357 358 358 h := InternalHandle{ 359 359 db,
knotserver/router.go

This file has not been changed.

spindle/config/config.go

This file has not been changed.

spindle/ingester.go

This file has not been changed.

spindle/server.go

This file has not been changed.

History

9 rounds 0 comments
sign up or login to add to the discussion
1 commit
expand
Revert "Revert "*/config: add PLC URL config option""
expand 0 comments
closed without merging
1 commit
expand
Revert "Revert "*/config: add PLC URL config option""
expand 0 comments
1 commit
expand
Revert "Revert "*/config: add PLC URL config option""
expand 0 comments
1 commit
expand
Revert "Revert "*/config: add PLC URL config option""
expand 0 comments
1 commit
expand
Revert "Revert "*/config: add PLC URL config option""
expand 0 comments
1 commit
expand
Revert "Revert "*/config: add PLC URL config option""
expand 0 comments
1 commit
expand
Revert "Revert "*/config: add PLC URL config option""
expand 0 comments
1 commit
expand
Revert "Revert "*/config: add PLC URL config option""
expand 0 comments
1 commit
expand
Revert "Revert "*/config: add PLC URL config option""
expand 0 comments