From a7afacdc9f48a1b84c8a13edc1385fa1e8e63f04 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Thu, 14 Nov 2024 17:28:36 +0000 Subject: [PATCH 1/7] chore(deps): update codecov/codecov-action action to v5 --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 6c14958..2dd16f4 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -196,7 +196,7 @@ jobs: report=${COVERAGE_REPORT_FILE} outputs report - name: Upload coverage results (to Codecov.io) - uses: codecov/codecov-action@v4 + uses: codecov/codecov-action@v5 # if: steps.vars.outputs.HAS_CODECOV_TOKEN with: token: ${{ secrets.CODECOV_TOKEN }} From f8ba5dff1579e647d2f99070e4aeff148d75e2c4 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Fri, 15 Nov 2024 03:43:50 +0000 Subject: [PATCH 2/7] chore(deps): update davidanson/markdownlint-cli2-action action to v18 --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 6c14958..599296d 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -48,7 +48,7 @@ jobs: components: clippy - uses: Swatinem/rust-cache@v2 - uses: mozilla-actions/sccache-action@v0.0.6 - - uses: DavidAnson/markdownlint-cli2-action@v17 + - uses: DavidAnson/markdownlint-cli2-action@v18 with: fix: true globs: | From 49e54f7f9a7dcbca7dce3838a0ee60264e4554ce Mon Sep 17 00:00:00 2001 From: Daniel Hofstetter Date: Sat, 16 Nov 2024 08:37:52 +0100 Subject: [PATCH 3/7] ci: fix deprecated codecov argument --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 2dd16f4..bc5859e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -200,7 +200,7 @@ jobs: # if: steps.vars.outputs.HAS_CODECOV_TOKEN with: token: ${{ secrets.CODECOV_TOKEN }} - file: ${{ steps.coverage.outputs.report }} + files: ${{ steps.coverage.outputs.report }} ## flags: IntegrationTests, UnitTests, ${{ steps.vars.outputs.CODECOV_FLAGS }} flags: ${{ steps.vars.outputs.CODECOV_FLAGS }} name: codecov-umbrella From cd1eb63c937d51ef8938966e1b19c66067023835 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Mon, 18 Nov 2024 14:34:57 +0000 Subject: [PATCH 4/7] chore(config): migrate config renovate.json --- renovate.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/renovate.json b/renovate.json index 39a2b6e..5db72dd 100644 --- a/renovate.json +++ b/renovate.json @@ -1,6 +1,6 @@ { "$schema": "https://docs.renovatebot.com/renovate-schema.json", "extends": [ - "config:base" + "config:recommended" ] } From a52cec961536caee6825867e7bf8106d1939153f Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Thu, 12 Dec 2024 13:12:56 +0000 Subject: [PATCH 5/7] chore(deps): update mozilla-actions/sccache-action action to v0.0.7 --- .github/workflows/ci.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 0b73a2c..a4adb27 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -31,7 +31,7 @@ jobs: with: components: rustfmt - uses: Swatinem/rust-cache@v2 - - uses: mozilla-actions/sccache-action@v0.0.6 + - uses: mozilla-actions/sccache-action@v0.0.7 - run: cargo fmt --all -- --check style_lint: @@ -47,7 +47,7 @@ jobs: with: components: clippy - uses: Swatinem/rust-cache@v2 - - uses: mozilla-actions/sccache-action@v0.0.6 + - uses: mozilla-actions/sccache-action@v0.0.7 - uses: DavidAnson/markdownlint-cli2-action@v18 with: fix: true @@ -78,7 +78,7 @@ jobs: - uses: actions/checkout@v4 - uses: dtolnay/rust-toolchain@stable - uses: Swatinem/rust-cache@v2 - - uses: mozilla-actions/sccache-action@v0.0.6 + - uses: mozilla-actions/sccache-action@v0.0.7 - name: Build/Test Info shell: bash run: | @@ -153,7 +153,7 @@ jobs: toolchain: ${{ steps.vars.outputs.TOOLCHAIN }} components: llvm-tools - uses: Swatinem/rust-cache@v2 - - uses: mozilla-actions/sccache-action@v0.0.6 + - uses: mozilla-actions/sccache-action@v0.0.7 - run: cargo install grcov - name: Test shell: bash From baacdd05f5bd942f00b283f5fa67e4314fe93471 Mon Sep 17 00:00:00 2001 From: coolcoder613eb <96163908+coolcoder613eb@users.noreply.github.com> Date: Sun, 22 Dec 2024 04:23:52 +0000 Subject: [PATCH 6/7] Add Haiku support --- src/platform/unix.rs | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/platform/unix.rs b/src/platform/unix.rs index e940127..73f9175 100644 --- a/src/platform/unix.rs +++ b/src/platform/unix.rs @@ -125,7 +125,8 @@ impl Debug for UTSName { target_os = "dragonfly", target_os = "freebsd", target_os = "openbsd", - target_os = "netbsd" + target_os = "netbsd", + target_os = "haiku" )))] { debug_struct = debug_struct.field("domainname", &oss_from_cstr(&self.0.domainname)); @@ -161,7 +162,8 @@ impl PartialEq for UTSName { target_os = "dragonfly", target_os = "freebsd", target_os = "openbsd", - target_os = "netbsd" + target_os = "netbsd", + target_os = "haiku" )))] { equal = equal && (self.0.domainname == other.0.domainname); From 2a38732ca0815bf736e1c441c6af1d291066e689 Mon Sep 17 00:00:00 2001 From: Sylvestre Ledru Date: Sun, 22 Dec 2024 14:21:20 +0100 Subject: [PATCH 7/7] prepare version 2.0.5 --- Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index b98b87c..20a4bd9 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "platform-info" -version = "2.0.4" +version = "2.0.5" authors = ["uutils developers"] edition = "2018" description = "A simple cross-platform interface to get info about a system"