Skip to content

OS (Linux): Add Astra Linux version detection#2427

Closed
0443n wants to merge 1 commit into
fastfetch-cli:devfrom
0443n:os-astra-version
Closed

OS (Linux): Add Astra Linux version detection#2427
0443n wants to merge 1 commit into
fastfetch-cli:devfrom
0443n:os-astra-version

Conversation

@0443n

@0443n 0443n commented Jun 30, 2026

Copy link
Copy Markdown

Astra Linux sets PRETTY_NAME="Astra Linux" with no version, so the OS module dropped it. The version is in VERSION_ID, with an arch suffix on recent releases (e.g. 2.12_x86-64).

For id=astra: strip the arch suffix from VERSION_ID, clear VERSION_CODENAME when it just mirrors the raw VERSION_ID, and rebuild PRETTY_NAME.

Before: OS: Astra Linux x86_64
After: OS: Astra Linux 2.12 x86_64

@codacy-production

Copy link
Copy Markdown
Contributor

Up to standards ✅

🟢 Issues 0 issues

Results:
0 new issues

View in Codacy

NEW Get contextual insights on your PRs based on Codacy's metrics, along with PR and Jira context, without leaving GitHub. Enable AI reviewer
TIP This summary will be updated as you push new changes.

@0443n 0443n force-pushed the os-astra-version branch from eedbf96 to b69a628 Compare June 30, 2026 11:52
@0443n 0443n changed the title OS (Linux): adds Astra Linux version detection OS (Linux): Add Astra Linux version detection Jun 30, 2026
@CarterLi CarterLi closed this in 113f7d3 Jul 1, 2026
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.

1 participant