From dbc433ccbc48261dcc36f7506f5a52a800d4d02e Mon Sep 17 00:00:00 2001 From: Nikolay Govorov Date: Fri, 24 Jul 2026 02:39:12 +0100 Subject: Unified licenses headers --- .cargo/config.toml | 2 +- .github/workflows/build.yml | 2 +- .github/workflows/legal.yml | 2 +- .gitignore | 2 +- Cargo.toml | 2 +- Makefile | 2 +- REUSE.toml | 3 +++ crates/base/Cargo.toml | 2 +- crates/base/src/lib.rs | 2 +- crates/base/src/serde.rs | 2 +- crates/recluse/Cargo.toml | 2 +- crates/recluse/build.rs | 2 +- crates/recluse/src/assets/base.css | 2 +- crates/recluse/src/config.rs | 2 +- crates/recluse/src/controller_backend.rs | 2 +- crates/recluse/src/controller_web.rs | 2 +- crates/recluse/src/main.rs | 2 +- crates/recluse/src/proxy.rs | 2 +- crates/recluse/src/storage.rs | 2 +- crates/recluse/src/telemetry.rs | 2 +- crates/repos/Cargo.toml | 2 +- crates/repos/src/go.rs | 2 +- crates/repos/src/lib.rs | 2 +- crates/repos/src/zig.rs | 2 +- deny.toml | 2 +- mise.toml | 2 +- nfpm.yaml | 2 +- pkg/recluse.service | 2 +- pkg/recluse.toml | 2 +- pkg/scripts/postinstall.sh | 2 +- pkg/scripts/preinstall.sh | 2 +- pkg/scripts/preremove.sh | 2 +- tests/smoke/Cargo.toml | 2 +- tests/smoke/run-local.sh | 2 +- tests/smoke/src/main.rs | 2 +- xtask/Cargo.toml | 2 +- xtask/build.rs | 2 +- xtask/src/lib.rs | 2 +- xtask/src/licenses.rs | 2 +- xtask/src/main.rs | 2 +- 40 files changed, 42 insertions(+), 39 deletions(-) diff --git a/.cargo/config.toml b/.cargo/config.toml index 12ffd68..6133d93 100644 --- a/.cargo/config.toml +++ b/.cargo/config.toml @@ -1,4 +1,4 @@ -# Copyright (c) 2026 Nikolay Govorov +# SPDX-FileCopyrightText: 2026 Nikolay Govorov # SPDX-License-Identifier: AGPL-3.0-or-later [alias] diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 4a41e24..2471a92 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -1,4 +1,4 @@ -# Copyright (c) 2026 Nikolay Govorov +# SPDX-FileCopyrightText: 2026 Nikolay Govorov # SPDX-License-Identifier: AGPL-3.0-or-later name: Build diff --git a/.github/workflows/legal.yml b/.github/workflows/legal.yml index b9f4880..3d6aa54 100644 --- a/.github/workflows/legal.yml +++ b/.github/workflows/legal.yml @@ -1,4 +1,4 @@ -# Copyright (c) 2026 Nikolay Govorov +# SPDX-FileCopyrightText: 2026 Nikolay Govorov # SPDX-License-Identifier: AGPL-3.0-or-later name: Legal diff --git a/.gitignore b/.gitignore index a46fdff..8b1a3f5 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,4 @@ -# Copyright (c) 2026 Nikolay Govorov +# SPDX-FileCopyrightText: 2026 Nikolay Govorov # SPDX-License-Identifier: AGPL-3.0-or-later /target diff --git a/Cargo.toml b/Cargo.toml index 1e72a79..475ca1f 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,4 +1,4 @@ -# Copyright (c) 2026 Nikolay Govorov +# SPDX-FileCopyrightText: 2026 Nikolay Govorov # SPDX-License-Identifier: AGPL-3.0-or-later [workspace] diff --git a/Makefile b/Makefile index c45d114..295d2da 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,4 @@ -# Copyright (c) 2026 Nikolay Govorov +# SPDX-FileCopyrightText: 2026 Nikolay Govorov # SPDX-License-Identifier: AGPL-3.0-or-later CARGO_LLVM_COV_VERSION = ^0.8 diff --git a/REUSE.toml b/REUSE.toml index f4a5d8e..081a640 100644 --- a/REUSE.toml +++ b/REUSE.toml @@ -1,3 +1,6 @@ +# SPDX-FileCopyrightText: 2026 Nikolay Govorov +# SPDX-License-Identifier: AGPL-3.0-or-later + version = 1 [[annotations]] diff --git a/crates/base/Cargo.toml b/crates/base/Cargo.toml index 0544b52..6eec5fe 100644 --- a/crates/base/Cargo.toml +++ b/crates/base/Cargo.toml @@ -1,4 +1,4 @@ -# Copyright (c) 2026 Nikolay Govorov +# SPDX-FileCopyrightText: 2026 Nikolay Govorov # SPDX-License-Identifier: AGPL-3.0-or-later [package] diff --git a/crates/base/src/lib.rs b/crates/base/src/lib.rs index 5ec3e7b..d22128e 100644 --- a/crates/base/src/lib.rs +++ b/crates/base/src/lib.rs @@ -1,4 +1,4 @@ -// Copyright (c) 2026 Nikolay Govorov +// SPDX-FileCopyrightText: 2026 Nikolay Govorov // SPDX-License-Identifier: AGPL-3.0-or-later pub mod serde; diff --git a/crates/base/src/serde.rs b/crates/base/src/serde.rs index 5c31190..a5dc205 100644 --- a/crates/base/src/serde.rs +++ b/crates/base/src/serde.rs @@ -1,4 +1,4 @@ -// Copyright (c) 2026 Nikolay Govorov +// SPDX-FileCopyrightText: 2026 Nikolay Govorov // SPDX-License-Identifier: AGPL-3.0-or-later use std::net::SocketAddr; diff --git a/crates/recluse/Cargo.toml b/crates/recluse/Cargo.toml index 45633cc..cdf8c42 100644 --- a/crates/recluse/Cargo.toml +++ b/crates/recluse/Cargo.toml @@ -1,4 +1,4 @@ -# Copyright (c) 2026 Nikolay Govorov +# SPDX-FileCopyrightText: 2026 Nikolay Govorov # SPDX-License-Identifier: AGPL-3.0-or-later [package] diff --git a/crates/recluse/build.rs b/crates/recluse/build.rs index e069cda..d5cdc6d 100644 --- a/crates/recluse/build.rs +++ b/crates/recluse/build.rs @@ -1,4 +1,4 @@ -// Copyright (c) 2026 Nikolay Govorov +// SPDX-FileCopyrightText: 2026 Nikolay Govorov // SPDX-License-Identifier: AGPL-3.0-or-later fn main() { diff --git a/crates/recluse/src/assets/base.css b/crates/recluse/src/assets/base.css index 4e8cb75..66503e7 100644 --- a/crates/recluse/src/assets/base.css +++ b/crates/recluse/src/assets/base.css @@ -1,4 +1,4 @@ -/* Copyright (c) 2026 Nikolay Govorov */ +/* SPDX-FileCopyrightText: 2026 Nikolay Govorov */ /* SPDX-License-Identifier: AGPL-3.0-or-later */ @font-face { diff --git a/crates/recluse/src/config.rs b/crates/recluse/src/config.rs index 58c21e9..b729729 100644 --- a/crates/recluse/src/config.rs +++ b/crates/recluse/src/config.rs @@ -1,4 +1,4 @@ -// Copyright (c) 2026 Nikolay Govorov +// SPDX-FileCopyrightText: 2026 Nikolay Govorov // SPDX-License-Identifier: AGPL-3.0-or-later use std::collections::HashMap; diff --git a/crates/recluse/src/controller_backend.rs b/crates/recluse/src/controller_backend.rs index 9e3c7a5..f97caa1 100644 --- a/crates/recluse/src/controller_backend.rs +++ b/crates/recluse/src/controller_backend.rs @@ -1,4 +1,4 @@ -// Copyright (c) 2026 Nikolay Govorov +// SPDX-FileCopyrightText: 2026 Nikolay Govorov // SPDX-License-Identifier: AGPL-3.0-or-later use std::sync::Arc; diff --git a/crates/recluse/src/controller_web.rs b/crates/recluse/src/controller_web.rs index 3311f25..fef09ee 100644 --- a/crates/recluse/src/controller_web.rs +++ b/crates/recluse/src/controller_web.rs @@ -1,4 +1,4 @@ -// Copyright (c) 2026 Nikolay Govorov +// SPDX-FileCopyrightText: 2026 Nikolay Govorov // SPDX-License-Identifier: AGPL-3.0-or-later use std::future::Future; diff --git a/crates/recluse/src/main.rs b/crates/recluse/src/main.rs index 8c841fd..a42eaee 100644 --- a/crates/recluse/src/main.rs +++ b/crates/recluse/src/main.rs @@ -1,4 +1,4 @@ -// Copyright (c) 2026 Nikolay Govorov +// SPDX-FileCopyrightText: 2026 Nikolay Govorov // SPDX-License-Identifier: AGPL-3.0-or-later mod config; diff --git a/crates/recluse/src/proxy.rs b/crates/recluse/src/proxy.rs index 2aa513e..16a322b 100644 --- a/crates/recluse/src/proxy.rs +++ b/crates/recluse/src/proxy.rs @@ -1,4 +1,4 @@ -// Copyright (c) 2026 Nikolay Govorov +// SPDX-FileCopyrightText: 2026 Nikolay Govorov // SPDX-License-Identifier: AGPL-3.0-or-later use bytes::Bytes; diff --git a/crates/recluse/src/storage.rs b/crates/recluse/src/storage.rs index a42cf81..bc751a7 100644 --- a/crates/recluse/src/storage.rs +++ b/crates/recluse/src/storage.rs @@ -1,4 +1,4 @@ -// Copyright (c) 2026 Nikolay Govorov +// SPDX-FileCopyrightText: 2026 Nikolay Govorov // SPDX-License-Identifier: AGPL-3.0-or-later // This class stores uploaded files and associated metadata. diff --git a/crates/recluse/src/telemetry.rs b/crates/recluse/src/telemetry.rs index 1abd6f6..df39fa0 100644 --- a/crates/recluse/src/telemetry.rs +++ b/crates/recluse/src/telemetry.rs @@ -1,4 +1,4 @@ -// Copyright (c) 2026 Nikolay Govorov +// SPDX-FileCopyrightText: 2026 Nikolay Govorov // SPDX-License-Identifier: AGPL-3.0-or-later use std::fmt::Debug; diff --git a/crates/repos/Cargo.toml b/crates/repos/Cargo.toml index abb8c84..01e3359 100644 --- a/crates/repos/Cargo.toml +++ b/crates/repos/Cargo.toml @@ -1,4 +1,4 @@ -# Copyright (c) 2026 Nikolay Govorov +# SPDX-FileCopyrightText: 2026 Nikolay Govorov # SPDX-License-Identifier: AGPL-3.0-or-later [package] diff --git a/crates/repos/src/go.rs b/crates/repos/src/go.rs index 32d0971..eb1a928 100644 --- a/crates/repos/src/go.rs +++ b/crates/repos/src/go.rs @@ -1,4 +1,4 @@ -// Copyright (c) 2026 Nikolay Govorov +// SPDX-FileCopyrightText: 2026 Nikolay Govorov // SPDX-License-Identifier: AGPL-3.0-or-later use std::time::Duration; diff --git a/crates/repos/src/lib.rs b/crates/repos/src/lib.rs index 572fa29..4191ea0 100644 --- a/crates/repos/src/lib.rs +++ b/crates/repos/src/lib.rs @@ -1,4 +1,4 @@ -// Copyright (c) 2026 Nikolay Govorov +// SPDX-FileCopyrightText: 2026 Nikolay Govorov // SPDX-License-Identifier: AGPL-3.0-or-later pub mod go; diff --git a/crates/repos/src/zig.rs b/crates/repos/src/zig.rs index d4b1640..996f35e 100644 --- a/crates/repos/src/zig.rs +++ b/crates/repos/src/zig.rs @@ -1,4 +1,4 @@ -// Copyright (c) 2026 Nikolay Govorov +// SPDX-FileCopyrightText: 2026 Nikolay Govorov // SPDX-License-Identifier: AGPL-3.0-or-later use std::collections::HashMap; diff --git a/deny.toml b/deny.toml index 0740542..cc39732 100644 --- a/deny.toml +++ b/deny.toml @@ -1,4 +1,4 @@ -# Copyright (c) 2026 Nikolay Govorov +# SPDX-FileCopyrightText: 2026 Nikolay Govorov # SPDX-License-Identifier: AGPL-3.0-or-later [licenses] diff --git a/mise.toml b/mise.toml index a38cdb0..adbeae1 100644 --- a/mise.toml +++ b/mise.toml @@ -9,5 +9,5 @@ experimental = true [task_config] dir = "{{cwd}}" includes = [ - "git::https://github.com/dimidiumlabs/infra.git//tasks?ref=69a62b0217e237ffcd461192e4d128bd10f4d45c", + "git::https://github.com/dimidiumlabs/infra.git//tasks?ref=f2506479af3e8eac34b675582878ac783a5effda", ] diff --git a/nfpm.yaml b/nfpm.yaml index 9237d6c..c53abb5 100644 --- a/nfpm.yaml +++ b/nfpm.yaml @@ -1,4 +1,4 @@ -# Copyright (c) 2026 Nikolay Govorov +# SPDX-FileCopyrightText: 2026 Nikolay Govorov # SPDX-License-Identifier: AGPL-3.0-or-later # yaml-language-server: $schema=https://nfpm.goreleaser.com/schema.json diff --git a/pkg/recluse.service b/pkg/recluse.service index ba78732..f3ab476 100644 --- a/pkg/recluse.service +++ b/pkg/recluse.service @@ -1,4 +1,4 @@ -# Copyright (c) 2026 Nikolay Govorov +# SPDX-FileCopyrightText: 2026 Nikolay Govorov # SPDX-License-Identifier: AGPL-3.0-or-later [Unit] diff --git a/pkg/recluse.toml b/pkg/recluse.toml index 1ca0df5..751672b 100644 --- a/pkg/recluse.toml +++ b/pkg/recluse.toml @@ -1,4 +1,4 @@ -# Copyright (c) 2026 Nikolay Govorov +# SPDX-FileCopyrightText: 2026 Nikolay Govorov # SPDX-License-Identifier: AGPL-3.0-or-later # recluse will dutifully indicate its user agent and protocols (for example, source for zig). diff --git a/pkg/scripts/postinstall.sh b/pkg/scripts/postinstall.sh index ae62154..204f44a 100644 --- a/pkg/scripts/postinstall.sh +++ b/pkg/scripts/postinstall.sh @@ -1,5 +1,5 @@ #!/bin/sh -# Copyright (c) 2026 Nikolay Govorov +# SPDX-FileCopyrightText: 2026 Nikolay Govorov # SPDX-License-Identifier: AGPL-3.0-or-later set -e diff --git a/pkg/scripts/preinstall.sh b/pkg/scripts/preinstall.sh index a6f43a9..95c374d 100644 --- a/pkg/scripts/preinstall.sh +++ b/pkg/scripts/preinstall.sh @@ -1,5 +1,5 @@ #!/bin/sh -# Copyright (c) 2026 Nikolay Govorov +# SPDX-FileCopyrightText: 2026 Nikolay Govorov # SPDX-License-Identifier: AGPL-3.0-or-later set -e diff --git a/pkg/scripts/preremove.sh b/pkg/scripts/preremove.sh index bef5b64..3c16f62 100644 --- a/pkg/scripts/preremove.sh +++ b/pkg/scripts/preremove.sh @@ -1,5 +1,5 @@ #!/bin/sh -# Copyright (c) 2026 Nikolay Govorov +# SPDX-FileCopyrightText: 2026 Nikolay Govorov # SPDX-License-Identifier: AGPL-3.0-or-later set -e diff --git a/tests/smoke/Cargo.toml b/tests/smoke/Cargo.toml index 63d8b5d..66be086 100644 --- a/tests/smoke/Cargo.toml +++ b/tests/smoke/Cargo.toml @@ -1,4 +1,4 @@ -# Copyright (c) 2026 Nikolay Govorov +# SPDX-FileCopyrightText: 2026 Nikolay Govorov # SPDX-License-Identifier: AGPL-3.0-or-later [package] diff --git a/tests/smoke/run-local.sh b/tests/smoke/run-local.sh index e675abc..22b5a72 100755 --- a/tests/smoke/run-local.sh +++ b/tests/smoke/run-local.sh @@ -1,5 +1,5 @@ #!/usr/bin/env bash -# Copyright (c) 2026 Nikolay Govorov +# SPDX-FileCopyrightText: 2026 Nikolay Govorov # SPDX-License-Identifier: AGPL-3.0-or-later # Starts recluse in a temporary directory, runs smoke tests, cleans up. diff --git a/tests/smoke/src/main.rs b/tests/smoke/src/main.rs index 8a7cb9c..f23a233 100644 --- a/tests/smoke/src/main.rs +++ b/tests/smoke/src/main.rs @@ -1,4 +1,4 @@ -// Copyright (c) 2026 Nikolay Govorov +// SPDX-FileCopyrightText: 2026 Nikolay Govorov // SPDX-License-Identifier: AGPL-3.0-or-later // Black-box smoke tests for Recluse. diff --git a/xtask/Cargo.toml b/xtask/Cargo.toml index e50b8c8..1c4963e 100644 --- a/xtask/Cargo.toml +++ b/xtask/Cargo.toml @@ -1,4 +1,4 @@ -# Copyright (c) 2026 Nikolay Govorov +# SPDX-FileCopyrightText: 2026 Nikolay Govorov # SPDX-License-Identifier: AGPL-3.0-or-later [package] diff --git a/xtask/build.rs b/xtask/build.rs index e059219..39d15eb 100644 --- a/xtask/build.rs +++ b/xtask/build.rs @@ -1,4 +1,4 @@ -// Copyright (c) 2026 Nikolay Govorov +// SPDX-FileCopyrightText: 2026 Nikolay Govorov // SPDX-License-Identifier: AGPL-3.0-or-later fn main() { diff --git a/xtask/src/lib.rs b/xtask/src/lib.rs index bb66ce9..d21bd88 100644 --- a/xtask/src/lib.rs +++ b/xtask/src/lib.rs @@ -1,4 +1,4 @@ -// Copyright (c) 2026 Nikolay Govorov +// SPDX-FileCopyrightText: 2026 Nikolay Govorov // SPDX-License-Identifier: AGPL-3.0-or-later pub mod licenses; diff --git a/xtask/src/licenses.rs b/xtask/src/licenses.rs index 012d331..40a93a9 100644 --- a/xtask/src/licenses.rs +++ b/xtask/src/licenses.rs @@ -1,4 +1,4 @@ -// Copyright (c) 2026 Nikolay Govorov +// SPDX-FileCopyrightText: 2026 Nikolay Govorov // SPDX-License-Identifier: AGPL-3.0-or-later // // The approach to gathering licenses — resolving the dependency graph via diff --git a/xtask/src/main.rs b/xtask/src/main.rs index 887d24b..43a56a2 100644 --- a/xtask/src/main.rs +++ b/xtask/src/main.rs @@ -1,4 +1,4 @@ -// Copyright (c) 2026 Nikolay Govorov +// SPDX-FileCopyrightText: 2026 Nikolay Govorov // SPDX-License-Identifier: AGPL-3.0-or-later fn main() -> Result<(), Box> { -- Gilti