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:
parent
5eda6093f4
commit
7d514a9306
|
@ -51,8 +51,8 @@ jobs:
|
|||
fail-fast: false
|
||||
matrix:
|
||||
release:
|
||||
- bullseye
|
||||
- focal
|
||||
- bullseye
|
||||
- jammy
|
||||
|
||||
container:
|
||||
|
|
|
@ -30,8 +30,8 @@ jobs:
|
|||
fail-fast: false
|
||||
matrix:
|
||||
release:
|
||||
- bullseye
|
||||
- focal
|
||||
- bullseye
|
||||
- jammy
|
||||
|
||||
services:
|
||||
|
|
|
@ -17,10 +17,10 @@ jobs:
|
|||
include:
|
||||
- distribution: ubuntu
|
||||
release: focal
|
||||
- distribution: ubuntu
|
||||
release: jammy
|
||||
- distribution: debian
|
||||
release: bullseye
|
||||
- distribution: ubuntu
|
||||
release: jammy
|
||||
- distribution: debian
|
||||
release: bookworm
|
||||
|
||||
|
|
|
@ -26,7 +26,7 @@ jobs:
|
|||
fail-fast: false
|
||||
matrix:
|
||||
include:
|
||||
- php-version: "7.4" # Bullseye, Focal
|
||||
- php-version: "7.4" # Focal, Bullseye
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
|
@ -44,7 +44,7 @@ jobs:
|
|||
fail-fast: false
|
||||
matrix:
|
||||
include:
|
||||
- php-version: "7.4" # Bullseye, Focal
|
||||
- php-version: "7.4" # Focal, Bullseye
|
||||
|
||||
env:
|
||||
ENVIRONMENT: testing
|
||||
|
|
|
@ -1,17 +1,17 @@
|
|||
# This file contains a list of package dependencies.
|
||||
[python]
|
||||
python3 = bullseye, bookworm, focal, jammy
|
||||
python3-pip = bullseye, bookworm, focal, jammy
|
||||
python3-pika = bullseye, bookworm, focal, jammy
|
||||
python3 = focal, bullseye, jammy, bookworm
|
||||
python3-pip = focal, bullseye, jammy, bookworm
|
||||
python3-pika = focal, bullseye, jammy, bookworm
|
||||
|
||||
[liquidsoap]
|
||||
# https://github.com/savonet/liquidsoap/blob/main/CHANGES.md
|
||||
liquidsoap = bullseye, bookworm, focal, jammy
|
||||
liquidsoap = focal, bullseye, jammy, bookworm
|
||||
|
||||
[ffmpeg]
|
||||
# Detect duration, silences and replaygain
|
||||
ffmpeg = bullseye, bookworm, focal, jammy
|
||||
ffmpeg = focal, bullseye, jammy, bookworm
|
||||
|
||||
[=development]
|
||||
# Generate fixtures
|
||||
ffmpeg = bullseye, bookworm, focal, jammy
|
||||
ffmpeg = focal, bullseye, jammy, bookworm
|
||||
|
|
|
@ -33,8 +33,8 @@ def test_analyze_playability_invalid_filepath():
|
|||
|
||||
|
||||
def test_analyze_playability_invalid_wma():
|
||||
# Liquisoap does not fail with wma files on bullseye, focal, jammy
|
||||
if distro.codename() in ("bullseye", "focal", "jammy"):
|
||||
# Liquisoap does not fail with wma files on focal, bullseye, jammy
|
||||
if distro.codename() in ("focal", "bullseye", "jammy"):
|
||||
return
|
||||
|
||||
with pytest.raises(UnplayableFileError):
|
||||
|
|
|
@ -1,15 +1,15 @@
|
|||
# This file contains a list of package dependencies.
|
||||
[python]
|
||||
python3 = bullseye, focal
|
||||
python3-pip = bullseye, focal
|
||||
gunicorn = bullseye, focal
|
||||
python3-gunicorn = bullseye, focal
|
||||
python3-uvicorn = bullseye, focal
|
||||
python3-httptools = bullseye, focal
|
||||
python3-uvloop = bullseye, focal
|
||||
python3 = focal, bullseye
|
||||
python3-pip = focal, bullseye
|
||||
gunicorn = focal, bullseye
|
||||
python3-gunicorn = focal, bullseye
|
||||
python3-uvicorn = focal, bullseye
|
||||
python3-httptools = focal, bullseye
|
||||
python3-uvloop = focal, bullseye
|
||||
|
||||
[psycopg2]
|
||||
# See https://www.psycopg.org/docs/install.html#install-from-source
|
||||
build-essential = bullseye, focal
|
||||
python3-dev = bullseye, focal
|
||||
libpq-dev = bullseye, focal
|
||||
build-essential = focal, bullseye
|
||||
python3-dev = focal, bullseye
|
||||
libpq-dev = focal, bullseye
|
||||
|
|
|
@ -104,8 +104,8 @@ offers the option to choose a different operation system according to you needs.
|
|||
|
||||
| OS | Command | Comment |
|
||||
| ------------ | --------------------- | ------------------------------ |
|
||||
| Debian 11 | `vagrant up bullseye` | Install on Debian Bullseye. |
|
||||
| Ubuntu 20.04 | `vagrant up focal` | Install on Ubuntu Focal Fossa. |
|
||||
| Debian 11 | `vagrant up bullseye` | Install on Debian Bullseye. |
|
||||
|
||||
### Troubleshooting
|
||||
|
||||
|
|
2
install
2
install
|
@ -305,8 +305,8 @@ check_distribution() {
|
|||
|
||||
# shellcheck disable=SC2034
|
||||
case "$ID-$VERSION_ID" in
|
||||
debian-11) is_debian=true && distro="bullseye" ;;
|
||||
ubuntu-20.04) is_ubuntu=true && distro="focal" ;;
|
||||
debian-11) is_debian=true && distro="bullseye" ;;
|
||||
*)
|
||||
error << "EOF"
|
||||
could not determine supported distribution "$ID-$VERSION_ID"!
|
||||
|
|
|
@ -2,31 +2,31 @@
|
|||
[common]
|
||||
# The php-pear package depends on php-(cli|common|xml), be sure to
|
||||
# install the dependencies with the right php version.
|
||||
php-pear = bullseye, focal
|
||||
php-amqplib = bullseye, focal
|
||||
php-pear = focal, bullseye
|
||||
php-amqplib = focal, bullseye
|
||||
|
||||
[locale]
|
||||
gettext = bullseye, focal
|
||||
gettext = focal, bullseye
|
||||
|
||||
# [apache]
|
||||
# apache2 = bullseye, focal
|
||||
# libapache2-mod-php7.4 = bullseye, focal
|
||||
# apache2 = focal, bullseye
|
||||
# libapache2-mod-php7.4 = focal, bullseye
|
||||
|
||||
[php-fpm]
|
||||
php7.4-fpm = bullseye, focal
|
||||
php7.4-fpm = focal, bullseye
|
||||
|
||||
# Bullseye, Focal
|
||||
# Focal, Bullseye
|
||||
[php7.4]
|
||||
php7.4 = bullseye, focal
|
||||
php7.4-apcu = bullseye, focal
|
||||
php7.4-apcu-bc = bullseye, focal
|
||||
php7.4-bcmath = bullseye, focal
|
||||
php7.4-cli = bullseye, focal
|
||||
php7.4-common = bullseye, focal
|
||||
php7.4-curl = bullseye, focal
|
||||
php7.4-dev = bullseye, focal
|
||||
php7.4-gd = bullseye, focal
|
||||
php7.4-mbstring = bullseye, focal
|
||||
php7.4-pgsql = bullseye, focal
|
||||
php7.4-xml = bullseye, focal
|
||||
php7.4-yaml = bullseye, focal
|
||||
php7.4 = focal, bullseye
|
||||
php7.4-apcu = focal, bullseye
|
||||
php7.4-apcu-bc = focal, bullseye
|
||||
php7.4-bcmath = focal, bullseye
|
||||
php7.4-cli = focal, bullseye
|
||||
php7.4-common = focal, bullseye
|
||||
php7.4-curl = focal, bullseye
|
||||
php7.4-dev = focal, bullseye
|
||||
php7.4-gd = focal, bullseye
|
||||
php7.4-mbstring = focal, bullseye
|
||||
php7.4-pgsql = focal, bullseye
|
||||
php7.4-xml = focal, bullseye
|
||||
php7.4-yaml = focal, bullseye
|
||||
|
|
|
@ -1,17 +1,17 @@
|
|||
# This file contains a list of package dependencies.
|
||||
[python]
|
||||
python3 = bullseye, bookworm, focal, jammy
|
||||
python3-pip = bullseye, bookworm, focal, jammy
|
||||
python3-lxml = bullseye, bookworm, focal, jammy
|
||||
python3 = focal, bullseye, jammy, bookworm
|
||||
python3-pip = focal, bullseye, jammy, bookworm
|
||||
python3-lxml = focal, bullseye, jammy, bookworm
|
||||
|
||||
[liquidsoap]
|
||||
# https://github.com/savonet/liquidsoap/blob/main/CHANGES.md
|
||||
liquidsoap = bullseye, bookworm, focal, jammy
|
||||
liquidsoap = focal, bullseye, jammy, bookworm
|
||||
|
||||
[recorder]
|
||||
ecasound = bullseye, bookworm, focal, jammy
|
||||
ecasound = focal, bullseye, jammy, bookworm
|
||||
|
||||
[misc]
|
||||
# Used by pypofetch to check if a file is open.
|
||||
# TODO: consider using a python library
|
||||
lsof = bullseye, bookworm, focal, jammy
|
||||
lsof = focal, bullseye, jammy, bookworm
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
# This file contains a list of package dependencies.
|
||||
[tzdata]
|
||||
tzdata = bullseye, bookworm, focal, jammy
|
||||
tzdata = focal, bullseye, jammy, bookworm
|
||||
|
|
|
@ -8,7 +8,7 @@ from typing import Iterator, List, Optional, Set
|
|||
|
||||
DEFAULT_PACKAGES_FILENAME = "packages.ini"
|
||||
FORMATS = ("list", "line")
|
||||
DISTRIBUTIONS = ("bullseye", "bookworm", "focal", "jammy")
|
||||
DISTRIBUTIONS = ("focal", "bullseye", "jammy", "bookworm")
|
||||
|
||||
SETTINGS_SECTION = "=settings"
|
||||
DEVELOPMENT_SECTION = "=development"
|
||||
|
|
|
@ -4,15 +4,15 @@ from tools.packages import list_packages, load_packages
|
|||
|
||||
PACKAGE_INI = """
|
||||
[common]
|
||||
postgresql = jammy, focal
|
||||
postgresql = focal, jammy
|
||||
# Some comment
|
||||
curl = jammy, bullseye
|
||||
curl = bullseye, jammy
|
||||
|
||||
[legacy]
|
||||
some-package = bullseye, focal
|
||||
some-package = focal, bullseye
|
||||
|
||||
[=development]
|
||||
ffmpeg = jammy, bullseye, focal
|
||||
ffmpeg = focal, bullseye, jammy
|
||||
"""
|
||||
|
||||
result_jammy = {"curl", "postgresql"}
|
||||
|
|
Loading…
Reference in New Issue