From 23da95a00aaf3466ae29639d4fa8e65a212ddccb Mon Sep 17 00:00:00 2001 From: "K.B.Dharun Krishna" Date: Mon, 22 Jan 2024 21:25:10 +0530 Subject: [PATCH] cleanup: update files (#10) Signed-off-by: K.B.Dharun Krishna --- .github/dependabot.yml | 10 ++++++++++ Containerfile.alpine | 13 ------------- core/cache.go | 2 +- core/git.go | 2 +- core/handler_article.go | 2 +- core/handler_articles.go | 2 +- core/handler_langs.go | 2 +- core/handler_repo.go | 2 +- core/handler_search.go | 2 +- core/loader.go | 2 +- core/parser.go | 2 +- core/repo.go | 2 +- core/searchProvider.go | 2 +- main.go | 2 +- structs/article.go | 2 +- structs/articleResponse.go | 2 +- structs/repo.go | 2 +- structs/resultsResponse.go | 2 +- 18 files changed, 26 insertions(+), 29 deletions(-) create mode 100644 .github/dependabot.yml delete mode 100644 Containerfile.alpine diff --git a/.github/dependabot.yml b/.github/dependabot.yml new file mode 100644 index 0000000..768bcda --- /dev/null +++ b/.github/dependabot.yml @@ -0,0 +1,10 @@ +version: 2 +updates: + - package-ecosystem: "github-actions" + directory: "/" + schedule: + interval: "monthly" + - package-ecosystem: "gomod" + directory: "/" + schedule: + interval: "monthly" diff --git a/Containerfile.alpine b/Containerfile.alpine deleted file mode 100644 index e4f724f..0000000 --- a/Containerfile.alpine +++ /dev/null @@ -1,13 +0,0 @@ -FROM alpine:latest -RUN apk update && apk add --no-cache git go - -WORKDIR /app - -RUN wget https://github.com/Vanilla-OS/Chronos/archive/refs/heads/main.zip && \ - unzip main.zip && \ - mv Chronos-main/* . && \ - rm -r Chronos-main main.zip - -RUN go build -o chronos . - -ENTRYPOINT ["./chronos"] diff --git a/core/cache.go b/core/cache.go index d9b0fce..86aa051 100644 --- a/core/cache.go +++ b/core/cache.go @@ -4,7 +4,7 @@ package core Authors: Mirko Brombin Vanilla OS Contributors - Copyright: 2023 + Copyright: 2024 Description: Chronos is a simple, fast and lightweight documentation server written in Go. */ diff --git a/core/git.go b/core/git.go index 438f6e1..4f6c828 100644 --- a/core/git.go +++ b/core/git.go @@ -4,7 +4,7 @@ package core Authors: Mirko Brombin Vanilla OS Contributors - Copyright: 2023 + Copyright: 2024 Description: Chronos is a simple, fast and lightweight documentation server written in Go. */ diff --git a/core/handler_article.go b/core/handler_article.go index f7fe6d5..6fa49ed 100644 --- a/core/handler_article.go +++ b/core/handler_article.go @@ -4,7 +4,7 @@ package core Authors: Mirko Brombin Vanilla OS Contributors - Copyright: 2023 + Copyright: 2024 Description: Chronos is a simple, fast and lightweight documentation server written in Go. */ diff --git a/core/handler_articles.go b/core/handler_articles.go index 6e3506b..024d35b 100644 --- a/core/handler_articles.go +++ b/core/handler_articles.go @@ -4,7 +4,7 @@ package core Authors: Mirko Brombin Vanilla OS Contributors - Copyright: 2023 + Copyright: 2024 Description: Chronos is a simple, fast and lightweight documentation server written in Go. */ diff --git a/core/handler_langs.go b/core/handler_langs.go index 1df0850..e1d4e35 100644 --- a/core/handler_langs.go +++ b/core/handler_langs.go @@ -4,7 +4,7 @@ package core Authors: Mirko Brombin Vanilla OS Contributors - Copyright: 2023 + Copyright: 2024 Description: Chronos is a simple, fast and lightweight documentation server written in Go. */ diff --git a/core/handler_repo.go b/core/handler_repo.go index b936006..59557c7 100644 --- a/core/handler_repo.go +++ b/core/handler_repo.go @@ -4,7 +4,7 @@ package core Authors: Mirko Brombin Vanilla OS Contributors - Copyright: 2023 + Copyright: 2024 Description: Chronos is a simple, fast and lightweight documentation server written in Go. */ diff --git a/core/handler_search.go b/core/handler_search.go index d3db510..80f8342 100644 --- a/core/handler_search.go +++ b/core/handler_search.go @@ -4,7 +4,7 @@ package core Authors: Mirko Brombin Vanilla OS Contributors - Copyright: 2023 + Copyright: 2024 Description: Chronos is a simple, fast and lightweight documentation server written in Go. */ diff --git a/core/loader.go b/core/loader.go index cf27fda..63d0c3a 100644 --- a/core/loader.go +++ b/core/loader.go @@ -4,7 +4,7 @@ package core Authors: Mirko Brombin Vanilla OS Contributors - Copyright: 2023 + Copyright: 2024 Description: Chronos is a simple, fast and lightweight documentation server written in Go. */ diff --git a/core/parser.go b/core/parser.go index 82e6dff..3d04971 100644 --- a/core/parser.go +++ b/core/parser.go @@ -4,7 +4,7 @@ package core Authors: Mirko Brombin Vanilla OS Contributors - Copyright: 2023 + Copyright: 2024 Description: Chronos is a simple, fast and lightweight documentation server written in Go. */ diff --git a/core/repo.go b/core/repo.go index 1eadbb6..b8f4bcb 100644 --- a/core/repo.go +++ b/core/repo.go @@ -4,7 +4,7 @@ package core Authors: Mirko Brombin Vanilla OS Contributors - Copyright: 2023 + Copyright: 2024 Description: Chronos is a simple, fast and lightweight documentation server written in Go. */ diff --git a/core/searchProvider.go b/core/searchProvider.go index ba32332..1acf7bf 100644 --- a/core/searchProvider.go +++ b/core/searchProvider.go @@ -4,7 +4,7 @@ package core Authors: Mirko Brombin Vanilla OS Contributors - Copyright: 2023 + Copyright: 2024 Description: Chronos is a simple, fast and lightweight documentation server written in Go. */ diff --git a/main.go b/main.go index a65423f..845ead0 100644 --- a/main.go +++ b/main.go @@ -4,7 +4,7 @@ package main Authors: Mirko Brombin Vanilla OS Contributors - Copyright: 2023 + Copyright: 2024 Description: Chronos is a simple, fast and lightweight documentation server written in Go. */ diff --git a/structs/article.go b/structs/article.go index e38c787..19365d0 100644 --- a/structs/article.go +++ b/structs/article.go @@ -4,7 +4,7 @@ package structs Authors: Mirko Brombin Vanilla OS Contributors - Copyright: 2023 + Copyright: 2024 Description: Chronos is a simple, fast and lightweight documentation server written in Go. */ diff --git a/structs/articleResponse.go b/structs/articleResponse.go index 7303e0b..1cf91ab 100644 --- a/structs/articleResponse.go +++ b/structs/articleResponse.go @@ -4,7 +4,7 @@ package structs Authors: Mirko Brombin Vanilla OS Contributors - Copyright: 2023 + Copyright: 2024 Description: Chronos is a simple, fast and lightweight documentation server written in Go. */ diff --git a/structs/repo.go b/structs/repo.go index a32bb81..98069d9 100644 --- a/structs/repo.go +++ b/structs/repo.go @@ -4,7 +4,7 @@ package structs Authors: Mirko Brombin Vanilla OS Contributors - Copyright: 2023 + Copyright: 2024 Description: Chronos is a simple, fast and lightweight documentation server written in Go. */ diff --git a/structs/resultsResponse.go b/structs/resultsResponse.go index 89b2da9..7fb98f9 100644 --- a/structs/resultsResponse.go +++ b/structs/resultsResponse.go @@ -4,7 +4,7 @@ package structs Authors: Mirko Brombin Vanilla OS Contributors - Copyright: 2023 + Copyright: 2024 Description: Chronos is a simple, fast and lightweight documentation server written in Go. */