chore: list distribution releases by release date

Old releases should be popped from the left/top and new releases should be added to the right/bottom of any distro release list.
This commit is contained in:
jo 2022-09-09 20:45:59 +02:00 committed by Kyle Robbertze
parent 5eda6093f4
commit 7d514a9306
14 changed files with 58 additions and 58 deletions

View File

@ -51,8 +51,8 @@ jobs:
fail-fast: false fail-fast: false
matrix: matrix:
release: release:
- bullseye
- focal - focal
- bullseye
- jammy - jammy
container: container:

View File

@ -30,8 +30,8 @@ jobs:
fail-fast: false fail-fast: false
matrix: matrix:
release: release:
- bullseye
- focal - focal
- bullseye
- jammy - jammy
services: services:

View File

@ -17,10 +17,10 @@ jobs:
include: include:
- distribution: ubuntu - distribution: ubuntu
release: focal release: focal
- distribution: ubuntu
release: jammy
- distribution: debian - distribution: debian
release: bullseye release: bullseye
- distribution: ubuntu
release: jammy
- distribution: debian - distribution: debian
release: bookworm release: bookworm

View File

@ -26,7 +26,7 @@ jobs:
fail-fast: false fail-fast: false
matrix: matrix:
include: include:
- php-version: "7.4" # Bullseye, Focal - php-version: "7.4" # Focal, Bullseye
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v3
@ -44,7 +44,7 @@ jobs:
fail-fast: false fail-fast: false
matrix: matrix:
include: include:
- php-version: "7.4" # Bullseye, Focal - php-version: "7.4" # Focal, Bullseye
env: env:
ENVIRONMENT: testing ENVIRONMENT: testing

View File

@ -1,17 +1,17 @@
# This file contains a list of package dependencies. # This file contains a list of package dependencies.
[python] [python]
python3 = bullseye, bookworm, focal, jammy python3 = focal, bullseye, jammy, bookworm
python3-pip = bullseye, bookworm, focal, jammy python3-pip = focal, bullseye, jammy, bookworm
python3-pika = bullseye, bookworm, focal, jammy python3-pika = focal, bullseye, jammy, bookworm
[liquidsoap] [liquidsoap]
# https://github.com/savonet/liquidsoap/blob/main/CHANGES.md # https://github.com/savonet/liquidsoap/blob/main/CHANGES.md
liquidsoap = bullseye, bookworm, focal, jammy liquidsoap = focal, bullseye, jammy, bookworm
[ffmpeg] [ffmpeg]
# Detect duration, silences and replaygain # Detect duration, silences and replaygain
ffmpeg = bullseye, bookworm, focal, jammy ffmpeg = focal, bullseye, jammy, bookworm
[=development] [=development]
# Generate fixtures # Generate fixtures
ffmpeg = bullseye, bookworm, focal, jammy ffmpeg = focal, bullseye, jammy, bookworm

View File

@ -33,8 +33,8 @@ def test_analyze_playability_invalid_filepath():
def test_analyze_playability_invalid_wma(): def test_analyze_playability_invalid_wma():
# Liquisoap does not fail with wma files on bullseye, focal, jammy # Liquisoap does not fail with wma files on focal, bullseye, jammy
if distro.codename() in ("bullseye", "focal", "jammy"): if distro.codename() in ("focal", "bullseye", "jammy"):
return return
with pytest.raises(UnplayableFileError): with pytest.raises(UnplayableFileError):

View File

@ -1,15 +1,15 @@
# This file contains a list of package dependencies. # This file contains a list of package dependencies.
[python] [python]
python3 = bullseye, focal python3 = focal, bullseye
python3-pip = bullseye, focal python3-pip = focal, bullseye
gunicorn = bullseye, focal gunicorn = focal, bullseye
python3-gunicorn = bullseye, focal python3-gunicorn = focal, bullseye
python3-uvicorn = bullseye, focal python3-uvicorn = focal, bullseye
python3-httptools = bullseye, focal python3-httptools = focal, bullseye
python3-uvloop = bullseye, focal python3-uvloop = focal, bullseye
[psycopg2] [psycopg2]
# See https://www.psycopg.org/docs/install.html#install-from-source # See https://www.psycopg.org/docs/install.html#install-from-source
build-essential = bullseye, focal build-essential = focal, bullseye
python3-dev = bullseye, focal python3-dev = focal, bullseye
libpq-dev = bullseye, focal libpq-dev = focal, bullseye

View File

@ -104,8 +104,8 @@ offers the option to choose a different operation system according to you needs.
| OS | Command | Comment | | OS | Command | Comment |
| ------------ | --------------------- | ------------------------------ | | ------------ | --------------------- | ------------------------------ |
| Debian 11 | `vagrant up bullseye` | Install on Debian Bullseye. |
| Ubuntu 20.04 | `vagrant up focal` | Install on Ubuntu Focal Fossa. | | Ubuntu 20.04 | `vagrant up focal` | Install on Ubuntu Focal Fossa. |
| Debian 11 | `vagrant up bullseye` | Install on Debian Bullseye. |
### Troubleshooting ### Troubleshooting

View File

