From 04eaec69d86b963bf3e372fe865d9bc6c958e20c Mon Sep 17 00:00:00 2001 From: Ralf Zerres Date: Sun, 23 May 2021 14:45:01 +0200 Subject: [PATCH] Update copyright and year Signed-off-by: Ralf Zerres --- advotracker_build.rs | 7 +++++++ migrations/2020-06-28-140423_advotracker/down.sql | 4 ++-- migrations/2020-06-28-140423_advotracker/up.sql | 4 ++-- src/lib.rs | 4 ++-- src/models/claims.rs | 4 ++-- src/models/harms.rs | 4 ++-- src/models/insert.rs | 4 ++-- src/models/mod.rs | 4 ++-- src/models/roles.rs | 4 ++-- src/models/traits/trait.rs | 4 ++-- src/models/user_roles.rs | 4 ++-- src/models/users.rs | 4 ++-- src/schema.rs | 7 +++++++ 13 files changed, 36 insertions(+), 22 deletions(-) diff --git a/advotracker_build.rs b/advotracker_build.rs index a74f6e2..eda52cd 100644 --- a/advotracker_build.rs +++ b/advotracker_build.rs @@ -1,3 +1,10 @@ +// SPDX-License-Identifier: 0BSD, MIT +/* + * advotracker - Hotline tackingtool for Advocats + * + * Copyright 2020-2021 Ralf Zerres + */ + fn main() { println!("hey cargo"); //println!("cargo:rustc-link-lib=dylib=advotracker_db.so"); diff --git a/migrations/2020-06-28-140423_advotracker/down.sql b/migrations/2020-06-28-140423_advotracker/down.sql index e910d0d..b00149c 100644 --- a/migrations/2020-06-28-140423_advotracker/down.sql +++ b/migrations/2020-06-28-140423_advotracker/down.sql @@ -1,8 +1,8 @@ +// SPDX-License-Identifier: (0BSD or MIT) /* * advotracker - Hotline tackingtool for Advocats * - * Copyright 2020 Ralf Zerres - * SPDX-License-Identifier: 0BSD + * Copyright 2020-2021 Ralf Zerres */ DROP INDEX IF EXISTS NumberHarm_ix_numberHarm; diff --git a/migrations/2020-06-28-140423_advotracker/up.sql b/migrations/2020-06-28-140423_advotracker/up.sql index 2bb20bf..908a436 100644 --- a/migrations/2020-06-28-140423_advotracker/up.sql +++ b/migrations/2020-06-28-140423_advotracker/up.sql @@ -1,8 +1,8 @@ +// SPDX-License-Identifier: (0BSD or MIT) /* * advotracker - Hotline tackingtool for Advocats * - * Copyright 2020 Ralf Zerres - * SPDX-License-Identifier: (0BSD, MIT) + * Copyright 2020-2021 Ralf Zerres */ -- echo ".read | diff --git a/src/lib.rs b/src/lib.rs index 5a98a32..75ea981 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -1,8 +1,8 @@ +// SPDX-License-Identifier: 0BSD, MIT /* * advotracker - Hotline tackingtool for Advocats * - * Copyright 2019 Ralf Zerres - * SPDX-License-Identifier: (0BSD or MIT) + * Copyright 2020-2021 Ralf Zerres */ #![warn(missing_debug_implementation, missing_docs, rust_2018_compatibility, rust_2018_idioms)] diff --git a/src/models/claims.rs b/src/models/claims.rs index 7042272..9a05e1f 100644 --- a/src/models/claims.rs +++ b/src/models/claims.rs @@ -1,8 +1,8 @@ +// SPDX-License-Identifier: (0BSD or MIT) /* * advotracker - Hotline tackingtool for Advocats * - * Copyright 2020 Ralf Zerres - * SPDX-License-Identifier: (0BSD or MIT) + * Copyright 2020-2021 Ralf Zerres */ use crate::schema::claim; diff --git a/src/models/harms.rs b/src/models/harms.rs index 4c1f9b9..5c7df41 100644 --- a/src/models/harms.rs +++ b/src/models/harms.rs @@ -1,8 +1,8 @@ +// SPDX-License-Identifier: (0BSD or MIT) /* * advotracker - Hotline tackingtool for Advocats * - * Copyright 2020 Ralf Zerres - * SPDX-License-Identifier: (0BSD or MIT) + * Copyright 2020-2021 Ralf Zerres */ use chrono::NaiveDateTime; diff --git a/src/models/insert.rs b/src/models/insert.rs index 29f48d2..b7ff521 100644 --- a/src/models/insert.rs +++ b/src/models/insert.rs @@ -1,8 +1,8 @@ +// SPDX-License-Identifier: (0BSD or MIT) /* * advotracker - Hotline tackingtool for Advocats * - * Copyright 2020 Ralf Zerres - * SPDX-License-Identifier: (0BSD or MIT) + * Copyright 2020-2021 Ralf Zerres */ use crate::schema::*; diff --git a/src/models/mod.rs b/src/models/mod.rs index eb33c97..7819c95 100644 --- a/src/models/mod.rs +++ b/src/models/mod.rs @@ -1,8 +1,8 @@ +// SPDX-License-Identifier: (0BSD or MIT) /* * advotracker - Hotline tackingtool for Advocats * - * Copyright 2020 Ralf Zerres - * SPDX-License-Identifier: (0BSD or MIT) + * Copyright 2020-2021 Ralf Zerres */ /// defining roles diff --git a/src/models/roles.rs b/src/models/roles.rs index c0d9003..9a2f8af 100644 --- a/src/models/roles.rs +++ b/src/models/roles.rs @@ -1,8 +1,8 @@ +// SPDX-License-Identifier: (0BSD or MIT) /* * advotracker - Hotline tackingtool for Advocats * - * Copyright 2020 Ralf Zerres - * SPDX-License-Identifier: (0BSD or MIT) + * Copyright 2020-2021 Ralf Zerres */ use chrono::NaiveDateTime; diff --git a/src/models/traits/trait.rs b/src/models/traits/trait.rs index 6e16c32..b9350b4 100644 --- a/src/models/traits/trait.rs +++ b/src/models/traits/trait.rs @@ -1,8 +1,8 @@ +// SPDX-License-Identifier: (0BSD or MIT) /* * advotracker - Hotline tackingtool for Advocats * - * Copyright 2020 Ralf Zerres - * SPDX-License-Identifier: (0BSD or MIT) + * Copyright 2020-2021 Ralf Zerres */ // bring models into scope diff --git a/src/models/user_roles.rs b/src/models/user_roles.rs index eee2ffc..0f3b88b 100644 --- a/src/models/user_roles.rs +++ b/src/models/user_roles.rs @@ -1,8 +1,8 @@ +// SPDX-License-Identifier: (0BSD or MIT) /* * advotracker - Hotline tackingtool for Advocats * - * Copyright 2020 Ralf Zerres - * SPDX-License-Identifier: (0BSD or MIT) + * Copyright 2020-2021 Ralf Zerres */ use crate::schema::user_roles; diff --git a/src/models/users.rs b/src/models/users.rs index 5d0437f..fc4057a 100644 --- a/src/models/users.rs +++ b/src/models/users.rs @@ -1,8 +1,8 @@ +// SPDX-License-Identifier: (0BSD or MIT) /* * advotracker - Hotline tackingtool for Advocats * - * Copyright 2020 Ralf Zerres - * SPDX-License-Identifier: (0BSD or MIT) + * Copyright 2020-2021 Ralf Zerres */ use chrono::NaiveDateTime; diff --git a/src/schema.rs b/src/schema.rs index eb93cfb..1305a05 100644 --- a/src/schema.rs +++ b/src/schema.rs @@ -1,3 +1,10 @@ +// SPDX-License-Identifier: 0BSD, MIT +/* + * advotracker - Hotline tackingtool for Advocats + * + * Copyright 2020-2021 Ralf Zerres + */ + #![allow(missing_docs)] table! {