Skip to content

Commit

Permalink
Update copyright headers (close #9)
Browse files Browse the repository at this point in the history
  • Loading branch information
JEnoch committed Apr 7, 2022
1 parent 0c6eb1b commit 91fb741
Show file tree
Hide file tree
Showing 5 changed files with 48 additions and 49 deletions.
75 changes: 37 additions & 38 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -9,23 +9,22 @@
# SPDX-License-Identifier: EPL-2.0 OR Apache-2.0
#
# Contributors:
# ADLINK zenoh team, <zenoh@adlink-labs.tech>
# ZettaScale Zenoh Team, <zenoh@zettascale.tech>
#
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:
Expand All @@ -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
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -9,7 +9,7 @@
# SPDX-License-Identifier: EPL-2.0 OR Apache-2.0
#
# Contributors:
# ADLINK zenoh team, <zenoh@adlink-labs.tech>
# ZettaScale Zenoh Team, <zenoh@zettascale.tech>
#
name: Release

Expand Down
10 changes: 5 additions & 5 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -9,16 +9,16 @@
# SPDX-License-Identifier: EPL-2.0 OR Apache-2.0
#
# Contributors:
# ADLINK zenoh team, <zenoh@adlink-labs.tech>
# ZettaScale Zenoh Team, <zenoh@zettascale.tech>
#
[package]
name = "zenoh_backend_rocksdb"
version = "0.6.0-dev.0"
authors = [
"kydos <[email protected]>",
"Julien Enoch <[email protected]>",
"Olivier Hécart <olivier.hecart@adlinktech.com>",
"Luca Cominardi <luca.cominardi@adlinktech.com>",
"Olivier Hécart <olivier.hecart@zettascale.tech>",
"Luca Cominardi <luca.cominardi@zettascale.tech>",
]
edition = "2018"

Expand Down Expand Up @@ -50,7 +50,7 @@ rustc_version = "0.4.0"
[package.metadata.deb]
name = "zenoh-backend-rocksdb"
maintainer = "[email protected]"
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)"
4 changes: 2 additions & 2 deletions build.rs
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -8,7 +8,7 @@
// SPDX-License-Identifier: EPL-2.0 OR Apache-2.0
//
// Contributors:
// ADLINK zenoh team, <zenoh@adlink-labs.tech>
// ZettaScale Zenoh Team, <zenoh@zettascale.tech>
//
fn main() {
// Add rustc version to zenohd
Expand Down
4 changes: 2 additions & 2 deletions src/lib.rs
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -9,7 +9,7 @@
// SPDX-License-Identifier: EPL-2.0 OR Apache-2.0
//
// Contributors:
// ADLINK zenoh team, <zenoh@adlink-labs.tech>
// ZettaScale Zenoh Team, <zenoh@zettascale.tech>
//

use async_std::sync::{Arc, Mutex};
Expand Down

0 comments on commit 91fb741

Please sign in to comment.