Skip to content

Commit

Permalink
fix: remove aurora from changelogs (#2033)
Browse files Browse the repository at this point in the history
Co-authored-by: m2 <69128853+m2Giles@users.noreply.github.com>
  • Loading branch information
castrojo and m2Giles authored Dec 14, 2024
1 parent 125657a commit 77d166c
Showing 1 changed file with 2 additions and 16 deletions.
18 changes: 2 additions & 16 deletions .github/changelogs.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,18 +9,13 @@
REGISTRY = "docker://ghcr.io/ublue-os/"

IMAGE_MATRIX_LATEST = {
"experience": ["base", "dx"],
"de": ["kde", "gnome"],
"image_flavor": ["main", "nvidia", "hwe", "hwe-nvidia"],
}
IMAGE_MATRIX_GTS = {
"experience": ["base", "dx"],
"de": ["gnome"],
"image_flavor": ["main", "nvidia"],
"image_flavor": ["main", "nvidia", "hwe", "hwe-nvidia"],
}
IMAGE_MATRIX = {
"experience": ["base", "dx"],
"de": ["kde", "gnome"],
"de": ["gnome"],
"image_flavor": ["main", "nvidia"],
}

Expand All @@ -38,7 +33,6 @@
OTHER_NAMES = {
"base": "### Base Images\n| | Name | Previous | New |\n| --- | --- | --- | --- |{changes}\n\n",
"dx": "### [Dev Experience Images](https://docs.projectbluefin.io/bluefin-dx)\n| | Name | Previous | New |\n| --- | --- | --- | --- |{changes}\n\n",
"kde": "### [Aurora Images](https://getaurora.dev/)\n| | Name | Previous | New |\n| --- | --- | --- | --- |{changes}\n\n",
"gnome": "### [Bluefin Images](https://projectbluefin.io/)\n| | Name | Previous | New |\n| --- | --- | --- | --- |{changes}\n\n",
"nvidia": "### Nvidia Images\n| | Name | Previous | New |\n| --- | --- | --- | --- |{changes}\n\n",
"hwe": "### HWE Images\n| | Name | Previous | New |\n| --- | --- | --- | --- |{changes}\n\n",
Expand All @@ -58,7 +52,6 @@
| --- | --- |
| **Kernel** | {pkgrel:kernel} |
| **Gnome** | {pkgrel:gnome-control-center-filesystem} |
| **KDE** | {pkgrel:plasma-desktop} |
| **Mesa** | {pkgrel:mesa-filesystem} |
| **Podman** | {pkgrel:podman} |
| **Nvidia** | {pkgrel:nvidia-driver} |
Expand Down Expand Up @@ -95,7 +88,6 @@
BLACKLIST_VERSIONS = [
"kernel",
"gnome-control-center-filesystem",
"plasma-desktop",
"mesa-filesystem",
"podman",
"docker-ce",
Expand All @@ -108,17 +100,13 @@
def get_images(target: str):
if "latest" in target:
matrix = IMAGE_MATRIX_LATEST
elif "gts" in target:
matrix = IMAGE_MATRIX_GTS
else:
matrix = IMAGE_MATRIX

for experience, de, image_flavor in product(*matrix.values()):
img = ""
if de == "gnome":
img += "bluefin"
elif de == "kde":
img += "aurora"

if experience == "dx":
img += "-dx"
Expand Down Expand Up @@ -230,8 +218,6 @@ def get_package_groups(target: str, prev: dict[str, Any], manifests: dict[str, A
continue
if t == "nvidia" and "nvidia" not in image_flavor:
continue
if t == "kde" and de != "kde":
continue
if t == "gnome" and de != "gnome":
continue
if t == "base" and experience != "base":
Expand Down

0 comments on commit 77d166c

Please sign in to comment.