A vibe coded tangled fork which supports pijul.

wip: make spindle work in my machine

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

+9 -8
+4 -4
appview/pipelines/pipelines.go
··· 241 241 } 242 242 243 243 scheme := "wss" 244 - if p.config.Core.Dev { 245 - scheme = "ws" 246 - } 244 + // if p.config.Core.Dev { 245 + // scheme = "ws" 246 + // } 247 247 248 248 url := scheme + "://" + strings.Join([]string{spindle, "logs", knot, rkey, workflow}, "/") 249 249 l = l.With("url", url) ··· 400 400 r, 401 401 oauth.WithService(f.Spindle), 402 402 oauth.WithLxm(tangled.PipelineCancelPipelineNSID), 403 - oauth.WithDev(p.config.Core.Dev), 403 + oauth.WithDev(false), 404 404 oauth.WithTimeout(time.Second*30), // workflow cleanup usually takes time 405 405 ) 406 406
+1 -1
appview/state/knotstream.go
··· 55 55 WorkerCount: c.Knotstream.WorkerCount, 56 56 QueueSize: c.Knotstream.QueueSize, 57 57 Logger: logger, 58 - Dev: c.Core.Dev, 58 + Dev: false, 59 59 CursorStore: &cursorStore, 60 60 } 61 61
+1 -1
appview/state/spindlestream.go
··· 53 53 WorkerCount: c.Spindlestream.WorkerCount, 54 54 QueueSize: c.Spindlestream.QueueSize, 55 55 Logger: logger, 56 - Dev: c.Core.Dev, 56 + Dev: false, 57 57 CursorStore: &cursorStore, 58 58 } 59 59
+2 -1
nix/vm.nix
··· 131 131 plcUrl = plcUrl; 132 132 jetstreamEndpoint = jetstream; 133 133 listenAddr = "0.0.0.0:6444"; 134 + dev = true; 134 135 }; 135 136 }; 136 137 services.tangled.spindle = { ··· 141 142 plcUrl = plcUrl; 142 143 relayUrl = relayUrl; 143 144 listenAddr = "0.0.0.0:6555"; 144 - dev = true; 145 + dev = false; 145 146 queueSize = 100; 146 147 maxJobCount = 2; 147 148 secrets = {
+1 -1
spindle/models/clone.go
··· 69 69 commands: []string{ 70 70 "git init", 71 71 fmt.Sprintf("git remote add origin %s", repoURL), 72 - fmt.Sprintf("git fetch %s", strings.Join(fetchArgs, " ")), 72 + fmt.Sprintf("GIT_SSL_NO_VERIFY=true git -c http.sslVerify=false fetch %s", strings.Join(fetchArgs, " ")), 73 73 "git checkout FETCH_HEAD", 74 74 }, 75 75 }