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

Add support for Artix Linux #342

Merged
merged 1 commit into from
Mar 13, 2023
Merged

Add support for Artix Linux #342

merged 1 commit into from
Mar 13, 2023

Conversation

codybloemhard
Copy link
Contributor

Added the ability to be able to detect Artix Linux.
With lsb-release installed the output is:

OS information:
Type: Artix Linux
Version: Rolling Release
Bitness: 64-bit

Without lsb-release installed the output is:

OS information:
Type: Artix Linux
Version: Unknown
Bitness: 64-bit

It is missing the version field. I don't know if this is normal or how to fix it.

Copy link
Owner

@stanislav-tkach stanislav-tkach left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for the pull request!

@stanislav-tkach stanislav-tkach merged commit 9ccebce into stanislav-tkach:master Mar 13, 2023
JasonHonor added a commit to JasonHonor/os_info that referenced this pull request Apr 21, 2023
commit c9b13af
Merge: 34c12c7 9d32433
Author: Stanislav Tkach <[email protected]>
Date:   Sun Mar 26 10:05:09 2023 +0200

    Merge pull request stanislav-tkach#345 from Killavus/add_architecture_to_windows_info

    feat: Add architecture information for Windows targets

commit 9d32433
Author: Killavus <[email protected]>
Date:   Wed Mar 22 03:12:35 2023 +0100

    add architecture information for windows platforms

commit 34c12c7
Merge: 755ae48 4e92fef
Author: Stanislav Tkach <[email protected]>
Date:   Mon Mar 20 18:57:59 2023 +0100

    Merge pull request stanislav-tkach#341 from poliorcetics/winapi-to-windows-sys

    deps: Move from winapi to windows-sys

commit 755ae48
Merge: 5fbb59c 4601e95
Author: Stanislav Tkach <[email protected]>
Date:   Mon Mar 20 16:25:37 2023 +0100

    Merge pull request stanislav-tkach#344 from stanislav-tkach/release-3-7-0

    Release the 3.7.0 version

commit 4e92fef
Author: Alexis (Poliorcetics) Bourget <[email protected]>
Date:   Mon Mar 6 18:23:53 2023 +0100

    deps: Move from winapi to windows-sys

    `winapi` is in maintenance mode and the new blessed way to access Windows APIs are the `windows`
    and `windows-sys` crates. I don't think any types of `winapi` were exposed in the public API so
    I used `windows-sys` since it has much faster compile times.

commit 4601e95
Author: Stanislav Tkach <[email protected]>
Date:   Sun Mar 19 20:15:29 2023 +0100

    Update the changelog

commit 2b925cf
Merge: 9bf66a4 5fbb59c
Author: Stanislav Tkach <[email protected]>
Date:   Sun Mar 19 18:05:14 2023 +0100

    Merge branch 'master' into release-3-7-0

commit 5fbb59c
Merge: 4114330 24fcc88
Author: Stanislav Tkach <[email protected]>
Date:   Sun Mar 19 18:04:25 2023 +0100

    Merge pull request stanislav-tkach#340 from kholmanskikh/add-alpaquita-linux

    Add Alpaquita Linux

commit 9bf66a4
Author: Stanislav Tkach <[email protected]>
Date:   Sun Mar 19 17:09:16 2023 +0100

    Release the 3.7.0 version

commit 4114330
Merge: 9ccebce 4fa38e4
Author: Stanislav Tkach <[email protected]>
Date:   Wed Mar 15 19:58:36 2023 +0100

    Merge pull request stanislav-tkach#343 from stanislav-tkach/dependabot/cargo/predicates-3

    Update predicates requirement from 2 to 3

