diff --git a/internal/api/api.go b/internal/api/api.go index ef37d27..8253e01 100644 --- a/internal/api/api.go +++ b/internal/api/api.go @@ -36,7 +36,7 @@ type resourceIndex struct { func GetApp() *cli.App { return &cli.App{ Name: "tdsh-api", - Version: "0.1.0", + Version: "0.2.0", Usage: "Trandoshan API process", Flags: []cli.Flag{ log.GetLogFlag(), diff --git a/internal/crawler/crawler.go b/internal/crawler/crawler.go index c9767b7..c884e45 100644 --- a/internal/crawler/crawler.go +++ b/internal/crawler/crawler.go @@ -21,7 +21,7 @@ const defaultUserAgent = "Mozilla/5.0 (Windows NT 10.0; rv:68.0) Gecko/20100101 func GetApp() *cli.App { return &cli.App{ Name: "tdsh-crawler", - Version: "0.1.0", + Version: "0.2.0", Usage: "Trandoshan crawler process", Flags: []cli.Flag{ log.GetLogFlag(), diff --git a/internal/feeder/feeder.go b/internal/feeder/feeder.go index b893a82..7ad985b 100644 --- a/internal/feeder/feeder.go +++ b/internal/feeder/feeder.go @@ -12,7 +12,7 @@ import ( func GetApp() *cli.App { return &cli.App{ Name: "tdsh-feeder", - Version: "0.1.0", + Version: "0.2.0", Usage: "Trandoshan feeder process", Flags: []cli.Flag{ log.GetLogFlag(), diff --git a/internal/persister/persister.go b/internal/persister/persister.go index 3bf2614..876d2ef 100644 --- a/internal/persister/persister.go +++ b/internal/persister/persister.go @@ -15,7 +15,7 @@ import ( func GetApp() *cli.App { return &cli.App{ Name: "tdsh-persister", - Version: "0.1.0", + Version: "0.2.0", Usage: "Trandoshan persister process", Flags: []cli.Flag{ log.GetLogFlag(), diff --git a/internal/scheduler/scheduler.go b/internal/scheduler/scheduler.go index 4ccfbf8..9e7de54 100644 --- a/internal/scheduler/scheduler.go +++ b/internal/scheduler/scheduler.go @@ -19,7 +19,7 @@ import ( func GetApp() *cli.App { return &cli.App{ Name: "tdsh-scheduler", - Version: "0.1.0", + Version: "0.2.0", Usage: "Trandoshan scheduler process", Flags: []cli.Flag{ log.GetLogFlag(), diff --git a/snapcraft.yaml b/snapcraft.yaml new file mode 100644 index 0000000..ff4c230 --- /dev/null +++ b/snapcraft.yaml @@ -0,0 +1,38 @@ +name: trandoshan +version: git +summary: Distributed dark web crawler. +description: | + Fast, highly configurable, distributed dark web crawler designed to run on the cloud. +confinement: strict +license: GPL-3.0 +grade: stable +base: core18 +parts: + trandoshan: + plugin: go + go-importpath: github.com/creekorful/trandoshan + source: . + source-type: git + build-packages: + - gcc +apps: + api: + command: bin/tdsh-api + plugs: + - network + crawler: + command: bin/tdsh-crawler + plugs: + - network + feeder: + command: bin/tdsh-feeder + plugs: + - network + persister: + command: bin/tdsh-persister + plugs: + - network + scheduler: + command: bin/tdsh-scheduler + plugs: + - network