MatterLinux package tracker
Go to file
2024-08-13 03:01:00 +03:00
lib update: make things work with the new package system 2024-08-13 03:01:00 +03:00
log update: make things work with the new package system 2024-08-13 03:01:00 +03:00
public update: change style and color for the table 2024-03-21 20:30:35 +03:00
routes update: make things work with the new package system 2024-08-13 03:01:00 +03:00
templates update: make things work with the new package system 2024-08-13 03:01:00 +03:00
.gitignore update: make things work with the new package system 2024-08-13 03:01:00 +03:00
Dockerfile update: depends and go version 2024-08-10 00:51:42 +03:00
go.mod update: depends and go version 2024-08-10 00:51:42 +03:00
go.sum update: depends and go version 2024-08-10 00:51:42 +03:00
LICENSE.txt update: Move to go-configparser from go-ini for multiline support 2024-02-23 21:31:38 +03:00
main.go update: make things work with the new package system 2024-08-13 03:01:00 +03:00
Makefile update: make things work with the new package system 2024-08-13 03:01:00 +03:00
README.md update: make things work with the new package system 2024-08-13 03:01:00 +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:

{
  "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 built and deployed with docker compose using the following configuration file:

version: "3"

services:
  tracker:
    image: mattertracker
    restart: unless-stopped
    build:
      context: ./
    ports:
      - "127.0.0.1:9877:9877"
    volumes:
      - "./config.json:/app/config.json:ro"

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

docker-compose up -d