Skip to content
Snippets Groups Projects
Verified Commit 57671ca5 authored by David Runge's avatar David Runge :chipmunk:
Browse files

chore: Simplify license attribution setup for entire project

Instead of relying on individual license attribution per file, configure
license attribution in the REUSE.toml file.
Moreover, use the generic "Signstar Contributors" as attribution and
in a comment point out that the license attribution is not tracked
individually, but that interested parties can get to this information
with the help of git.
Set SPDX package supplier to "Arch Linux" as the meaning of the field is
better reflected by an organization than an individual:
https://spdx.github.io/spdx-spec/v2.3/package-information/#75-package-supplier-field



Signed-off-by: default avatarDavid Runge <dvzrv@archlinux.org>
parent 14573a67
No related branches found
No related tags found
1 merge request!30chore: Simplify license attribution setup for entire project
# SPDX-FileCopyrightText: 2024 David Runge <dvzrv@archlinux.org>
# SPDX-License-Identifier: CC0-1.0
[target.x86_64-unknown-linux-gnu]
rustflags = ["-C", "link-arg=-fuse-ld=mold"]
# SPDX-FileCopyrightText: 2024 David Runge <dvzrv@archlinux.org>
# SPDX-License-Identifier: CC0-1.0
[codespell]
skip = .cargo,.git,target,.env,Cargo.lock
ignore-words-list = crate,passt
# SPDX-FileCopyrightText: 2024 David Runge <dvzrv@archlinux.org>
# SPDX-License-Identifier: CC0-1.0
# Contains project specific variables
# List of packages required specifically by this project
......
# SPDX-FileCopyrightText: 2024 David Runge <dvzrv@archlinux.org>
# SPDX-License-Identifier: CC0-1.0
target/
# SPDX-FileCopyrightText: 2024 David Runge <dvzrv@archlinux.org>
# SPDX-License-Identifier: CC0-1.0
variables:
RUST_BACKTRACE: full
......
<!--
# SPDX-FileCopyrightText: 2024 David Runge <dvzrv@archlinux.org>
# SPDX-License-Identifier: CC0-1.0
-->
# Contributing
These are the contributing guidelines for the signstar project.
......
# SPDX-FileCopyrightText: 2024 David Runge <dvzrv@archlinux.org>
# SPDX-License-Identifier: CC0-1.0
[workspace]
resolver = "2"
members = [
......
MIT License
Copyright (c) 2024 David Runge <dvzrv@archlinux.org>
Copyright (c) Signstar Contributors
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
......
# SPDX-FileCopyrightText: 2024 David Runge <dvzrv@archlinux.org>
# SPDX-License-Identifier: CC0-1.0
# NOTE: This project does not attribute contributors individually. Instead refer to `git log --format="%an <%aE>" | sort -u` for a list of individual contributors.
version = 1
SPDX-PackageName = "signstar"
SPDX-PackageSupplier = "David Runge <dvzrv@archlinux.org>"
SPDX-PackageSupplier = "Arch Linux"
SPDX-PackageDownloadLocation = "https://gitlab.archlinux.org/archlinux/signstar"
[[annotations]]
path = [
".gitlab/CODEOWNERS",
"**.rs",
]
precedence = "aggregate"
SPDX-FileCopyrightText = "Signstar Contributors"
SPDX-License-Identifier = "Apache-2.0 OR MIT"
[[annotations]]
path = [
"**.toml",
"*.json",
"Cargo.lock",
"renovate.json",
".codespellrc",
".env",
".gitignore",
".gitlab-ci.yml",
".gitlab/CODEOWNERS",
"justfile",
]
precedence = "aggregate"
SPDX-FileCopyrightText = "2024 David Runge <dvzrv@archlinux.org>"
SPDX-FileCopyrightText = "Signstar Contributors"
SPDX-License-Identifier = "CC0-1.0"
[[annotations]]
path = [
"README.md",
"nethsm/README.md",
"nethsm/CHANGELOG.md",
"nethsm-cli/CHANGELOG.md",
"**.md",
]
precedence = "aggregate"
SPDX-FileCopyrightText = "2024 David Runge <dvzrv@archlinux.org>"
SPDX-FileCopyrightText = "Signstar Contributors"
SPDX-License-Identifier = "CC-BY-SA-4.0"
# SPDX-FileCopyrightText: 2024 David Runge <dvzrv@archlinux.org>
# SPDX-License-Identifier: CC0-1.0
[advisories]
version = 2
yanked = "deny"
......
#!/usr/bin/env -S just --working-directory . --justfile
# SPDX-FileCopyrightText: 2024 David Runge <dvzrv@archlinux.org>
# SPDX-FileCopyrightText: 2024 Wiktor Kwapisiewicz <wiktor@metacode.biz>
# SPDX-License-Identifier: CC0-1.0
#
# Load project-specific properties from the `.env` file
set dotenv-load := true
......
# SPDX-FileCopyrightText: 2024 David Runge <dvzrv@archlinux.org>
# SPDX-License-Identifier: CC0-1.0
[package]
authors = ["David Runge <dvzrv@archlinux.org>"]
description = "A CLI for the Nitrokey NetHSM"
......
<!--
# SPDX-FileCopyrightText: 2024 David Runge <dvzrv@archlinux.org>
# SPDX-License-Identifier: CC-BY-SA-4.0
-->
# NetHSM Command Line Interface
A command line interface (CLI) for the Nitrokey [NetHSM] based on the [nethsm crate].
......
// SPDX-FileCopyrightText: 2024 David Runge <dvzrv@archlinux.org>
// SPDX-License-Identifier: Apache-2.0 OR MIT
use std::path::PathBuf;
use clap::Parser;
......
// SPDX-FileCopyrightText: 2024 David Runge <dvzrv@archlinux.org>
// SPDX-License-Identifier: Apache-2.0 OR MIT
use std::{net::Ipv4Addr, path::PathBuf};
use chrono::{DateTime, Utc};
......
// SPDX-FileCopyrightText: 2024 David Runge <dvzrv@archlinux.org>
// SPDX-License-Identifier: Apache-2.0 OR MIT
use clap::{Parser, Subcommand};
use nethsm::{ConnectionSecurity, Url, UserRole};
use strum::IntoEnumIterator;
......
// SPDX-FileCopyrightText: 2024 David Runge <dvzrv@archlinux.org>
// SPDX-License-Identifier: Apache-2.0 OR MIT
use clap::{Parser, Subcommand};
use nethsm::SystemState;
......
// SPDX-FileCopyrightText: 2024 David Runge <dvzrv@archlinux.org>
// SPDX-License-Identifier: Apache-2.0 OR MIT
use clap::Parser;
#[derive(Debug, Parser)]
......
// SPDX-FileCopyrightText: 2024 David Runge <dvzrv@archlinux.org>
// SPDX-License-Identifier: Apache-2.0 OR MIT
use std::path::PathBuf;
use clap::{Parser, Subcommand};
......
// SPDX-FileCopyrightText: 2024 David Runge <dvzrv@archlinux.org>
// SPDX-License-Identifier: Apache-2.0 OR MIT
use clap::Parser;
use nethsm::{SystemState, UserRole};
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment