chore: update licenses

This commit is contained in:
iff 2024-12-29 16:16:13 +01:00
parent 3c98a66759
commit 96ac92414b
11 changed files with 60 additions and 18 deletions

View file

@ -232,3 +232,9 @@ This project is hosted at various sites, choose the one that suits you best:
- [GitHub](https://github.com/iffse/pay-respects)
- [GitLab](https://gitlab.com/iffse/pay-respects)
## Licenses
- **Binaries**: AGPL-3.0
- Core and modules
- **Libraries**: MPL-2.0
- Parser and utils

View file

@ -1,3 +1,19 @@
// pay-respects-ai-module: Request AI suggestions for command errors
// Copyright (C) 2024 iff
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU Affero 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 Affero General Public License for more details.
// You should have received a copy of the GNU Affero General Public License
// along with this program. If not, see <https://www.gnu.org/licenses/>.
use crate::requests::ai_suggestion;
use colored::Colorize;
use textwrap::fill;

View file

@ -7,7 +7,7 @@ edition = "2021"
description = "Runtime rules module for the pay-respects CLI tool"
homepage = "https://codeberg.org/iff/pay-respects"
repository = "https://github.com/iffse/pay-respects"
license = "AGPL-3.0"
license = "AGPL-3.0-or-later"
include = ["**/*.rs"]

View file

@ -1,3 +1,19 @@
// pay-respects-runtime-module: Runtime parsing of rules
// Copyright (C) 2024 iff
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU Affero 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 Affero General Public License for more details.
// You should have received a copy of the GNU Affero General Public License
// along with this program. If not, see <https://www.gnu.org/licenses/>.
mod replaces;
mod rules;

View file

@ -6,7 +6,7 @@ edition = "2021"
# for crates.io
description = "Compile time rule parser for the pay-respects CLI tool"
repository = "https://github.com/iffse/pay-respects"
license = "AGPL-3.0-or-later"
license = "MPL-2.0"
include = [
"**/*.rs",
"**/*.toml",

View file

@ -1,18 +1,6 @@
// pay-respects-parser: Compile time rule parser for pay-respects
// Copyright (C) 2023 iff
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU Affero 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 Affero General Public License for more details.
// You should have received a copy of the GNU Affero General Public License
// along with this program. If not, see <https://www.gnu.org/licenses/>.
// This Source Code Form is subject to the terms of the Mozilla Public
// License, v. 2.0. If a copy of the MPL was not distributed with this
// file, You can obtain one at http://mozilla.org/MPL/2.0/.
use std::path::Path;

View file

@ -1,3 +1,7 @@
// This Source Code Form is subject to the terms of the Mozilla Public
// License, v. 2.0. If a copy of the MPL was not distributed with this
// file, You can obtain one at http://mozilla.org/MPL/2.0/.
use proc_macro2::TokenStream as TokenStream2;
use quote::quote;

View file

@ -7,7 +7,7 @@ edition = "2021"
description = "Utilities for the pay-respects CLI tool"
homepage = "https://codeberg.org/iff/pay-respects"
repository = "https://github.com/iffse/pay-respects"
license = "AGPL-3.0-or-later"
license = "MPL-2.0"
include = ["**/*.rs"]
[dependencies]

View file

@ -1,3 +1,7 @@
// This Source Code Form is subject to the terms of the Mozilla Public
// License, v. 2.0. If a copy of the MPL was not distributed with this
// file, You can obtain one at http://mozilla.org/MPL/2.0/.
use crate::files::*;
use regex_lite::Regex;

View file

@ -1,3 +1,7 @@
// This Source Code Form is subject to the terms of the Mozilla Public
// License, v. 2.0. If a copy of the MPL was not distributed with this
// file, You can obtain one at http://mozilla.org/MPL/2.0/.
use crate::evals::find_similar;
pub fn get_path_files() -> Vec<String> {

View file

@ -1,2 +1,6 @@
// This Source Code Form is subject to the terms of the Mozilla Public
// License, v. 2.0. If a copy of the MPL was not distributed with this
// file, You can obtain one at http://mozilla.org/MPL/2.0/.
pub mod evals;
pub mod files;