updated copyright years, fixed reuse compliance
This commit is contained in:
parent
66dd11397a
commit
0f9e414014
21 changed files with 21 additions and 31 deletions
|
@ -1,4 +1,4 @@
|
|||
# SPDX-FileCopyrightText: 2021 Lynnesbian
|
||||
# SPDX-FileCopyrightText: 2021-2022 Lynnesbian
|
||||
# SPDX-License-Identifier: CC0-1.0
|
||||
|
||||
---
|
||||
|
|
3
.gitattributes
vendored
3
.gitattributes
vendored
|
@ -1 +1,4 @@
|
|||
# SPDX-FileCopyrightText: 2021-2022 Lynnesbian
|
||||
# SPDX-License-Identifier: CC0-1.0
|
||||
|
||||
doc/screenshot.png filter=lfs diff=lfs merge=lfs -text
|
||||
|
|
2
.gitignore
vendored
2
.gitignore
vendored
|
@ -1,4 +1,4 @@
|
|||
# SPDX-FileCopyrightText: 2021 Lynnesbian
|
||||
# SPDX-FileCopyrightText: 2021-2022 Lynnesbian
|
||||
# SPDX-License-Identifier: CC0-1.0
|
||||
|
||||
/target
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# SPDX-FileCopyrightText: 2021 Lynnesbian
|
||||
# SPDX-FileCopyrightText: 2021-2022 Lynnesbian
|
||||
# SPDX-License-Identifier: CC0-1.0
|
||||
|
||||
image: "rust:latest"
|
||||
|
|
|
@ -3,7 +3,7 @@ Upstream-Name: fif
|
|||
Upstream-Contact: Lynnesbian <lynne@bune.city>
|
||||
Source: https://gitlab.com/Lynnesbian/fif/
|
||||
|
||||
Files: .idea/**/* .idea/* Cargo.lock .mailmap .kateproject
|
||||
Files: .idea/**/* .idea/* Cargo.lock .mailmap .kateproject *.toml
|
||||
Copyright: Lynnesbian
|
||||
License: CC0-1.0
|
||||
|
||||
|
|
|
@ -1,6 +1,3 @@
|
|||
# SPDX-FileCopyrightText: 2021 Lynnesbian
|
||||
# SPDX-License-Identifier: CC0-1.0
|
||||
|
||||
[package]
|
||||
name = "fif"
|
||||
description = "A command-line tool for detecting and optionally correcting files with incorrect extensions."
|
||||
|
|
|
@ -1,5 +1,2 @@
|
|||
# SPDX-FileCopyrightText: 2021 Lynnesbian
|
||||
# SPDX-License-Identifier: CC0-1.0
|
||||
|
||||
[build.env]
|
||||
passthrough = ["RUST_BACKTRACE", "RUST_LOG", "FIF_LOG"]
|
||||
|
|
2
build.rs
2
build.rs
|
@ -1,4 +1,4 @@
|
|||
// SPDX-FileCopyrightText: 2021 Lynnesbian
|
||||
// SPDX-FileCopyrightText: 2021-2022 Lynnesbian
|
||||
// SPDX-License-Identifier: LGPL-3.0-or-later
|
||||
|
||||
use std::process::Command;
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#!/bin/bash
|
||||
|
||||
# SPDX-FileCopyrightText: 2021 Lynnesbian
|
||||
# SPDX-FileCopyrightText: 2021-2022 Lynnesbian
|
||||
# SPDX-License-Identifier: CC0-1.0
|
||||
|
||||
set -e
|
||||
|
|
|
@ -1,6 +1,3 @@
|
|||
# SPDX-FileCopyrightText: 2021 Lynnesbian
|
||||
# SPDX-License-Identifier: CC0-1.0
|
||||
|
||||
# avoid-breaking-exported-api = false # only available on nightly for now
|
||||
cognitive-complexity-threshold = 15
|
||||
msrv = "1.54.0"
|
||||
|
|
|
@ -1,6 +1,3 @@
|
|||
# SPDX-FileCopyrightText: 2021 Lynnesbian
|
||||
# SPDX-License-Identifier: CC0-1.0
|
||||
|
||||
max_width = 120
|
||||
fn_single_line = true
|
||||
hard_tabs = true
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// SPDX-FileCopyrightText: 2021 Lynnesbian
|
||||
// SPDX-FileCopyrightText: 2021-2022 Lynnesbian
|
||||
// SPDX-License-Identifier: LGPL-3.0-or-later
|
||||
|
||||
//! File handling - scanning, detecting MIME types, and so on.
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// SPDX-FileCopyrightText: 2021 Lynnesbian
|
||||
// SPDX-FileCopyrightText: 2021-2022 Lynnesbian
|
||||
// SPDX-License-Identifier: LGPL-3.0-or-later
|
||||
|
||||
//! The [`Findings`] and [`ScanError`] structs, used for conveying whether a given file was able to be scanned, whether
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// SPDX-FileCopyrightText: 2021 Lynnesbian
|
||||
// SPDX-FileCopyrightText: 2021-2022 Lynnesbian
|
||||
// SPDX-License-Identifier: LGPL-3.0-or-later
|
||||
|
||||
//! Logic for handling the various output formats that fif can output to.
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// SPDX-FileCopyrightText: 2021 Lynnesbian
|
||||
// SPDX-FileCopyrightText: 2021-2022 Lynnesbian
|
||||
// SPDX-License-Identifier: LGPL-3.0-or-later
|
||||
|
||||
//! This library consists of all of the things fif needs to run. It only exists as a library to separate code, and to
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// SPDX-FileCopyrightText: 2021 Lynnesbian
|
||||
// SPDX-FileCopyrightText: 2021-2022 Lynnesbian
|
||||
// SPDX-License-Identifier: LGPL-3.0-or-later
|
||||
|
||||
// fif - a command-line tool for detecting and optionally correcting files with incorrect extensions.
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// SPDX-FileCopyrightText: 2021 Lynnesbian
|
||||
// SPDX-FileCopyrightText: 2021-2022 Lynnesbian
|
||||
// SPDX-License-Identifier: LGPL-3.0-or-later
|
||||
|
||||
//! Backend-neutral Mime database abstraction.
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// SPDX-FileCopyrightText: 2021 Lynnesbian
|
||||
// SPDX-FileCopyrightText: 2021-2022 Lynnesbian
|
||||
// SPDX-License-Identifier: LGPL-3.0-or-later
|
||||
|
||||
//! Command line argument parsing logic and associated functions.
|
||||
|
@ -58,8 +58,8 @@ pub enum Prompt {
|
|||
long_version = CLAP_LONG_VERSION.as_str(),
|
||||
author = option_env!("CARGO_PKG_AUTHORS").unwrap_or("Lynnesbian"),
|
||||
about = option_env!("CARGO_PKG_DESCRIPTION").unwrap_or("File Info Fixer"),
|
||||
before_help = "Copyright © 2021 Lynnesbian under the GPL3 (or later) License.",
|
||||
after_long_help = "Copyright © 2021 Lynnesbian\n\
|
||||
before_help = "Copyright © 2021-2022 Lynnesbian under the GPL3 (or later) License.",
|
||||
after_long_help = "Copyright © 2021-2022 Lynnesbian\n\
|
||||
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.",
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
// SPDX-FileCopyrightText: 2021 2021 Lynnesbian
|
||||
// SPDX-FileCopyrightText: 2021 Lynnesbian
|
||||
// SPDX-FileCopyrightText: 2021-2022 Lynnesbian
|
||||
// SPDX-License-Identifier: LGPL-3.0-or-later
|
||||
|
||||
use std::collections::{BTreeMap, HashMap};
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// SPDX-FileCopyrightText: 2021 Lynnesbian
|
||||
// SPDX-FileCopyrightText: 2021-2022 Lynnesbian
|
||||
// SPDX-License-Identifier: LGPL-3.0-or-later
|
||||
|
||||
//! Various minor utilities.
|
||||
|
|
2
test.py
2
test.py
|
@ -1,6 +1,6 @@
|
|||
#!/usr/bin/env python
|
||||
|
||||
# SPDX-FileCopyrightText: 2021 Lynnesbian
|
||||
# SPDX-FileCopyrightText: 2021-2022 Lynnesbian
|
||||
#
|
||||
# SPDX-License-Identifier: LGPL-3.0-or-later
|
||||
|
||||
|
|
Loading…
Reference in a new issue