2025-01-28 10:24:13 +03:00
2024-11-22 16:56:02 +03:00
2024-11-22 16:56:02 +03:00
2025-01-28 07:08:37 +03:00

tracker | MatterLinux package tracker

Soruce code of MatterLinux's package tracker, located at tracker.matterlinux.xyz

Configuration

Tracker can be configured to track different repos. Configuration is stored in the config.json file. Here is the configuration for tracking official MatterLinux 24 repos:

{
  "interval": 5,
  "pools": [
    {
      "display": "base (stable)",
      "name": "base",
      "dir": "/srv/pools/base",
      "branch": "main",
      "source": "https://git.matterlinux.xyz/Matter/base",
      "url": "mptp://stable.matterlinux.xyz/base"
    },
    {
      "display": "desktop (stable)",
      "name": "desktop",
      "dir": "/srv/pools/desktop",
      "branch": "main",
      "source": "https://git.matterlinux.xyz/Matter/desktop",
      "url": "mptp://stable.matterlinux.xyz/desktop"
    },
    {
      "display": "server (stable)",
      "name": "server",
      "dir": "/srv/pools/server",
      "branch": "main",
      "source": "https://git.matterlinux.xyz/Matter/server",
      "url": "mptp://stable.matterlinux.xyz/server"
    }
  ]
}

Deployment

Web server can be deployed with docker compose using the following configuration file:

services:
  tracker:
    container_name: mattertracker
    image: git.matterlinux.xyz/matter/tracker
    ports:
    - "127.0.0.1:9877:9877"
    volumes:
    - "./config.json:/app/config.json:ro"
    restart: unless-stopped

After saving the configuration file, you can run the docker container:

docker-compose up -d
Description
MatterLinux package tracker
Readme 425 KiB
Languages
Go 60.5%
HTML 19.9%
CSS 17.4%
Dockerfile 1.6%
Makefile 0.6%