From 91fb7418d8daca094b8cdd8396a2ac2f5bb43aab Mon Sep 17 00:00:00 2001 From: Julien Enoch Date: Thu, 7 Apr 2022 09:31:31 +0200 Subject: [PATCH] Update copyright headers (close #9) --- .github/workflows/ci.yml | 75 +++++++++++++++++------------------ .github/workflows/release.yml | 4 +- Cargo.toml | 10 ++--- build.rs | 4 +- src/lib.rs | 4 +- 5 files changed, 48 insertions(+), 49 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 0f85ddd..c543434 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -1,5 +1,5 @@ # -# Copyright (c) 2017, 2020 ADLINK Technology Inc. +# Copyright (c) 2022 ZettaScale Technology # # This program and the accompanying materials are made available under the # terms of the Eclipse Public License 2.0 which is available at @@ -9,23 +9,22 @@ # SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 # # Contributors: -# ADLINK zenoh team, +# ZettaScale Zenoh Team, # name: CI on: push: branches: - - '**' + - "**" pull_request: branches: - - '**' + - "**" schedule: - - cron: '0 6 * * 1-5' + - cron: "0 6 * * 1-5" jobs: build: - name: Build on ${{ matrix.os }} runs-on: ${{ matrix.os }} strategy: @@ -34,42 +33,42 @@ jobs: os: [ubuntu-latest, macOS-latest, windows-latest] steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v2 - # For Windows, install llvm and use a workaround to resolve link error with C:\msys64\mingw64\bin\libclang.dll - # Credits: https://github.com/rust-rocksdb/rust-rocksdb/pull/484 - - name: Remove msys64 - if: runner.os == 'Windows' - run: Remove-Item -LiteralPath "C:\msys64\" -Force -Recurse - - name: Install dependencies - if: runner.os == 'Windows' - run: choco install llvm -y + # For Windows, install llvm and use a workaround to resolve link error with C:\msys64\mingw64\bin\libclang.dll + # Credits: https://github.com/rust-rocksdb/rust-rocksdb/pull/484 + - name: Remove msys64 + if: runner.os == 'Windows' + run: Remove-Item -LiteralPath "C:\msys64\" -Force -Recurse + - name: Install dependencies + if: runner.os == 'Windows' + run: choco install llvm -y - - name: Install Rust toolchain - uses: actions-rs/toolchain@v1 - with: + - name: Install Rust toolchain + uses: actions-rs/toolchain@v1 + with: components: rustfmt, clippy - - name: Code format check - uses: actions-rs/cargo@v1 - with: - command: fmt - args: -- --check + - name: Code format check + uses: actions-rs/cargo@v1 + with: + command: fmt + args: -- --check - - name: Clippy - uses: actions-rs/cargo@v1 - with: - command: clippy - args: --all --examples -- -D warnings + - name: Clippy + uses: actions-rs/cargo@v1 + with: + command: clippy + args: --all --examples -- -D warnings - - name: Build - uses: actions-rs/cargo@v1 - with: - command: build - args: --verbose --all-targets + - name: Build + uses: actions-rs/cargo@v1 + with: + command: build + args: --verbose --all-targets - - name: Run tests - uses: actions-rs/cargo@v1 - with: - command: test - args: --verbose + - name: Run tests + uses: actions-rs/cargo@v1 + with: + command: test + args: --verbose diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index b6897ac..9381b4f 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -1,5 +1,5 @@ # -# Copyright (c) 2017, 2020 ADLINK Technology Inc. +# Copyright (c) 2022 ZettaScale Technology # # This program and the accompanying materials are made available under the # terms of the Eclipse Public License 2.0 which is available at @@ -9,7 +9,7 @@ # SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 # # Contributors: -# ADLINK zenoh team, +# ZettaScale Zenoh Team, # name: Release diff --git a/Cargo.toml b/Cargo.toml index 2aa462c..209aa6c 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,5 +1,5 @@ # -# Copyright (c) 2017, 2020 ADLINK Technology Inc. +# Copyright (c) 2022 ZettaScale Technology # # This program and the accompanying materials are made available under the # terms of the Eclipse Public License 2.0 which is available at @@ -9,7 +9,7 @@ # SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 # # Contributors: -# ADLINK zenoh team, +# ZettaScale Zenoh Team, # [package] name = "zenoh_backend_rocksdb" @@ -17,8 +17,8 @@ version = "0.6.0-dev.0" authors = [ "kydos ", "Julien Enoch ", - "Olivier Hécart ", - "Luca Cominardi ", + "Olivier Hécart ", + "Luca Cominardi ", ] edition = "2018" @@ -50,7 +50,7 @@ rustc_version = "0.4.0" [package.metadata.deb] name = "zenoh-backend-rocksdb" maintainer = "zenoh-dev@eclipse.org" -copyright = "2017, 2020 ADLINK Technology Inc." +copyright = "2022 ZettaScale Technology" section = "net" license-file = ["LICENSE", "0"] depends = "zenoh-plugin-storages (=0.6.0~dev.0)" diff --git a/build.rs b/build.rs index b590501..fa13b28 100644 --- a/build.rs +++ b/build.rs @@ -1,4 +1,4 @@ -// Copyright (c) 2017, 2020 ADLINK Technology Inc. +// Copyright (c) 2022 ZettaScale Technology // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License 2.0 which is available at @@ -8,7 +8,7 @@ // SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 // // Contributors: -// ADLINK zenoh team, +// ZettaScale Zenoh Team, // fn main() { // Add rustc version to zenohd diff --git a/src/lib.rs b/src/lib.rs index 8e7929b..9360638 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -1,5 +1,5 @@ // -// Copyright (c) 2017, 2020 ADLINK Technology Inc. +// Copyright (c) 2022 ZettaScale Technology // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License 2.0 which is available at @@ -9,7 +9,7 @@ // SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 // // Contributors: -// ADLINK zenoh team, +// ZettaScale Zenoh Team, // use async_std::sync::{Arc, Mutex};