reuse: add copyright + license info to individual docs/*.md files

Instead of use 'docs/*.md' in dep5. For clarity and avoiding a wide-
matching wildcard.

+ Remove mention of old files from .reuse/dep5
+ add info to .github/dependabot.yml
+ make scripts/copyright.pl warn on non-matching patterns

Closes #13245
This commit is contained in:
Daniel Stenberg 2024-03-31 11:52:28 +02:00
parent 315373334b
commit 86d33001e4
No known key found for this signature in database
GPG Key ID: 5CC908FDB71E12C2
54 changed files with 315 additions and 26 deletions

View File

@ -1,3 +1,7 @@
# Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al.
#
# SPDX-License-Identifier: curl
version: 2 version: 2
updates: updates:
- package-ecosystem: "github-actions" - package-ecosystem: "github-actions"

View File

@ -8,13 +8,8 @@ Files: tests/data/test* tests/certs/* tests/stunnel.pem tests/valgrind.supp
Copyright: Daniel Stenberg, <daniel@haxx.se>, et al. Copyright: Daniel Stenberg, <daniel@haxx.se>, et al.
License: curl License: curl
# Markdown documentation in docs/
Files: docs/*.md
Copyright: Daniel Stenberg, <daniel@haxx.se>, et al.
License: curl
# Docs in docs/ # Docs in docs/
Files: docs/FAQ docs/INSTALL docs/INSTALL.cmake docs/KNOWN_BUGS docs/MAIL-ETIQUETTE docs/THANKS docs/TODO docs/cmdline-opts/page-footer docs/libcurl/curl_multi_socket_all.3 docs/libcurl/curl_strnequal.3 docs/libcurl/symbols-in-versions docs/options-in-versions Files: docs/FAQ docs/INSTALL docs/KNOWN_BUGS docs/MAIL-ETIQUETTE docs/THANKS docs/TODO docs/libcurl/symbols-in-versions docs/options-in-versions
Copyright: Daniel Stenberg, <daniel@haxx.se>, et al. Copyright: Daniel Stenberg, <daniel@haxx.se>, et al.
License: curl License: curl
@ -89,14 +84,6 @@ Files: README
Copyright: Daniel Stenberg, <daniel@haxx.se>, et al. Copyright: Daniel Stenberg, <daniel@haxx.se>, et al.
License: curl License: curl
Files: .github/ISSUE_TEMPLATE/bug_report.md
Copyright: Daniel Stenberg, <daniel@haxx.se>, et al.
License: curl
Files: .mailmap Files: .mailmap
Copyright: Daniel Stenberg, <daniel@haxx.se>, et al. Copyright: Daniel Stenberg, <daniel@haxx.se>, et al.
License: curl License: curl
Files: .github/dependabot.yml
Copyright: Daniel Stenberg, <daniel@haxx.se>, et al.
License: curl

View File

@ -1,3 +1,9 @@
<!--
Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al.
SPDX-License-Identifier: curl
-->
# Alt-Svc # Alt-Svc
curl features support for the Alt-Svc: HTTP header. curl features support for the Alt-Svc: HTTP header.

View File

@ -1,3 +1,9 @@
<!--
Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al.
SPDX-License-Identifier: curl
-->
libcurl bindings libcurl bindings
================ ================

View File

@ -1,3 +1,9 @@
<!--
Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al.
SPDX-License-Identifier: curl
-->
# bufq # bufq
This is an internal module for managing I/O buffers. A `bufq` can be written This is an internal module for managing I/O buffers. A `bufq` can be written

View File

@ -1,3 +1,9 @@
<!--
Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al.
SPDX-License-Identifier: curl
-->
# bufref # bufref
This is an internal module for handling buffer references. A referenced This is an internal module for handling buffer references. A referenced

View File

@ -1,3 +1,9 @@
<!--
Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al.
SPDX-License-Identifier: curl
-->
# The curl bug bounty # The curl bug bounty
The curl project runs a bug bounty program in association with The curl project runs a bug bounty program in association with

View File

@ -1,3 +1,9 @@
<!--
Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al.
SPDX-License-Identifier: curl
-->
# BUGS # BUGS
## There are still bugs ## There are still bugs

View File

@ -1,3 +1,9 @@
<!--
Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al.
SPDX-License-Identifier: curl
-->
# checksrc # checksrc
This is the tool we use within the curl project to scan C source code and This is the tool we use within the curl project to scan C source code and

View File

@ -1,3 +1,9 @@
<!--
Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al.
SPDX-License-Identifier: curl
-->
# Ciphers # Ciphers
With curl's options With curl's options

View File

@ -1,3 +1,9 @@
<!--
Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al.
SPDX-License-Identifier: curl
-->
# curl client readers # curl client readers
Client readers is a design in the internals of libcurl, not visible in its public API. They were started Client readers is a design in the internals of libcurl, not visible in its public API. They were started

View File

@ -1,3 +1,9 @@
<!--
Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al.
SPDX-License-Identifier: curl
-->
# curl client writers # curl client writers
Client writers is a design in the internals of libcurl, not visible in its public API. They were started Client writers is a design in the internals of libcurl, not visible in its public API. They were started

View File

@ -1,3 +1,9 @@
<!--
Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al.
SPDX-License-Identifier: curl
-->
Contributor Code of Conduct Contributor Code of Conduct
=========================== ===========================

View File

@ -1,3 +1,9 @@
<!--
Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al.
SPDX-License-Identifier: curl
-->
# How to do code reviews for curl # How to do code reviews for curl
Anyone and everyone is encouraged and welcome to review code submissions in Anyone and everyone is encouraged and welcome to review code submissions in

View File

@ -1,3 +1,9 @@
<!--
Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al.
SPDX-License-Identifier: curl
-->
# curl C code style # curl C code style
Source code that has a common style is easier to read than code that uses Source code that has a common style is easier to read than code that uses

View File

@ -1,3 +1,9 @@
<!--
Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al.
SPDX-License-Identifier: curl
-->
# curl connection filters # curl connection filters
Connection filters is a design in the internals of curl, not visible in its Connection filters is a design in the internals of curl, not visible in its

View File

@ -1,3 +1,9 @@
<!--
Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al.
SPDX-License-Identifier: curl
-->
# Contributing to the curl project # Contributing to the curl project
This document is intended to offer guidelines on how to best contribute to the This document is intended to offer guidelines on how to best contribute to the

View File

@ -1,3 +1,9 @@
<!--
Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al.
SPDX-License-Identifier: curl
-->
# Code defines to disable features and protocols # Code defines to disable features and protocols
## `CURL_DISABLE_ALTSVC` ## `CURL_DISABLE_ALTSVC`

View File

@ -1,3 +1,9 @@
<!--
Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al.
SPDX-License-Identifier: curl
-->
# curldown # curldown
A markdown-like syntax for libcurl man pages. A markdown-like syntax for libcurl man pages.

View File

@ -1,3 +1,9 @@
<!--
Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al.
SPDX-License-Identifier: curl
-->
# Items to be removed from future curl releases # Items to be removed from future curl releases
If any of these deprecated features is a cause for concern for you, please If any of these deprecated features is a cause for concern for you, please

View File

@ -1,3 +1,9 @@
<!--
Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al.
SPDX-License-Identifier: curl
-->
# curl distros # curl distros
<!-- markdown-link-check-disable --> <!-- markdown-link-check-disable -->

View File

@ -1,3 +1,9 @@
<!--
Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al.
SPDX-License-Identifier: curl
-->
# dynbuf # dynbuf
This is the internal module for creating and handling "dynamic buffers". This This is the internal module for creating and handling "dynamic buffers". This

View File

@ -1,3 +1,9 @@
<!--
Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al.
SPDX-License-Identifier: curl
-->
# How to determine if an early patch release is warranted # How to determine if an early patch release is warranted
In the curl project we do releases every 8 weeks. Unless we break the cycle In the curl project we do releases every 8 weeks. Unless we break the cycle

View File

@ -1,3 +1,9 @@
<!--
Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al.
SPDX-License-Identifier: curl
-->
# Experimental # Experimental
Some features and functionality in curl and libcurl are considered Some features and functionality in curl and libcurl are considered

View File

@ -1,3 +1,9 @@
<!--
Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al.
SPDX-License-Identifier: curl
-->
# Features -- what curl can do # Features -- what curl can do
## curl tool ## curl tool

View File

@ -1,3 +1,9 @@
<!--
Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al.
SPDX-License-Identifier: curl
-->
# Decision making in the curl project # Decision making in the curl project
A rough guide to how we make decisions and who does what. A rough guide to how we make decisions and who does what.

View File

@ -1,3 +1,9 @@
<!--
Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al.
SPDX-License-Identifier: curl
-->
# How to get started helping out in the curl project # How to get started helping out in the curl project
We are always in need of more help. If you are new to the project and are We are always in need of more help. If you are new to the project and are

View File

@ -1,3 +1,9 @@
<!--
Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al.
SPDX-License-Identifier: curl
-->
How curl Became Like This How curl Became Like This
========================= =========================

View File

@ -1,3 +1,9 @@
<!--
Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al.
SPDX-License-Identifier: curl
-->
# HSTS support # HSTS support
HTTP Strict-Transport-Security. Added as experimental in curl HTTP Strict-Transport-Security. Added as experimental in curl

View File

@ -1,3 +1,9 @@
<!--
Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al.
SPDX-License-Identifier: curl
-->
# HTTP Cookies # HTTP Cookies
## Cookie overview ## Cookie overview

View File

@ -1,3 +1,9 @@
<!--
Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al.
SPDX-License-Identifier: curl
-->
HTTP/2 with curl HTTP/2 with curl
================ ================

View File

@ -1,3 +1,9 @@
<!--
Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al.
SPDX-License-Identifier: curl
-->
# HTTP3 (and QUIC) # HTTP3 (and QUIC)
## Resources ## Resources

View File

@ -1,3 +1,9 @@
<!--
Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al.
SPDX-License-Identifier: curl
-->
# Hyper # Hyper
Hyper is a separate HTTP library written in Rust. curl can be told to use this Hyper is a separate HTTP library written in Rust. curl can be told to use this

View File

@ -1,10 +1,8 @@
_ _ ____ _ <!--
___| | | | _ \| | Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al.
/ __| | | | |_) | |
| (__| |_| | _ <| |___
\___|\___/|_| \_\_____|
How To Compile with CMake SPDX-License-Identifier: curl
-->
# Building with CMake # Building with CMake

View File

@ -1,3 +1,9 @@
<!--
Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al.
SPDX-License-Identifier: curl
-->
# how to install curl and libcurl # how to install curl and libcurl
## Installing Binary Packages ## Installing Binary Packages

View File

@ -1,3 +1,9 @@
<!--
Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al.
SPDX-License-Identifier: curl
-->
# curl internals # curl internals
The canonical libcurl internals documentation is now in the [everything The canonical libcurl internals documentation is now in the [everything

View File

@ -1,3 +1,9 @@
<!--
Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al.
SPDX-License-Identifier: curl
-->
# IPFS # IPFS
For an overview about IPFS, visit the [IPFS project site](https://ipfs.tech/). For an overview about IPFS, visit the [IPFS project site](https://ipfs.tech/).

View File

@ -1,3 +1,9 @@
<!--
Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al.
SPDX-License-Identifier: curl
-->
# curl tutorial # curl tutorial
## Simple Usage ## Simple Usage

View File

@ -1,3 +1,9 @@
<!--
Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al.
SPDX-License-Identifier: curl
-->
# MQTT in curl # MQTT in curl
## Usage ## Usage

View File

@ -1,3 +1,9 @@
<!--
Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al.
SPDX-License-Identifier: curl
-->
# Adding a new protocol? # Adding a new protocol?
Every once in a while, someone comes up with the idea of adding support for yet Every once in a while, someone comes up with the idea of adding support for yet

View File

@ -1,3 +1,9 @@
<!--
Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al.
SPDX-License-Identifier: curl
-->
# Parallel transfers # Parallel transfers
curl 7.66.0 introduced support for doing multiple transfers simultaneously; in curl 7.66.0 introduced support for doing multiple transfers simultaneously; in

View File

@ -1,3 +1,9 @@
<!--
Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al.
SPDX-License-Identifier: curl
-->
![curl logo](https://curl.se/logo/curl-logo.svg) ![curl logo](https://curl.se/logo/curl-logo.svg)
# Documentation # Documentation

View File

@ -1,3 +1,9 @@
<!--
Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al.
SPDX-License-Identifier: curl
-->
curl release procedure - how to do a release curl release procedure - how to do a release
============================================ ============================================

View File

@ -1,3 +1,9 @@
<!--
Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al.
SPDX-License-Identifier: curl
-->
# curl the next few years - perhaps # curl the next few years - perhaps
Roadmap of things Daniel Stenberg wants to work on next. It is intended to Roadmap of things Daniel Stenberg wants to work on next. It is intended to

View File

@ -1,3 +1,9 @@
<!--
Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al.
SPDX-License-Identifier: curl
-->
# Rustls # Rustls
[Rustls is a TLS backend written in Rust](https://docs.rs/rustls/). Curl can [Rustls is a TLS backend written in Rust](https://docs.rs/rustls/). Curl can

View File

@ -1,3 +1,9 @@
<!--
Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al.
SPDX-License-Identifier: curl
-->
# Anatomy of a curl security advisory # Anatomy of a curl security advisory
As described in the [Security Process](https://curl.se/dev/secprocess.html) As described in the [Security Process](https://curl.se/dev/secprocess.html)

View File

@ -1,3 +1,9 @@
<!--
Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al.
SPDX-License-Identifier: curl
-->
# curl sponsors # curl sponsors
A sponsor is someone who donates money or resources to the curl project for no A sponsor is someone who donates money or resources to the curl project for no

View File

@ -1,8 +1,8 @@
_ _ ____ _ <!--
___| | | | _ \| | Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al.
/ __| | | | |_) | |
| (__| |_| | _ <| |___ SPDX-License-Identifier: curl
\___|\___/|_| \_\_____| -->
# SSL problems # SSL problems

View File

@ -1,3 +1,9 @@
<!--
Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al.
SPDX-License-Identifier: curl
-->
SSL Certificate Verification SSL Certificate Verification
============================ ============================

View File

@ -1,3 +1,9 @@
<!--
Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al.
SPDX-License-Identifier: curl
-->
# The Art Of Scripting HTTP Requests Using Curl # The Art Of Scripting HTTP Requests Using Curl
## Background ## Background

View File

@ -1,3 +1,9 @@
<!--
Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al.
SPDX-License-Identifier: curl
-->
# URL syntax and their use in curl # URL syntax and their use in curl
## Specifications ## Specifications

View File

@ -1,3 +1,9 @@
<!--
Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al.
SPDX-License-Identifier: curl
-->
Version Numbers and Releases Version Numbers and Releases
============================ ============================

View File

@ -1,3 +1,9 @@
<!--
Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al.
SPDX-License-Identifier: curl
-->
# curl vulnerability disclosure policy # curl vulnerability disclosure policy
This document describes how security vulnerabilities are handled in the curl This document describes how security vulnerabilities are handled in the curl

View File

@ -135,7 +135,13 @@ sub dep5 {
while(<F>) { while(<F>) {
$line++; $line++;
if(/^Files: (.*)/i) { if(/^Files: (.*)/i) {
push @files, `git ls-files $1`; my @all = `git ls-files $1`;
if(!$all[0]) {
print STDERR "$1 matches no files\n";
}
else {
push @files, @all;
}
} }
elsif(/^Copyright: (.*)/i) { elsif(/^Copyright: (.*)/i) {
$copy = $1; $copy = $1;