Skip to content

add debian version with minor - #1961

Open
Wl0cKk wants to merge 1 commit into
chef:mainfrom
Wl0cKk:arg-change-for-minor-version-debian
Open

add debian version with minor#1961
Wl0cKk wants to merge 1 commit into
chef:mainfrom
Wl0cKk:arg-change-for-minor-version-debian

Conversation

@Wl0cKk

@Wl0cKk Wl0cKk commented Jul 10, 2026

Copy link
Copy Markdown

Description

#1649

An attempt to obtain the DEBIAN_VERSION_FULL, including the minor version, and ensuring compatibility with older versions of Debian by using older variables - VERSION_ID etc.

image

Related Issue

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Chore (non-breaking change that does not add functionality or fix an issue)

Checklist:

  • I have read the CONTRIBUTING document.
  • I have run the pre-merge tests locally and they pass.
  • I have updated the documentation accordingly.
  • I have added tests to cover my changes.
  • If Gemfile.lock has changed, I have used --conservative to do it and included the full output in the Description above.
  • All new and existing tests passed.
  • All commits have been signed-off for the Developer Certificate of Origin.

@tpowell-progress

Copy link
Copy Markdown
Contributor

@Wl0cKk can this be accomplished by an additional field instead? It looks like majority of use cases are treating VERSION_ID as a major version only, and this may break cases where users are assuming that VERSION_ID is the major version for Debian.

@tpowell-progress

Copy link
Copy Markdown
Contributor

@Wl0cKk Looks like debian_version_full exists:

      "rotational": "0",
      "physical_block_size": "512",
      "logical_block_size": "512"
    }
  },
  "hostnamectl": {
    "static_hostname": "debian",
    "icon_name": "computer-desktop"
  },
  "machine_id": "3ba827e2f4a14ff09b2aa77d2129a3b7",
  "os_release": {
    "pretty_name": "Debian GNU/Linux 13 (trixie)",
    "name": "Debian GNU/Linux",
    "version_id": "13",
    "version": "13 (trixie)",
    "version_codename": "trixie",
    "debian_version_full": "13.3",
    "id": "debian",
    "home_url": "https://www.debian.org/",
    "support_url": "https://www.debian.org/support",
    "bug_report_url": "https://bugs.debian.org/"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants