From 2b7ded74b1fde341e31dd87d527be4e3d7efd646 Mon Sep 17 00:00:00 2001 From: Mathias Kraus Date: Mon, 22 Apr 2024 16:33:58 +0200 Subject: [PATCH 1/5] iox-#75 Update author information --- Cargo.toml | 2 +- iceoryx-sys/Cargo.toml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 4f102cd..a2a24c6 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -7,7 +7,7 @@ members = [ edition = "2018" name = "iceoryx-rs" version = "0.1.0" -authors = ["elBoberido "] +authors = ["elBoberido "] description = "Safe Rust bindings for Eclipse iceoryx - true zero-copy inter-process communication" readme = "README.md" keywords = [ diff --git a/iceoryx-sys/Cargo.toml b/iceoryx-sys/Cargo.toml index 036dd81..beed364 100644 --- a/iceoryx-sys/Cargo.toml +++ b/iceoryx-sys/Cargo.toml @@ -2,7 +2,7 @@ edition = "2018" name = "iceoryx-sys" version = "0.1.0" -authors = ["elBoberido "] +authors = ["elBoberido "] build = "build.rs" description = "Low level bindings for Eclipse iceoryx" keywords = [ From ce682c0a17aa729aa2e7f94ed3bd6c03b4c6d697 Mon Sep 17 00:00:00 2001 From: Mathias Kraus Date: Mon, 22 Apr 2024 16:39:36 +0200 Subject: [PATCH 2/5] iox-#75 Update links to default branch --- README.md | 6 +++--- src/lib.rs | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 789da0a..e951f77 100644 --- a/README.md +++ b/README.md @@ -3,7 +3,7 @@ [![Crates.io](https://img.shields.io/crates/v/iceoryx-rs.svg)](https://crates.io/crates/iceoryx-rs) [![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://opensource.org/licenses/Apache-2.0) [![Build & Test](https://img.shields.io/github/actions/workflow/status/eclipse-iceoryx/iceoryx-rs/rust.yml?event=push&label=Build%20%26%20Test)](https://github.com/eclipse-iceoryx/iceoryx-rs/actions) -[![Codecov](https://codecov.io/gh/eclipse-iceoryx/iceoryx-rs/branch/master/graph/badge.svg?branch=master)](https://codecov.io/gh/eclipse-iceoryx/iceoryx-rs?branch=master) +[![Codecov](https://codecov.io/gh/eclipse-iceoryx/iceoryx-rs/branch/main/graph/badge.svg?branch=main)](https://codecov.io/gh/eclipse-iceoryx/iceoryx-rs?branch=main)

