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
··· 219 219 } 220 220 221 221 scheme := "wss" 222 - if p.config.Core.Dev { 223 - scheme = "ws" 224 - } 222 + // if p.config.Core.Dev { 223 + // scheme = "ws" 224 + // } 225 225 226 226 url := scheme + "://" + strings.Join([]string{spindle, "logs", knot, rkey, workflow}, "/") 227 227 l = l.With("url", url) ··· 378 378 r, 379 379 oauth.WithService(f.Spindle), 380 380 oauth.WithLxm(tangled.PipelineCancelPipelineNSID), 381 - oauth.WithDev(p.config.Core.Dev), 381 + oauth.WithDev(false), 382 382 oauth.WithTimeout(time.Second*30), // workflow cleanup usually takes time 383 383 ) 384 384
+1 -1
appview/state/knotstream.go
··· 53 53 WorkerCount: c.Knotstream.WorkerCount, 54 54 QueueSize: c.Knotstream.QueueSize, 55 55 Logger: logger, 56 - Dev: c.Core.Dev, 56 + Dev: false, 57 57 CursorStore: &cursorStore, 58 58 } 59 59
+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 hostname = envVarOr "TANGLED_VM_SPINDLE_HOST" "localhost:6555"; 142 143 plcUrl = plcUrl; 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 }