Skip to content

Commit 94c59f5

Browse files
author
Vladimir Smirnov
committed
Refactor various aspects of bot
* Add basic validation for a new repo creation (that it matches required regex's and that it exists and accessible to bot) * Significantly improve logging * Add admin-only feature to trigger force update for specified repo * Update all bundled libs to their newest version
1 parent 2dde7af commit 94c59f5

164 files changed

Lines changed: 33843 additions & 16055 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

Gopkg.lock

Lines changed: 0 additions & 181 deletions
This file was deleted.

Gopkg.toml

Lines changed: 0 additions & 54 deletions
This file was deleted.

configs/configs.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ type Configuration struct {
6969

7070
var Config = Configuration{
7171
AdminUsername: "REPLACE_ME",
72-
Listen: ":8080",
72+
Listen: "127.0.0.1:8080",
7373
Logger: []zapwriter.Config{DefaultLoggerConfig},
7474
DatabaseType: "sqlite3",
7575
DatabaseURL: "./github2telegram.DB",

0 commit comments

Comments
 (0)