commit 4fa38e4
Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Date:   Wed Mar 15 14:59:15 2023 +0000

    Update predicates requirement from 2 to 3

    Updates the requirements on [predicates](https://github.com/assert-rs/predicates-rs) to permit the latest version.
    - [Release notes](https://github.com/assert-rs/predicates-rs/releases)
    - [Changelog](https://github.com/assert-rs/predicates-rs/blob/master/CHANGELOG.md)
    - [Commits](assert-rs/predicates-rs@v2.0.0...v3.0.0)

    ---
    updated-dependencies:
    - dependency-name: predicates
      dependency-type: direct:production
    ...

    Signed-off-by: dependabot[bot] <[email protected]>

commit 9ccebce
Merge: 39c38f3 f156026
Author: Stanislav Tkach <[email protected]>
Date:   Mon Mar 13 11:42:02 2023 +0100

    Merge pull request stanislav-tkach#342 from codybloemhard/master

    Add support for Artix Linux

commit f156026
Author: Cody Bloemhard <[email protected]>
Date:   Fri Mar 10 15:26:59 2023 +0100

    Add support for Artix Linux

commit 24fcc88
Author: Stanislav Kholmanskikh <[email protected]>
Date:   Wed Mar 1 17:00:43 2023 +0300

    Add Alpaquita Linux

    The distro does not ship LSB utils, so the LSB code path
    was tested with a manually built version of lsb-release-minimal
    from https://salsa.debian.org/gioele/lsb-release-minimal

commit 39c38f3
Merge: b9eef20 b0ec30a
Author: Stanislav Tkach <[email protected]>
Date:   Mon Feb 27 23:33:07 2023 +0100

    Merge pull request stanislav-tkach#338 from Arto-O/master

    Add support for Mabox, resolves stanislav-tkach#337

commit b9eef20
Merge: 7011ce4 3f303c8
Author: Stanislav Tkach <[email protected]>
Date:   Mon Feb 20 01:07:20 2023 +0100

    Merge pull request stanislav-tkach#336 from rbas/335-issue-add-processor-architecture-informations

    335 issue add processor architecture informations

commit b0ec30a
Author: Arto-O <[email protected]>
Date:   Sat Feb 18 15:09:25 2023 -0800

    Add support for Mabox

commit 3f303c8
Author: Martin Voldřich <[email protected]>
Date:   Mon Feb 13 17:55:20 2023 +0100

    Fixing doc string

commit 1d4b260
Author: Martin Voldřich <[email protected]>
Date:   Mon Feb 13 17:54:49 2023 +0100

    Adding information about architecture

commit 7011ce4
Merge: b12491e 5377003
Author: Stanislav Tkach <[email protected]>
Date:   Mon Jan 30 19:12:46 2023 +0100

    Merge pull request stanislav-tkach#332 from stanislav-tkach/release-3-6-0

    Release the 3.6.0 version

commit 5377003
Author: Stanislav Tkach <[email protected]>
Date:   Sun Jan 29 23:31:53 2023 +0100

    More fixes

commit 7fc22cb
Author: Stanislav Tkach <[email protected]>
Date:   Sun Jan 29 23:13:32 2023 +0100

    Fix clippy warnings

commit b377859
Author: Stanislav Tkach <[email protected]>
Date:   Sun Jan 29 23:04:53 2023 +0100

    Release the 3.6.0 version

commit b12491e
Merge: 4e1cf37 3416fb4
Author: Stanislav Tkach <[email protected]>
Date:   Mon Jan 23 13:45:21 2023 +0100

    Merge pull request stanislav-tkach#331 from meop/master

    add os-release match for Arch and Debian ARM

commit 3416fb4
Author: Marshall Porter <[email protected]>
Date:   Fri Jan 20 09:10:43 2023 -0800

    add os-release match for Arch and Debian ARM

commit 4e1cf37
Merge: 5e42e34 c8f05e2
Author: Stanislav Tkach <[email protected]>
Date:   Sat Jan 7 00:14:29 2023 +0100

    Merge pull request stanislav-tkach#330 from stanislav-tkach/fix-fmt-and-spellcheck

    Fix formattin and add new words to the spellchecker dictionary

commit c8f05e2
Author: Stanislav Tkach <[email protected]>
Date:   Fri Jan 6 22:30:06 2023 +0100

    Fix formattin and add new words to the spellchecker dictionary

commit 5e42e34
Merge: 75ef20a eb9977d
Author: Stanislav Tkach <[email protected]>
Date:   Sun Jan 1 22:20:08 2023 +0100

    Merge pull request stanislav-tkach#328 from leavelet/master

    Add openEuler and OpenCloudOS support

commit eb9977d
Author: leavelet <[email protected]>
Date:   Sat Dec 31 16:49:10 2022 +0800

    Add openEuler and OpenCloudOS tests

commit faad546
Author: leavelet <[email protected]>
Date:   Sat Dec 31 14:25:52 2022 +0800

    Add openEuler and OpenCloudOS support

commit 75ef20a
Merge: 3c2f3a3 e36d819
Author: Stanislav Tkach <[email protected]>
Date:   Sun Dec 25 01:14:54 2022 +0200

    Merge pull request stanislav-tkach#327 from stanislav-tkach/min-rust-version-in-toml

    Set minimal supported Rust version in the Cargo.toml file

commit e36d819
Author: Stanislav Tkach <[email protected]>
Date:   Fri Dec 23 00:43:26 2022 +0100

    fix

commit 7e7619b
Author: Stanislav Tkach <[email protected]>
Date:   Thu Dec 22 15:04:55 2022 +0100

    Min version 1.60

commit d337860
Merge: bbcd770 3c2f3a3
Author: Stanislav Tkach <[email protected]>
Date:   Tue Dec 20 20:21:40 2022 +0200

    Merge branch 'master' into min-rust-version-in-toml

commit bbcd770
Author: Stanislav Tkach <[email protected]>
Date:   Tue Dec 20 14:08:21 2022 +0100

    Update clap version

commit bfecffa
Author: Stanislav Tkach <[email protected]>
Date:   Sun Dec 18 09:23:16 2022 +0100

    Set minimal supported Rust version in the Cargo.toml file

commit 3c2f3a3
Merge: 4ee6bad 2ed9746
Author: Stanislav Tkach <[email protected]>
Date:   Sat Dec 17 21:44:50 2022 +0200

    Merge pull request stanislav-tkach#324 from stanislav-tkach/dependabot/cargo/clap-4

    Update clap requirement from 3 to 4

commit 2ed9746
Merge: 2263494 4ee6bad
Author: Stanislav Tkach <[email protected]>
Date:   Sat Dec 17 21:32:35 2022 +0200

    Merge branch 'master' into dependabot/cargo/clap-4

commit 4ee6bad
Merge: 7856ea2 5274e8c
Author: Stanislav Tkach <[email protected]>
Date:   Sun Nov 27 00:27:50 2022 +0100

    Merge pull request stanislav-tkach#326 from stanislav-tkach/dependabot/cargo/env_logger-0.10

    Update env_logger requirement from 0.9 to 0.10

commit 5274e8c
Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Date:   Fri Nov 25 14:02:26 2022 +0000

    Update env_logger requirement from 0.9 to 0.10

    Updates the requirements on [env_logger](https://github.com/rust-cli/env_logger) to permit the latest version.
    - [Release notes](https://github.com/rust-cli/env_logger/releases)
    - [Changelog](https://github.com/rust-cli/env_logger/blob/main/CHANGELOG.md)
    - [Commits](rust-cli/env_logger@v0.9.0...v0.10.0)

    ---
    updated-dependencies:
    - dependency-name: env_logger
      dependency-type: direct:production
    ...

    Signed-off-by: dependabot[bot] <[email protected]>

commit 7856ea2
Merge: c79cd09 b566d38
Author: Stanislav Tkach <[email protected]>
Date:   Mon Nov 14 14:19:38 2022 +0100

    Merge pull request stanislav-tkach#325 from kianmeng/fix-typo

    Fix typo, explictly -> explicitly

commit b566d38
Author: Kian-Meng Ang <[email protected]>
Date:   Mon Nov 14 10:05:05 2022 +0800

    Fix typo, explictly -> explicitly

    Found via `typos --format brief`

commit 2263494
Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Date:   Thu Sep 29 14:10:58 2022 +0000

    Update clap requirement from 3 to 4

    Updates the requirements on [clap](https://github.com/clap-rs/clap) to permit the latest version.
    - [Release notes](https://github.com/clap-rs/clap/releases)
    - [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md)
    - [Commits](clap-rs/clap@clap_complete-v3.0.0...v4.0.2)

    ---
    updated-dependencies:
    - dependency-name: clap
      dependency-type: direct:production
    ...

    Signed-off-by: dependabot[bot] <[email protected]>

commit c79cd09
Merge: 268bb1c 4a13fa0
Author: Stanislav Tkach <[email protected]>
Date:   Mon Sep 19 19:05:07 2022 +0200

    Merge pull request stanislav-tkach#323 from stanislav-tkach/releas-3-5-1

    Release the 3.5.1 version

commit 4a13fa0
Author: Stanislav Tkach <[email protected]>
Date:   Mon Sep 19 18:54:55 2022 +0200

    1.45

commit 8e014d4
Author: Stanislav Tkach <[email protected]>
Date:   Mon Sep 19 14:51:44 2022 +0200

    Update minimal rust version

commit 10fc83b
Author: Stanislav Tkach <[email protected]>
Date:   Sun Sep 18 20:32:16 2022 +0200

    Release the 3.5.1 version

commit 268bb1c
Merge: 3dcf623 01713bf
Author: Stanislav Tkach <[email protected]>
Date:   Sun Aug 28 23:01:30 2022 +0200

    Merge pull request stanislav-tkach#322 from Guyutongxue/win-11

    Add Windows 11 support

commit 01713bf
Author: Guyutongxue <[email protected]>
Date:   Sun Aug 21 14:20:00 2022 +0800

    Add Windows 11 support

commit 3dcf623
Merge: e3320f5 156063b
Author: Stanislav Tkach <[email protected]>
Date:   Mon Aug 1 16:48:06 2022 +0200

    Merge pull request stanislav-tkach#321 from stanislav-tkach/releas-3-5-0

    Releas the 3.5.0 version

commit 156063b
Author: Stanislav Tkach <[email protected]>
Date:   Mon Aug 1 14:17:43 2022 +0200

    Allow the unicode license

commit f915220
Author: Stanislav Tkach <[email protected]>
Date:   Mon Aug 1 14:16:23 2022 +0200

    Remove the doc test

commit b73bb8f
Author: Stanislav Tkach <[email protected]>
Date:   Sun Jul 31 11:36:29 2022 +0200

    Remove ignored doc-tests

commit ef3ee1b
Author: Stanislav Tkach <[email protected]>
Date:   Sun Jul 31 11:28:05 2022 +0200

    Release the 3.5.0 version

commit e3320f5
Merge: 01ed4ee e98db60
Author: Stanislav Tkach <[email protected]>
Date:   Sun Jul 24 01:03:46 2022 +0200

    Merge pull request stanislav-tkach#317 from exincore/improve-os-release-detection

    Fix linux file_release detection

commit e98db60
Author: exin <[email protected]>
Date:   Mon Jul 18 15:01:49 2022 -0600

    Fix file_release inadequate testing

    * Refactor tests to have more operating system context

    * Add tests for more edge cases

    * Order tests alphabetically

commit 517e13e
Author: exin <[email protected]>
Date:   Sat Jul 16 22:26:09 2022 -0600

    Refactor DISTRIBUTIONS order

commit b780ea4
Author: exin <[email protected]>
Date:   Sat Jul 16 21:55:21 2022 -0600

    Fix cspell-dictionary

commit b9cf38d
Author: exin <[email protected]>
Date:   Sat Jul 16 21:37:08 2022 -0600

    Fix file_release clippy warnings

commit 7d86cae
Author: exin <[email protected]>
Date:   Wed Jul 13 20:31:52 2022 -0600

    Add ReleaseInfo documentation

commit 18e4e69
Author: exin <[email protected]>
Date:   Sun Jul 10 15:34:05 2022 -0600

    Fix linux file_release detection

    * Fix retrieve function fails to fail

    * Fix Oracle Linux false positive condition

    * Refactor ReleaseInfo Matcher to function pointers

    * Refactor DISTRIBUTIONS to static

    * Add os-release match closure

    * Add ReleaseInfo fmt::Debug implementation and tests

    * Remove get_type function

    Closes stanislav-tkach#315

commit b59b672
Author: exin <[email protected]>
Date:   Sat Jul 9 19:49:09 2022 -0500

    Remove Matcher::KeyValue match laziness

    Closes stanislav-tkach#316

commit 01ed4ee
Merge: 8ecb4df ab3a75c
Author: Stanislav Tkach <[email protected]>
Date:   Mon Jun 20 13:36:09 2022 +0200

    Merge pull request stanislav-tkach#314 from tukanoidd/master

    Added Garuda Linux support

commit ab3a75c
Author: tukanoidd <[email protected]>
Date:   Fri Jun 17 22:59:46 2022 +0200

    Added Garuda Linux support

commit 8ecb4df
Merge: f255a61 fe86641
Author: Stanislav Tkach <[email protected]>
Date:   Wed May 25 20:59:53 2022 +0200

    Merge pull request stanislav-tkach#311 from cuviper/os-release-rhel

    Improve RHEL detection in /etc/os-release

commit fe86641
Author: Josh Stone <[email protected]>
Date:   Tue May 24 11:53:38 2022 -0700

    Improve RHEL detection in /etc/os-release

commit f255a61
Merge: c1385ff e65af14
Author: Stanislav Tkach <[email protected]>
Date:   Sun May 22 19:28:30 2022 +0200

    Merge pull request stanislav-tkach#310 from stanislav-tkach/release-3-4-0

    Release the 3.4.0 version

commit e65af14
Author: Stanislav Tkach <[email protected]>
Date:   Sat May 21 23:25:22 2022 +0200

    Release the 3.4.0 version

commit c1385ff
Merge: 6d7a3e0 c0f9604
Author: Stanislav Tkach <[email protected]>
Date:   Fri May 20 10:23:22 2022 +0200

    Merge pull request stanislav-tkach#309 from martintc/master

    Fix stanislav-tkach#308: Behavior break on FreeBSD to return Type::Unknown

commit c0f9604
Author: Todd Martin <[email protected]>
Date:   Wed May 18 18:52:23 2022 -0700

    Change generic OK to return Type::FreeBSD

commit 6d7a3e0
Merge: a80877c 5f19116
Author: Stanislav Tkach <[email protected]>
Date:   Tue May 17 19:22:38 2022 +0200

    Merge pull request stanislav-tkach#307 from mt-inside/gentoo-linux

    Add detection of Gentoo Linux

commit 5f19116
Author: Matt Turner <[email protected]>
Date:   Tue May 17 09:09:22 2022 +0000

    Add detection of Gentoo Linux

commit a80877c
Merge: 0a812b4 3b44fa6
Author: Stanislav Tkach <[email protected]>
Date:   Sun May 1 22:19:30 2022 +0200

    Merge pull request stanislav-tkach#306 from stanislav-tkach/release-3-3-0

    Release the 3.3.0 version

commit 3b44fa6
Author: Stanislav Tkach <[email protected]>
Date:   Sat Apr 30 21:52:09 2022 +0200

    Release the 3.3.0 version

commit 0a812b4
Merge: 36c19ad 63f4239
Author: Stanislav Tkach <[email protected]>
Date:   Wed Apr 27 18:11:13 2022 +0200

    Merge pull request stanislav-tkach#305 from martintc/Illumos

    Initial implementation of Illumos support

commit 63f4239
Author: Todd Martin <[email protected]>
Date:   Mon Apr 25 08:57:09 2022 -0700

    Correction, return Bitness::X32 when it see "32\n"

commit b317711
Author: Todd Martin <[email protected]>
Date:   Mon Apr 25 08:53:59 2022 -0700

    Add isainfo

commit ebc3b0e
Author: Todd Martin <[email protected]>
Date:   Mon Apr 25 08:50:01 2022 -0700

    Make use of isainfo for bitness

    uname and getconf do not report properly, but isainfo does

commit 18fb051
Author: Todd Martin <[email protected]>
Date:   Mon Apr 25 08:45:26 2022 -0700

    Make 'I' lowercase since this is illumos convention

commit 725203a
Author: Todd Martin <[email protected]>
Date:   Mon Apr 25 01:49:15 2022 -0700

    Add illumos

commit 45492bc
Author: Todd Martin <[email protected]>
Date:   Mon Apr 25 01:47:46 2022 -0700

    Format fixes

commit d109053
Author: Todd Martin <[email protected]>
Date:   Mon Apr 25 01:47:33 2022 -0700

    Add illumos to the readme

commit 9dfb195
Author: Todd Martin <[email protected]>
Date:   Mon Apr 25 01:44:09 2022 -0700

    Implement private function to get version on illumos

commit d4b3fae
Author: Todd Martin <[email protected]>
Date:   Mon Apr 25 01:44:00 2022 -0700

    Remove function uname for illumos

commit 6aed94e
Author: Todd Martin <[email protected]>
Date:   Mon Apr 25 01:41:44 2022 -0700

    Add a uname function specifically for illumos

commit 70c37c3
Author: Todd Martin <[email protected]>
Date:   Mon Apr 25 01:38:02 2022 -0700

    Add illumos targets

commit 1c71226
Author: Todd Martin <[email protected]>
Date:   Mon Apr 25 01:35:11 2022 -0700

    Try removing new line character

commit a219ea8
Author: Todd Martin <[email protected]>
Date:   Mon Apr 25 01:33:46 2022 -0700

    Add illumos to target list where deps are declared

commit 215ad21
Author: Todd Martin <[email protected]>
Date:   Mon Apr 25 01:12:18 2022 -0700

    Add a function for bitness detection on illumos

commit c38baef
Author: Todd Martin <[email protected]>
Date:   Mon Apr 25 01:12:07 2022 -0700

    Create file for illumos

commit 4a779ca
Author: Todd Martin <[email protected]>
Date:   Mon Apr 25 00:57:43 2022 -0700

    Create a display for illumos

commit a9260f8
Author: Todd Martin <[email protected]>
Date:   Mon Apr 25 00:56:24 2022 -0700

    Add Illumos to os types list

commit 36c19ad
Merge: e4b685e 30874b6
Author: Stanislav Tkach <[email protected]>
Date:   Sun Apr 24 10:10:06 2022 +0200

    Merge pull request stanislav-tkach#303 from martintc/fix-issue-300

    Fix issue 300

commit 30874b6
Author: Todd Martin <[email protected]>
Date:   Mon Apr 11 03:15:58 2022 -0700

    format fixing

commit b684911
Author: Todd Martin <[email protected]>
Date:   Mon Apr 11 03:09:28 2022 -0700

    Removed a trim and created default cases

commit 3f4605f
Author: Todd Martin <[email protected]>
Date:   Mon Apr 11 03:05:35 2022 -0700

    Add back in newline escape characters

commit d867959
Author: Todd Martin <[email protected]>
Date:   Mon Apr 11 02:59:41 2022 -0700

    Use result type instead of unwrapping value
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