From 7c7d9f61299b02f33d1e89bb6e05349c9b3903d0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christina=20S=C3=B8rensen?= Date: Fri, 9 Jun 2023 16:09:32 +0200 Subject: [PATCH] Added GPLv3 header to files in src/ MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This is what the GPLv3 recommends, as can be referred in the LICENSE file. Signed-off-by: Christina Sørensen --- src/cli.rs | 16 ++++++++++++++++ src/git.rs | 16 ++++++++++++++++ src/main.rs | 16 ++++++++++++++++ src/utils.rs | 16 ++++++++++++++++ src/utils/dir.rs | 16 ++++++++++++++++ src/utils/strings.rs | 16 +++++++++++++++- 6 files changed, 95 insertions(+), 1 deletion(-) diff --git a/src/cli.rs b/src/cli.rs index ad4d77d..e68cfe5 100644 --- a/src/cli.rs +++ b/src/cli.rs @@ -1,3 +1,19 @@ +// A Rust GitOps/symlinkfarm orchestrator inspired by GNU Stow. +// Copyright (C) 2023 Christina Sørensen +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program. If not, see https://www.gnu.org/gpl-3.0.html. + use crate::utils::dir::home_dir; use clap::{ArgAction, CommandFactory, Parser, Subcommand}; diff --git a/src/git.rs b/src/git.rs index e8afa9f..a293bbc 100644 --- a/src/git.rs +++ b/src/git.rs @@ -1,3 +1,19 @@ +// A Rust GitOps/symlinkfarm orchestrator inspired by GNU Stow. +// Copyright (C) 2023 Christina Sørensen +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program. If not, see https://www.gnu.org/gpl-3.0.html. + use log::{debug, error, info, trace, warn}; use serde::{Deserialize, Serialize}; use std::os::unix::fs::symlink; diff --git a/src/main.rs b/src/main.rs index d04b4bd..364cf24 100644 --- a/src/main.rs +++ b/src/main.rs @@ -1,3 +1,19 @@ +// A Rust GitOps/symlinkfarm orchestrator inspired by GNU Stow. +// Copyright (C) 2023 Christina Sørensen +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program. If not, see https://www.gnu.org/gpl-3.0.html. + extern crate log; extern crate pretty_env_logger; diff --git a/src/utils.rs b/src/utils.rs index 3c695bc..6c70879 100644 --- a/src/utils.rs +++ b/src/utils.rs @@ -1,2 +1,18 @@ +// A Rust GitOps/symlinkfarm orchestrator inspired by GNU Stow. +// Copyright (C) 2023 Christina Sørensen +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program. If not, see https://www.gnu.org/gpl-3.0.html. + pub mod dir; pub mod strings; diff --git a/src/utils/dir.rs b/src/utils/dir.rs index 14926c1..92c6889 100644 --- a/src/utils/dir.rs +++ b/src/utils/dir.rs @@ -1,3 +1,19 @@ +// A Rust GitOps/symlinkfarm orchestrator inspired by GNU Stow. +// Copyright (C) 2023 Christina Sørensen +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program. If not, see https://www.gnu.org/gpl-3.0.html. + #![feature(stmt_expr_attributes)] use log::{debug, error, info, trace, warn}; diff --git a/src/utils/strings.rs b/src/utils/strings.rs index 8b13789..9c73d33 100644 --- a/src/utils/strings.rs +++ b/src/utils/strings.rs @@ -1 +1,15 @@ - +// A Rust GitOps/symlinkfarm orchestrator inspired by GNU Stow. +// Copyright (C) 2023 Christina Sørensen +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program. If not, see https://www.gnu.org/gpl-3.0.html.