Monorepo for Tangled tangled.org

nix: knot: pass config to knot guard #700

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

this is a temporary fix. ideal solution would be introducing json file configuration or serving ssh server by our own instead of relying on sshd

Signed-off-by: Seongmin Lee git@boltless.me

Labels

None yet.

assignee

None yet.

Participants 1
AT URI
at://did:plc:xasnlahkri4ewmbuzly2rlc5/sh.tangled.repo.pull/3m3sa6t263522
+1 -1
Interdiff #6 #7
+1 -1
guard/guard.go
··· 118 fmt.Fprintln(os.Stderr, "access denied: invalid git command") 119 return fmt.Errorf("access denied: invalid git command") 120 } 121 - 122 // qualify repo path from internal server which holds the knot config 123 qualifiedRepoPath, err := guardAndQualifyRepo(l, endpoint, incomingUser, repoPath, gitCommand) 124 if err != nil {
··· 118 fmt.Fprintln(os.Stderr, "access denied: invalid git command") 119 return fmt.Errorf("access denied: invalid git command") 120 } 121 + 122 // qualify repo path from internal server which holds the knot config 123 qualifiedRepoPath, err := guardAndQualifyRepo(l, endpoint, incomingUser, repoPath, gitCommand) 124 if err != nil {
knotserver/internal.go

This file has not been changed.

History

9 rounds 0 comments
sign up or login to add to the discussion
1 commit
expand
guard,knotserver/internal: move guard logic to internal server
3/3 success
expand
expand 0 comments
closed without merging
1 commit
expand
guard,knotserver/internal: move guard logic to internal server
3/3 success
expand
expand 0 comments
1 commit
expand
guard,knotserver/internal: move guard logic to internal server
1/3 failed, 2/3 timeout
expand
expand 0 comments
1 commit
expand
nix: knot: pass config to knot guard
3/3 success
expand
expand 0 comments
1 commit
expand
nix: knot: pass config to knot guard
3/3 success
expand
expand 0 comments
1 commit
expand
nix: knot: pass config to knot guard
expand 0 comments
1 commit
expand
nix: knot: pass config to knot guard
expand 0 comments
1 commit
expand
nix: knot: pass config to knot guard
expand 0 comments
1 commit
expand
nix: knot: pass config to knot guard
expand 0 comments