From cbb1457d62e60e6860320951e08b24b2c1b4d4c8 Mon Sep 17 00:00:00 2001 From: Matthias Beyer Date: Wed, 13 Jan 2021 08:31:24 +0100 Subject: Add LICENSE file and license headers Signed-off-by: Matthias Beyer --- src/db/connection.rs | 10 ++++++++++ src/db/mod.rs | 10 ++++++++++ src/db/models/artifact.rs | 10 ++++++++++ src/db/models/endpoint.rs | 10 ++++++++++ src/db/models/envvar.rs | 10 ++++++++++ src/db/models/githash.rs | 10 ++++++++++ src/db/models/image.rs | 10 ++++++++++ src/db/models/job.rs | 10 ++++++++++ src/db/models/job_env.rs | 10 ++++++++++ src/db/models/mod.rs | 10 ++++++++++ src/db/models/package.rs | 10 ++++++++++ src/db/models/submit.rs | 10 ++++++++++ 12 files changed, 120 insertions(+) (limited to 'src/db') diff --git a/src/db/connection.rs b/src/db/connection.rs index 98c24ce..ae1422d 100644 --- a/src/db/connection.rs +++ b/src/db/connection.rs @@ -1,3 +1,13 @@ +// +// Copyright (c) 2020-2021 science+computing ag and other contributors +// +// This program and the accompanying materials are made +// available under the terms of the Eclipse Public License 2.0 +// which is available at https://www.eclipse.org/legal/epl-2.0/ +// +// SPDX-License-Identifier: EPL-2.0 +// + use anyhow::Error; use anyhow::Result; use clap::ArgMatches; diff --git a/src/db/mod.rs b/src/db/mod.rs index 8134951..961a547 100644 --- a/src/db/mod.rs +++ b/src/db/mod.rs @@ -1,3 +1,13 @@ +// +// Copyright (c) 2020-2021 science+computing ag and other contributors +// +// This program and the accompanying materials are made +// available under the terms of the Eclipse Public License 2.0 +// which is available at https://www.eclipse.org/legal/epl-2.0/ +// +// SPDX-License-Identifier: EPL-2.0 +// + mod connection; pub use connection::*; diff --git a/src/db/models/artifact.rs b/src/db/models/artifact.rs index 4faf7c4..01de301 100644 --- a/src/db/models/artifact.rs +++ b/src/db/models/artifact.rs @@ -1,3 +1,13 @@ +// +// Copyright (c) 2020-2021 science+computing ag and other contributors +// +// This program and the accompanying materials are made +// available under the terms of the Eclipse Public License 2.0 +// which is available at https://www.eclipse.org/legal/epl-2.0/ +// +// SPDX-License-Identifier: EPL-2.0 +// + use std::path::PathBuf; use crate::filestore::path::ArtifactPath; diff --git a/src/db/models/endpoint.rs b/src/db/models/endpoint.rs index d81fbfd..9c0e090 100644 --- a/src/db/models/endpoint.rs +++ b/src/db/models/endpoint.rs @@ -1,3 +1,13 @@ +// +// Copyright (c) 2020-2021 science+computing ag and other contributors +// +// This program and the accompanying materials are made +// available under the terms of the Eclipse Public License 2.0 +// which is available at https://www.eclipse.org/legal/epl-2.0/ +// +// SPDX-License-Identifier: EPL-2.0 +// + use anyhow::Error; use anyhow::Result; use diesel::PgConnection; diff --git a/src/db/models/envvar.rs b/src/db/models/envvar.rs index 7e5ac7d..c1c6437 100644 --- a/src/db/models/envvar.rs +++ b/src/db/models/envvar.rs @@ -1,3 +1,13 @@ +// +// Copyright (c) 2020-2021 science+computing ag and other contributors +// +// This program and the accompanying materials are made +// available under the terms of the Eclipse Public License 2.0 +// which is available at https://www.eclipse.org/legal/epl-2.0/ +// +// SPDX-License-Identifier: EPL-2.0 +// + use anyhow::Error; use anyhow::Result; use diesel::PgConnection; diff --git a/src/db/models/githash.rs b/src/db/models/githash.rs index df7937c..7415c88 100644 --- a/src/db/models/githash.rs +++ b/src/db/models/githash.rs @@ -1,3 +1,13 @@ +// +// Copyright (c) 2020-2021 science+computing ag and other contributors +// +// This program and the accompanying materials are made +// available under the terms of the Eclipse Public License 2.0 +// which is available at https://www.eclipse.org/legal/epl-2.0/ +// +// SPDX-License-Identifier: EPL-2.0 +// + use anyhow::Error; use anyhow::Result; use diesel::PgConnection; diff --git a/src/db/models/image.rs b/src/db/models/image.rs index 5032039..2295187 100644 --- a/src/db/models/image.rs +++ b/src/db/models/image.rs @@ -1,3 +1,13 @@ +// +// Copyright (c) 2020-2021 science+computing ag and other contributors +// +// This program and the accompanying materials are made +// available under the terms of the Eclipse Public License 2.0 +// which is available at https://www.eclipse.org/legal/epl-2.0/ +// +// SPDX-License-Identifier: EPL-2.0 +// + use anyhow::Error; use anyhow::Result; use diesel::PgConnection; diff --git a/src/db/models/job.rs b/src/db/models/job.rs index d1cbd3a..070e830 100644 --- a/src/db/models/job.rs +++ b/src/db/models/job.rs @@ -1,3 +1,13 @@ +// +// Copyright (c) 2020-2021 science+computing ag and other contributors +// +// This program and the accompanying materials are made +// available under the terms of the Eclipse Public License 2.0 +// which is available at https://www.eclipse.org/legal/epl-2.0/ +// +// SPDX-License-Identifier: EPL-2.0 +// + use anyhow::Error; use anyhow::Result; use diesel::PgConnection; diff --git a/src/db/models/job_env.rs b/src/db/models/job_env.rs index f2c5fb1..1fa6c03 100644 --- a/src/db/models/job_env.rs +++ b/src/db/models/job_env.rs @@ -1,3 +1,13 @@ +// +// Copyright (c) 2020-2021 science+computing ag and other contributors +// +// This program and the accompanying materials are made +// available under the terms of the Eclipse Public License 2.0 +// which is available at https://www.eclipse.org/legal/epl-2.0/ +// +// SPDX-License-Identifier: EPL-2.0 +// + use anyhow::Result; use diesel::PgConnection; use diesel::prelude::*; diff --git a/src/db/models/mod.rs b/src/db/models/mod.rs index 8e1eb8e..cd7aa72 100644 --- a/src/db/models/mod.rs +++ b/src/db/models/mod.rs @@ -1,3 +1,13 @@ +// +// Copyright (c) 2020-2021 science+computing ag and other contributors +// +// This program and the accompanying materials are made +// available under the terms of the Eclipse Public License 2.0 +// which is available at https://www.eclipse.org/legal/epl-2.0/ +// +// SPDX-License-Identifier: EPL-2.0 +// + mod artifact; pub use artifact::*; diff --git a/src/db/models/package.rs b/src/db/models/package.rs index 328efcc..a1fd01b 100644 --- a/src/db/models/package.rs +++ b/src/db/models/package.rs @@ -1,3 +1,13 @@ +// +// Copyright (c) 2020-2021 science+computing ag and other contributors +// +// This program and the accompanying materials are made +// available under the terms of the Eclipse Public License 2.0 +// which is available at https://www.eclipse.org/legal/epl-2.0/ +// +// SPDX-License-Identifier: EPL-2.0 +// + use std::ops::Deref; use anyhow::Error; diff --git a/src/db/models/submit.rs b/src/db/models/submit.rs index 731012a..e6bc8af 100644 --- a/src/db/models/submit.rs +++ b/src/db/models/submit.rs @@ -1,3 +1,13 @@ +// +// Copyright (c) 2020-2021 science+computing ag and other contributors +// +// This program and the accompanying materials are made +// available under the terms of the Eclipse Public License 2.0 +// which is available at https://www.eclipse.org/legal/epl-2.0/ +// +// SPDX-License-Identifier: EPL-2.0 +// + use anyhow::anyhow; use anyhow::Context; use anyhow::Error; -- cgit v1.2.3