License and license related flags #1
6 changed files with 95 additions and 1 deletions
16
src/cli.rs
16
src/cli.rs
|
@ -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};
|
||||||
|
|
16
src/git.rs
16
src/git.rs
|
@ -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;
|
||||||
|
|
16
src/main.rs
16
src/main.rs
|
@ -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;
|
||||||
|
|
||||||
|
|
16
src/utils.rs
16
src/utils.rs
|
@ -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;
|
||||||
|
|
|
@ -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};
|
||||||
|
|
||||||
|
|
|
@ -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.
|
||||||
|
|
Loading…
Reference in a new issue