fork of indigo with slightly nicer lexgen
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

updates to gosky

+24
+8
cmd/gosky/debug.go
··· 262 262 263 263 return nil 264 264 }, 265 + RepoSync: func(evt *comatproto.SyncSubscribeRepos_Sync) error { 266 + fmt.Printf("\rChecking seq: %d ", evt.Seq) 267 + if lastSeq > 0 && evt.Seq != lastSeq+1 { 268 + fmt.Println("Gap in sequence numbers: ", lastSeq, evt.Seq) 269 + } 270 + lastSeq = evt.Seq 271 + return nil 272 + }, 265 273 RepoInfo: func(evt *comatproto.SyncSubscribeRepos_Info) error { 266 274 return nil 267 275 },
+14
cmd/gosky/main.go
··· 284 284 285 285 return nil 286 286 }, 287 + RepoSync: func(sync *comatproto.SyncSubscribeRepos_Sync) error { 288 + if jsonfmt { 289 + b, err := json.Marshal(sync) 290 + if err != nil { 291 + return err 292 + } 293 + fmt.Println(string(b)) 294 + } else { 295 + fmt.Printf("(%d) Sync: %s\n", sync.Seq, sync.Did) 296 + } 297 + 298 + return nil 299 + 300 + }, 287 301 RepoInfo: func(info *comatproto.SyncSubscribeRepos_Info) error { 288 302 if jsonfmt { 289 303 b, err := json.Marshal(info)
+2
cmd/gosky/streamdiff.go
··· 127 127 return "ERROR" 128 128 case evt.RepoCommit != nil: 129 129 return "#commit" 130 + case evt.RepoSync != nil: 131 + return "#sync" 130 132 case evt.RepoInfo != nil: 131 133 return "#info" 132 134 default: