From a1bb88fffd13f198169f13624dd703c8653489e4 Mon Sep 17 00:00:00 2001 From: ngn Date: Wed, 17 Jan 2024 20:15:46 +0300 Subject: [PATCH] Fixing naming --- README.md | 6 +++--- compose.yml | 2 +- main.go | 4 ++-- templates/index.html | 4 ++-- templates/parts/bar.html | 7 +++---- 5 files changed, 11 insertions(+), 12 deletions(-) diff --git a/README.md b/README.md index cc073a5..694b85c 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ -# tracker | MatterLinux Repo Tracker -Soruce code of MatterLinux's repo tracker, located at -hosted at [tracker.matterlinux.xyz](https://tracker.matterlinux.xyz) +# tracker | MatterLinux Package Tracker +Soruce code of MatterLinux's package tracker, located at +[tracker.matterlinux.xyz](https://tracker.matterlinux.xyz) ### Configuration Tracker can be configured to track different repos. Configuration diff --git a/compose.yml b/compose.yml index a87071c..7bf3750 100644 --- a/compose.yml +++ b/compose.yml @@ -7,4 +7,4 @@ services: ports: - "127.0.0.1:9877:9877" volumes: - - "./repolist:/app/repolist" + - "./cfg.json:/app/cfg.json" diff --git a/main.go b/main.go index f4a614c..f7d2ef8 100644 --- a/main.go +++ b/main.go @@ -1,6 +1,6 @@ /* - * tracker | MatterLinux Repo Tracker + * tracker | MatterLinux Package Tracker * Copyright (C) 2024 Matterlinux * This program is free software: you can redistribute it and/or modify @@ -110,7 +110,7 @@ func main(){ }) go UpdateLoop() - log.Info("Starting MatterLinux Tracker on port 9877") + log.Info("Starting MatterLinux Package Tracker on port 9877") err := app.Listen(":9877") if err != nil { log.Errorf("Error starting server: %s", err) diff --git a/templates/index.html b/templates/index.html index 5c18581..a346791 100644 --- a/templates/index.html +++ b/templates/index.html @@ -1,7 +1,7 @@ - MatterLinux | Tracker + MatterLinux | Packages @@ -24,7 +24,7 @@
-

Listing total of {{len .pkgs}} packages

+

Listing {{len .pkgs}} packages

Last updated: {{.last}}

diff --git a/templates/parts/bar.html b/templates/parts/bar.html index 5725993..c4c89e5 100644 --- a/templates/parts/bar.html +++ b/templates/parts/bar.html @@ -1,12 +1,11 @@

MatterLinux

-

Tracker