Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Align schema of image-info.json with Bazzite #97

Open
ledif opened this issue Jan 10, 2025 · 4 comments
Open

Align schema of image-info.json with Bazzite #97

ledif opened this issue Jan 10, 2025 · 4 comments
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@ledif
Copy link
Collaborator

ledif commented Jan 10, 2025

There are a few discrepancies between the fields of /usr/share/ublue-os/image-info.json in Aurora and Bazzite. We should consider aligning these fields.

On my Aurora machine:

{
  "image-name": "aurora-dx",
  "image-flavor": "main",
  "image-vendor": "ublue-os",
  "image-ref": "ostree-image-signed:docker://ghcr.io/ublue-os/aurora-dx",
  "image-tag":"stable",
  "base-image-name": "kinoite",
  "fedora-version": "41"
}

On my Bazzite machine:

{
  "image-name": "bazzite-nvidia-open",
  "image-flavor": "nvidia-open",
  "image-vendor": "ublue-os",
  "image-ref": "ostree-image-signed:docker://ghcr.io/ublue-os/bazzite-nvidia-open",
  "image-tag": "41",
  "image-branch": "stable",
  "base-image-name": "kinoite",
  "fedora-version": "41",
  "version": "41.20250106",
  "version-pretty": "Stable (F41.20250106)"
}

Key differences:

  • image-tag refers to the update stream in Aurora, but refers to the upstream Fedora version in Bazzite
  • image-branch is missing in Aurora but refers to the update stream in Bazzite
  • version and version-pretty are absent in Aurora
@ledif ledif added enhancement New feature or request good first issue Good for newcomers labels Jan 10, 2025
@inffy
Copy link
Collaborator

inffy commented Jan 12, 2025

Seems we are using the same format as Bluefin

{
"image-name": "bluefin",
"image-flavor": "main",
"image-vendor": "ublue-os",
"image-ref": "ostree-image-signed:docker://ghcr.io/ublue-os/bluefin",
"image-tag":"latest",
"base-image-name": "silverblue",
"fedora-version": "41"
}

@RealVishy
Copy link
Collaborator

Do we know what it looks like on base kinoite?

@inffy
Copy link
Collaborator

inffy commented Jan 12, 2025

I'll check Kinoite in a few but I would guess its pretty much the same as ours

@inffy
Copy link
Collaborator

inffy commented Jan 12, 2025

Tried to look for the file in my Kinoite VM but atleast cannot find it under /usr/share/

i think kinoite might not use this in anything. But I also don’t know how this file is used in Aurora/Bluefin/Bazzite so dont know which one we should follow.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

3 participants