@ -305,8 +305,8 @@ check_distribution() {
# shellcheck disable=SC2034 # shellcheck disable=SC2034
case "$ID-$VERSION_ID" in case "$ID-$VERSION_ID" in
debian-11) is_debian=true && distro="bullseye" ;;
ubuntu-20.04) is_ubuntu=true && distro="focal" ;; ubuntu-20.04) is_ubuntu=true && distro="focal" ;;
debian-11) is_debian=true && distro="bullseye" ;;
*) *)
error << "EOF" error << "EOF"
could not determine supported distribution "$ID-$VERSION_ID"! could not determine supported distribution "$ID-$VERSION_ID"!

View File

@ -2,31 +2,31 @@
[common] [common]
# The php-pear package depends on php-(cli|common|xml), be sure to # The php-pear package depends on php-(cli|common|xml), be sure to
# install the dependencies with the right php version. # install the dependencies with the right php version.
php-pear = bullseye, focal php-pear = focal, bullseye
php-amqplib = bullseye, focal php-amqplib = focal, bullseye
[locale] [locale]
gettext = bullseye, focal gettext = focal, bullseye
# [apache] # [apache]
# apache2 = bullseye, focal # apache2 = focal, bullseye
# libapache2-mod-php7.4 = bullseye, focal # libapache2-mod-php7.4 = focal, bullseye
[php-fpm] [php-fpm]
php7.4-fpm = bullseye, focal php7.4-fpm = focal, bullseye
# Bullseye, Focal # Focal, Bullseye
[php7.4] [php7.4]
php7.4 = bullseye, focal php7.4 = focal, bullseye
php7.4-apcu = bullseye, focal php7.4-apcu = focal, bullseye
php7.4-apcu-bc = bullseye, focal php7.4-apcu-bc = focal, bullseye
php7.4-bcmath = bullseye, focal php7.4-bcmath = focal, bullseye
php7.4-cli = bullseye, focal php7.4-cli = focal, bullseye
php7.4-common = bullseye, focal php7.4-common = focal, bullseye
php7.4-curl = bullseye, focal php7.4-curl = focal, bullseye
php7.4-dev = bullseye, focal php7.4-dev = focal, bullseye
php7.4-gd = bullseye, focal php7.4-gd = focal, bullseye
php7.4-mbstring = bullseye, focal php7.4-mbstring = focal, bullseye
php7.4-pgsql = bullseye, focal php7.4-pgsql = focal, bullseye
php7.4-xml = bullseye, focal php7.4-xml = focal, bullseye
php7.4-yaml = bullseye, focal php7.4-yaml = focal, bullseye

View File

@ -1,17 +1,17 @@
# This file contains a list of package dependencies. # This file contains a list of package dependencies.
[python] [python]
python3 = bullseye, bookworm, focal, jammy python3 = focal, bullseye, jammy, bookworm
python3-pip = bullseye, bookworm, focal, jammy python3-pip = focal, bullseye, jammy, bookworm
python3-lxml = bullseye, bookworm, focal, jammy python3-lxml = focal, bullseye, jammy, bookworm
[liquidsoap] [liquidsoap]
# https://github.com/savonet/liquidsoap/blob/main/CHANGES.md # https://github.com/savonet/liquidsoap/blob/main/CHANGES.md
liquidsoap = bullseye, bookworm, focal, jammy liquidsoap = focal, bullseye, jammy, bookworm
[recorder] [recorder]
ecasound = bullseye, bookworm, focal, jammy ecasound = focal, bullseye, jammy, bookworm
[misc] [misc]
# Used by pypofetch to check if a file is open. # Used by pypofetch to check if a file is open.
# TODO: consider using a python library # TODO: consider using a python library
lsof = bullseye, bookworm, focal, jammy lsof = focal, bullseye, jammy, bookworm

View File

@ -1,3 +1,3 @@
# This file contains a list of package dependencies. # This file contains a list of package dependencies.
[tzdata] [tzdata]
tzdata = bullseye, bookworm, focal, jammy tzdata = focal, bullseye, jammy, bookworm

View File

@ -8,7 +8,7 @@ from typing import Iterator, List, Optional, Set
DEFAULT_PACKAGES_FILENAME = "packages.ini" DEFAULT_PACKAGES_FILENAME = "packages.ini"
FORMATS = ("list", "line") FORMATS = ("list", "line")
DISTRIBUTIONS = ("bullseye", "bookworm", "focal", "jammy") DISTRIBUTIONS = ("focal", "bullseye", "jammy", "bookworm")
SETTINGS_SECTION = "=settings" SETTINGS_SECTION = "=settings"
DEVELOPMENT_SECTION = "=development" DEVELOPMENT_SECTION = "=development"

View File

@ -4,15 +4,15 @@ from tools.packages import list_packages, load_packages
PACKAGE_INI = """ PACKAGE_INI = """
[common] [common]
postgresql = jammy, focal postgresql = focal, jammy
# Some comment # Some comment
curl = jammy, bullseye curl = bullseye, jammy
[legacy] [legacy]
some-package = bullseye, focal some-package = focal, bullseye
[=development] [=development]
ffmpeg = jammy, bullseye, focal ffmpeg = focal, bullseye, jammy
""" """
result_jammy = {"curl", "postgresql"} result_jammy = {"curl", "postgresql"}