@@ -25,7 +25,7 @@ autonomous driving with their demand on high data throughput and low latency. Wi iceoryx also fits well into other domains where low latency and transmitting large data structures is a concern. If you would like to know more about Eclipse iceoryx you can take a look at the `Getting started` section on [iceoryx.io](https://iceoryx.io) or the -[README.md](https://github.com/eclipse-iceoryx/iceoryx/blob/master/README.md) of the main project. +[README.md](https://github.com/eclipse-iceoryx/iceoryx/blob/main/README.md) of the main project. The Rust bindings are a work in progress and currently support only the pub-sub messaging pattern. Upcoming releases will close the gap and the goal is to have the Rust bindings as a first class citizen @@ -258,7 +258,7 @@ We are done. Lets run our code. 2. Start the `publisher` with `cargo run publisher` 2. Start the `subscriber` with `cargo run subscriber` -Please have a look at the [examples](https://github.com/eclipse-iceoryx/iceoryx-rs/tree/master/examples) +Please have a look at the [examples](https://github.com/eclipse-iceoryx/iceoryx-rs/tree/main/examples) in the repository. It contains additional examples to show how uninitialized samples can be loaned and how the `wait_for_samples` method of the `SampleReceiver` can be used to get notified on new samples. diff --git a/src/lib.rs b/src/lib.rs index 870212f..9b386e7 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -11,7 +11,7 @@ //! iceoryx also fits well into other domains where low latency and transmitting large data structures //! is a concern. If you would like to know more about Eclipse iceoryx you can take a look at the //! `Getting started` section on [iceoryx.io](https://iceoryx.io) or the -//! [README.md](https://github.com/eclipse-iceoryx/iceoryx/blob/master/README.md) of the main project. +//! [README.md](https://github.com/eclipse-iceoryx/iceoryx/blob/main/README.md) of the main project. //! //! The Rust bindings are a work in progress and currently support only the pub-sub messaging pattern. //! Upcoming releases will close the gap and the goal is to have the Rust bindings as a first class citizen From ac4aa9d87aecabfbaab95e9c7af70695a4b437d3 Mon Sep 17 00:00:00 2001 From: Mathias Kraus Date: Mon, 22 Apr 2024 16:59:16 +0200 Subject: [PATCH 3/5] iox-#75 Update CI to use main branch --- .github/workflows/rust.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index 69401c0..96cbee9 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -2,9 +2,9 @@ name: Build & Test on: push: - branches: [ master ] + branches: [ main ] pull_request: - branches: [ master ] + branches: [ main ] env: CARGO_TERM_COLOR: always From 47f550aacded24fe349e0797317d46beb9f57777 Mon Sep 17 00:00:00 2001 From: Mathias Kraus Date: Mon, 22 Apr 2024 17:05:13 +0200 Subject: [PATCH 4/5] iox-#75 Update CI to use latest actions --- .../build-and-cache-rust-tool/action.yml | 4 ++-- .github/workflows/rust.yml | 22 +++++++++---------- 2 files changed, 13 insertions(+), 13 deletions(-) diff --git a/.github/actions/build-and-cache-rust-tool/action.yml b/.github/actions/build-and-cache-rust-tool/action.yml index 47fd50e..68abed9 100644 --- a/.github/actions/build-and-cache-rust-tool/action.yml +++ b/.github/actions/build-and-cache-rust-tool/action.yml @@ -38,7 +38,7 @@ runs: cat version_info shell: bash - name: Setup cache - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: | ~/.cargo/bin/ @@ -54,7 +54,7 @@ runs: run: ${{ inputs.print-version-cmd }} shell: bash - name: Upload artifact - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: ${{ inputs.artifact-name }} path: ${{ inputs.artifact-path }} diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index 96cbee9..345988c 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -14,7 +14,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Setup Rust uses: dtolnay/rust-toolchain@v1 with: @@ -30,7 +30,7 @@ jobs: os: [ubuntu-latest, macOS-latest] #Todo add windows-latest runs-on: ${{ matrix.os }} steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Build and cache cargo-nextest uses: ./.github/actions/build-and-cache-rust-tool with: @@ -45,7 +45,7 @@ jobs: needs: pre-flight-check runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Build and cache grcov uses: ./.github/actions/build-and-cache-rust-tool with: @@ -71,7 +71,7 @@ jobs: continue-on-error: ${{ matrix.toolchain != 'stable' }} steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Setup Rust uses: dtolnay/rust-toolchain@v1 with: @@ -84,7 +84,7 @@ jobs: cargo clippy --version >> version_info cat version_info - name: Setup cache - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: | ~/.cargo/bin/ @@ -94,7 +94,7 @@ jobs: target/ key: cache-1-${{ runner.os }}-toolchain-${{ matrix.toolchain }}-${{ hashFiles('**/Cargo.toml', '**/build.rs', 'version_info') }} - name: Download cargo-nextest artifact - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: ${{ runner.os }}-cargo-nextest path: ~/.cargo/bin @@ -119,7 +119,7 @@ jobs: needs: [cargo-nextest, grcov] runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Setup Rust uses: dtolnay/rust-toolchain@v1 with: @@ -131,7 +131,7 @@ jobs: cargo --version >> version_info cat version_info - name: Setup cache - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: | ~/.cargo/bin/ @@ -146,12 +146,12 @@ jobs: find . -type f -wholename "**/*.profraw" -exec rm {} \; rm -rf target/debug/coverage-html - name: Download artifact cargo-nextest - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: ${{ runner.os }}-cargo-nextest path: ~/.cargo/bin - name: Download artifact grcov - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: ${{ runner.os }}-grcov path: ~/.cargo/bin @@ -191,7 +191,7 @@ jobs: --output-path target/debug/coverage-html sed -i 's/coverage/grcov/' target/debug/coverage-html/coverage.json - name: Archive coverage-html artifacts - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: coverage-html path: target/debug/coverage-html/* From afade8b989185dee087ebc2f6ca10a501b2f52dc Mon Sep 17 00:00:00 2001 From: Mathias Kraus Date: Mon, 22 Apr 2024 17:09:56 +0200 Subject: [PATCH 5/5] iox-#75 Use token for codecov --- .github/workflows/rust.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index 345988c..ef8ecf2 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -213,7 +213,8 @@ jobs: --ignore "**/.cargo/*" \ --output-path target/debug/lcov.info - name: Upload coverage to Codecov - uses: codecov/codecov-action@v3 + uses: codecov/codecov-action@v4 with: file: target/debug/lcov.info fail_ci_if_error: true + token: ${{ secrets.CODECOV_TOKEN }}