porting all github actions from bluesky-social/indigo to tangled CI

tweak output terms

Changed files
+6 -6
cmd
goat
+6 -6
cmd/goat/relay.go
··· 98 98 &cli.Command{ 99 99 Name: "diff", 100 100 Usage: "compare host set (and seq) between two relay instances", 101 - ArgsUsage: `<relay-one> <relay-two>`, 101 + ArgsUsage: `<relay-A-url> <relay-B-url>`, 102 102 Flags: []cli.Flag{ 103 103 &cli.BoolFlag{ 104 104 Name: "verbose", ··· 435 435 if !verbose && two.Status != "active" { 436 436 continue 437 437 } 438 - fmt.Printf("%s\t\t%s/%d\tone-missing\n", k, two.Status, two.Seq) 438 + fmt.Printf("%s\t\t%s/%d\tA-missing\n", k, two.Status, two.Seq) 439 439 } else if !okTwo { 440 440 if !verbose && one.Status != "active" { 441 441 continue 442 442 } 443 - fmt.Printf("%s\t%s/%d\t\ttwo-missing\n", k, one.Status, one.Seq) 443 + fmt.Printf("%s\t%s/%d\t\tB-missing\n", k, one.Status, one.Seq) 444 444 } else { 445 445 status := "" 446 446 if one.Status != two.Status { 447 - status = "diff" 447 + status = "diff-status" 448 448 } else { 449 449 delta := max(one.Seq, two.Seq) - min(one.Seq, two.Seq) 450 450 if delta == 0 { 451 - status = "exact" 451 + status = "sync" 452 452 if !verbose { 453 453 continue 454 454 } 455 455 } else if delta < seqSlop { 456 - status = "close" 456 + status = "nearly" 457 457 if !verbose { 458 458 continue 459 459 }