-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This code was started in 2019, updated in 2022 and expanded with tracing in 2023/2024. In principal it works and is compatible with the production ClueBot NG bot (https://github.com/cluebotng/bot), in reality it needs a lot of cleanup.
- Loading branch information
1 parent
5245f01
commit cb37503
Showing
35 changed files
with
1,453 additions
and
1,145 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
bot: | ||
owner: Cobi | ||
friends: | ||
- ClueBot | ||
- DASHBotAV | ||
run: false | ||
angry: true | ||
|
||
wikipedia: | ||
host: en.wikipedia.org | ||
username: ClueBot_NG | ||
owner: NaomiAmethyst | ||
|
||
irc: | ||
server: irc.freenode.org | ||
port: 6697 | ||
username: CBNGRelay-CI | ||
channel: | ||
spam: wikipedia-en-cbngfeed-ci | ||
revert: wikipedia-en-cbngrevertfeed-ci | ||
debug: wikipedia-en-cbngdebug-ci | ||
|
||
sql: | ||
replica: | ||
host: 127.0.0.1 | ||
port: 3306 | ||
schema: enwiki_p | ||
username: root | ||
cluebot: | ||
host: 127.0.0.1 | ||
port: 3306 | ||
schema: cbng | ||
username: root | ||
|
||
core: | ||
host: 127.0.0.1 | ||
port: 3565 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,44 +1,90 @@ | ||
module github.com/cluebotng/botng | ||
|
||
go 1.18 | ||
go 1.22.0 | ||
|
||
toolchain go1.22.3 | ||
|
||
require ( | ||
github.com/go-sql-driver/mysql v1.4.1 | ||
github.com/honeycombio/libhoney-go v1.10.0 | ||
github.com/prometheus/client_golang v1.0.0 | ||
github.com/go-sql-driver/mysql v1.8.1 | ||
github.com/prometheus/client_golang v1.20.5 | ||
github.com/satori/go.uuid v1.2.0 | ||
github.com/sirupsen/logrus v1.4.2 | ||
github.com/spf13/pflag v1.0.3 | ||
github.com/spf13/viper v1.4.0 | ||
golang.org/x/time v0.0.0-20190308202827-9d24e82272b4 | ||
gopkg.in/natefinch/lumberjack.v2 v2.0.0-20170531160350-a96e63847dc3 | ||
github.com/sirupsen/logrus v1.9.3 | ||
github.com/spf13/pflag v1.0.5 | ||
github.com/spf13/viper v1.19.0 | ||
golang.org/x/time v0.8.0 | ||
gopkg.in/natefinch/lumberjack.v2 v2.2.1 | ||
) | ||
|
||
require ( | ||
github.com/beorn7/perks v1.0.0 // indirect | ||
filippo.io/edwards25519 v1.1.0 // indirect | ||
github.com/beorn7/perks v1.0.1 // indirect | ||
github.com/cenkalti/backoff/v4 v4.3.0 // indirect | ||
github.com/cespare/xxhash/v2 v2.3.0 // indirect | ||
github.com/facebookgo/clock v0.0.0-20150410010913-600d898af40a // indirect | ||
github.com/facebookgo/ensure v0.0.0-20200202191622-63f1cf65ac4c // indirect | ||
github.com/facebookgo/limitgroup v0.0.0-20150612190941-6abd8d71ec01 // indirect | ||
github.com/facebookgo/muster v0.0.0-20150708232844-fd3d7953fd52 // indirect | ||
github.com/facebookgo/stack v0.0.0-20160209184415-751773369052 // indirect | ||
github.com/facebookgo/subset v0.0.0-20200203212716-c811ad88dec4 // indirect | ||
github.com/fsnotify/fsnotify v1.4.7 // indirect | ||
github.com/golang/protobuf v1.3.1 // indirect | ||
github.com/felixge/httpsnoop v1.0.4 // indirect | ||
github.com/fsnotify/fsnotify v1.8.0 // indirect | ||
github.com/go-logr/logr v1.4.2 // indirect | ||
github.com/go-logr/stdr v1.2.2 // indirect | ||
github.com/go-ole/go-ole v1.3.0 // indirect | ||
github.com/google/uuid v1.6.0 // indirect | ||
github.com/grpc-ecosystem/grpc-gateway/v2 v2.20.0 // indirect | ||
github.com/hashicorp/hcl v1.0.0 // indirect | ||
github.com/konsorten/go-windows-terminal-sequences v1.0.2 // indirect | ||
github.com/magiconair/properties v1.8.1 // indirect | ||
github.com/matttproud/golang_protobuf_extensions v1.0.1 // indirect | ||
github.com/mitchellh/mapstructure v1.1.2 // indirect | ||
github.com/pelletier/go-toml v1.4.0 // indirect | ||
github.com/prometheus/client_model v0.0.0-20190129233127-fd36f4220a90 // indirect | ||
github.com/prometheus/common v0.6.0 // indirect | ||
github.com/prometheus/procfs v0.0.2 // indirect | ||
github.com/spf13/afero v1.2.2 // indirect | ||
github.com/spf13/cast v1.3.0 // indirect | ||
github.com/spf13/jwalterweatherman v1.1.0 // indirect | ||
golang.org/x/sys v0.0.0-20220412211240-33da011f77ad // indirect | ||
golang.org/x/text v0.3.2 // indirect | ||
google.golang.org/appengine v1.6.1 // indirect | ||
github.com/honeycombio/otel-config-go v1.17.0 // indirect | ||
github.com/klauspost/compress v1.17.11 // indirect | ||
github.com/lufia/plan9stats v0.0.0-20240513124658-fba389f38bae // indirect | ||
github.com/magiconair/properties v1.8.9 // indirect | ||
github.com/mitchellh/mapstructure v1.5.0 // indirect | ||
github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822 // indirect | ||
github.com/pelletier/go-toml/v2 v2.2.3 // indirect | ||
github.com/power-devops/perfstat v0.0.0-20240221224432-82ca36839d55 // indirect | ||
github.com/prometheus/client_model v0.6.1 // indirect | ||
github.com/prometheus/common v0.61.0 // indirect | ||
github.com/prometheus/procfs v0.15.1 // indirect | ||
github.com/sagikazarmark/locafero v0.6.0 // indirect | ||
github.com/sagikazarmark/slog-shim v0.1.0 // indirect | ||
github.com/sethvargo/go-envconfig v1.1.0 // indirect | ||
github.com/shirou/gopsutil/v4 v4.24.6 // indirect | ||
github.com/shoenig/go-m1cpu v0.1.6 // indirect | ||
github.com/sourcegraph/conc v0.3.0 // indirect | ||
github.com/spf13/afero v1.11.0 // indirect | ||
github.com/spf13/cast v1.7.0 // indirect | ||
github.com/subosito/gotenv v1.6.0 // indirect | ||
github.com/tklauser/go-sysconf v0.3.14 // indirect | ||
github.com/tklauser/numcpus v0.8.0 // indirect | ||
github.com/vmihailenco/msgpack/v5 v5.4.1 // indirect | ||
github.com/vmihailenco/tagparser/v2 v2.0.0 // indirect | ||
github.com/yusufpapurcu/wmi v1.2.4 // indirect | ||
go.opentelemetry.io/contrib/instrumentation/host v0.53.0 // indirect | ||
go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.57.0 // indirect | ||
go.opentelemetry.io/contrib/instrumentation/runtime v0.53.0 // indirect | ||
go.opentelemetry.io/contrib/propagators/b3 v1.28.0 // indirect | ||
go.opentelemetry.io/contrib/propagators/ot v1.28.0 // indirect | ||
go.opentelemetry.io/otel v1.32.0 // indirect | ||
go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetricgrpc v1.28.0 // indirect | ||
go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetrichttp v1.28.0 // indirect | ||
go.opentelemetry.io/otel/exporters/otlp/otlptrace v1.28.0 // indirect | ||
go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc v1.28.0 // indirect | ||
go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp v1.28.0 // indirect | ||
go.opentelemetry.io/otel/exporters/stdout/stdoutlog v0.8.0 // indirect | ||
go.opentelemetry.io/otel/log v0.8.0 // indirect | ||
go.opentelemetry.io/otel/metric v1.32.0 // indirect | ||
go.opentelemetry.io/otel/sdk v1.32.0 // indirect | ||
go.opentelemetry.io/otel/sdk/log v0.8.0 // indirect | ||
go.opentelemetry.io/otel/sdk/metric v1.28.0 // indirect | ||
go.opentelemetry.io/otel/trace v1.32.0 // indirect | ||
go.opentelemetry.io/proto/otlp v1.3.1 // indirect | ||
go.uber.org/multierr v1.11.0 // indirect | ||
golang.org/x/exp v0.0.0-20241204233417-43b7b7cde48d // indirect | ||
golang.org/x/net v0.32.0 // indirect | ||
golang.org/x/sys v0.28.0 // indirect | ||
golang.org/x/text v0.21.0 // indirect | ||
google.golang.org/genproto/googleapis/api v0.0.0-20240701130421-f6361c86f094 // indirect | ||
google.golang.org/genproto/googleapis/rpc v0.0.0-20240701130421-f6361c86f094 // indirect | ||
google.golang.org/grpc v1.65.0 // indirect | ||
google.golang.org/protobuf v1.35.2 // indirect | ||
gopkg.in/alexcesaro/statsd.v2 v2.0.0 // indirect | ||
gopkg.in/yaml.v2 v2.2.2 // indirect | ||
gopkg.in/ini.v1 v1.67.0 // indirect | ||
gopkg.in/yaml.v3 v3.0.1 // indirect | ||
) |
Oops, something went wrong.