fix(garden-repo-manager): Adjust Garden Linux repository url
Adjust Garden Linux repository url
Change
Adjust Garden Linux repository url and parse version as suite to match the Garden Linux repository.
Tests
Garden Linux
Default
# garden-repo-manager add gardenlinux && apt-get update
Hit:1 https://repo.gardenlinux.io/gardenlinux today InRelease
Reading package lists... Done
Garden Linux with timestamp/version
# garden-repo-manager add gardenlinux -t 980.0 && apt-get update
Hit:1 https://repo.gardenlinux.io/gardenlinux 980.0 InRelease
Reading package lists... Done
Garden Linux with timestamp/version as 'today'
# garden-repo-manager add gardenlinux -t today && apt-get update
Get:1 https://repo.gardenlinux.io/gardenlinux today InRelease [6192 B]
Get:2 https://repo.gardenlinux.io/gardenlinux today/main amd64 Packages [321 kB]
Get:3 https://repo.gardenlinux.io/gardenlinux today/main all Packages [74.3 kB]
Debian
Debian default
# garden-repo-manager add debian testing -c main contrib && apt-get update
Get:1 https://deb.debian.org/debian testing InRelease [164 kB]
Get:2 https://deb.debian.org/debian testing/main amd64 Packages [8789 kB]
Get:3 https://deb.debian.org/debian testing/main Translation-en [5937 kB]
Get:4 https://deb.debian.org/debian testing/contrib amd64 Packages [53.8 kB]
Get:5 https://deb.debian.org/debian testing/contrib Translation-en [47.2 kB]
Fetched 15.0 MB in 3s (4894 kB/s)
Reading package lists... Done
Debian with timestamp '20221208'
# garden-repo-manager add debian testing -c main contrib -t 20221208 && apt-get update
Get:1 https://snapshot.debian.org/archive/debian/20221208 testing InRelease [164 kB]
Get:2 https://snapshot.debian.org/archive/debian/20221208 testing/main amd64 Packages [8790 kB]
Get:3 https://snapshot.debian.org/archive/debian/20221208 testing/main Translation-en [5935 kB]
Get:4 https://snapshot.debian.org/archive/debian/20221208 testing/contrib amd64 Packages [53.8 kB]
Get:5 https://snapshot.debian.org/archive/debian/20221208 testing/contrib Translation-en [47.2 kB]
Fetched 15.0 MB in 4s (4152 kB/s)
Reading package lists... Done