this repo has no description
0
fork

Configure Feed

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

env vars: rename BSKY_ with ATP_

+6 -6
+2 -2
HACKING.md
··· 122 122 export SLACK_WEBHOOK_URL=https://hooks.slack.com/services/T028K87/B04NBDB/oWbsHasdf23r2d 123 123 124 124 # example pulling admin token out of `pass` password manager 125 - export BSKY_ADMIN_AUTH=`pass bsky/pds-admin-staging | head -n1` 125 + export ATP_AUTH_ADMIN_PASSWORD=`pass bsky/pds-admin-staging | head -n1` 126 126 127 127 # example just setting admin token directly 128 - export BSKY_ADMIN_AUTH="someinsecurething123" 128 + export ATP_AUTH_ADMIN_PASSWORD="someinsecurething123" 129 129 130 130 # run the bot 131 131 GOLOG_LOG_LEVEL=debug go run ./cmd/beemo/ --pds https://pds.staging.example.com --auth bsky.auth notify-reports
+1 -1
cmd/fakermaker/main.go
··· 56 56 Name: "admin-token", 57 57 Usage: "admin authentication token for PDS", 58 58 Required: true, 59 - EnvVars: []string{"BSKY_ADMIN_AUTH"}, 59 + EnvVars: []string{"ATP_AUTH_ADMIN_PASSWORD"}, 60 60 }, 61 61 &cli.IntFlag{ 62 62 Name: "jobs",
+1 -1
cmd/gosky/main.go
··· 167 167 &cli.StringFlag{ 168 168 Name: "plc", 169 169 Value: "https://plc.directory", 170 - EnvVars: []string{"BSKY_PLC_URL"}, 170 + EnvVars: []string{"ATP_PLC_HOST"}, 171 171 }, 172 172 }, 173 173 Subcommands: []*cli.Command{
+2 -2
cmd/gosky/util/util.go
··· 120 120 } 121 121 } 122 122 123 - val := os.Getenv("BSKY_AUTH") 123 + val := os.Getenv("ATP_AUTH_FILE") 124 124 if val == "" { 125 125 if req { 126 - return nil, fmt.Errorf("no auth env present, BSKY_AUTH not set") 126 + return nil, fmt.Errorf("no auth env present, ATP_AUTH_FILE not set") 127 127 } 128 128 129 129 return nil, nil