License and license related flags #1

Merged
cafkafk merged 13 commits from dev into main 2023-06-09 18:36:30 +02:00
6 changed files with 95 additions and 1 deletions
Showing only changes of commit 7c7d9f6129 - Show all commits

View file

@ -1,3 +1,19 @@
// A Rust GitOps/symlinkfarm orchestrator inspired by GNU Stow.
// Copyright (C) 2023 Christina Sørensen <christina@cafkafk.com>
//
// 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 crate::utils::dir::home_dir;
use clap::{ArgAction, CommandFactory, Parser, Subcommand}; use clap::{ArgAction, CommandFactory, Parser, Subcommand};

View file

@ -1,3 +1,19 @@
// A Rust GitOps/symlinkfarm orchestrator inspired by GNU Stow.
// Copyright (C) 2023 Christina Sørensen <christina@cafkafk.com>
//
// 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 log::{debug, error, info, trace, warn};
use serde::{Deserialize, Serialize}; use serde::{Deserialize, Serialize};
use std::os::unix::fs::symlink; use std::os::unix::fs::symlink;

View file

@ -1,3 +1,19 @@
// A Rust GitOps/symlinkfarm orchestrator inspired by GNU Stow.
// Copyright (C) 2023 Christina Sørensen <christina@cafkafk.com>
//
// 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 log;
extern crate pretty_env_logger; extern crate pretty_env_logger;

View file

@ -1,2 +1,18 @@
// A Rust GitOps/symlinkfarm orchestrator inspired by GNU Stow.
// Copyright (C) 2023 Christina Sørensen <christina@cafkafk.com>
//
// 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 dir;
pub mod strings; pub mod strings;

View file

@ -1,3 +1,19 @@
// A Rust GitOps/symlinkfarm orchestrator inspired by GNU Stow.
// Copyright (C) 2023 Christina Sørensen <christina@cafkafk.com>
//
// 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)] #![feature(stmt_expr_attributes)]
use log::{debug, error, info, trace, warn}; use log::{debug, error, info, trace, warn};

View file

@ -1 +1,15 @@
// A Rust GitOps/symlinkfarm orchestrator inspired by GNU Stow.
// Copyright (C) 2023 Christina Sørensen <christina@cafkafk.com>
//
// 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.