Skip to content

Commit d019248

Browse files
committed
REUSE: migrate to REUSE.toml
1 parent cf19796 commit d019248

File tree

4 files changed

+31
-25
lines changed

4 files changed

+31
-25
lines changed

.reuse/dep5

Lines changed: 0 additions & 18 deletions
This file was deleted.

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ All the project code is licensed under [the MIT license][docs.license].
100100

101101
The code generated from the upstream TDLib has the same license as TDLib, which is [the Boost Software License - Version 1.0][docs.license.bsl].
102102

103-
The license indication in the project's sources is compliant with the [REUSE specification v3.0][reuse.spec].
103+
The license indication in the project's sources is compliant with the [REUSE specification v3.3][reuse.spec].
104104

105105
[discussions]: https://github.com/egramtel/tdsharp/discussions
106106
[docs.changelog]: ./CHANGELOG.md
@@ -109,5 +109,5 @@ The license indication in the project's sources is compliant with the [REUSE spe
109109
[docs.license]: ./LICENSE
110110
[docs.maintainership]: ./MAINTAINERSHIP.md
111111
[issues]: https://github.com/egramtel/tdsharp/issues
112-
[reuse.spec]: https://reuse.software/spec-3.0/
112+
[reuse.spec]: https://reuse.software/spec-3.3/
113113
[tdlib-native.docs]: https://github.com/ForNeVeR/tdlib.native

REUSE.toml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
version = 1
2+
SPDX-PackageName = "tdsharp"
3+
SPDX-PackageSupplier = "tdsharp contributors <https://github.com/egramtel/tdsharp>"
4+
SPDX-PackageDownloadLocation = "https://github.com/egramtel/tdsharp"
5+
6+
[[annotations]]
7+
path = ".idea/**/*"
8+
precedence = "override"
9+
SPDX-FileCopyrightText = "2024 tdsharp contributors <https://github.com/egramtel/tdsharp>"
10+
SPDX-License-Identifier = "MIT"
11+
12+
[[annotations]]
13+
path = "TdLib.Api/Functions/*.cs"
14+
precedence = "override"
15+
SPDX-FileCopyrightText = [
16+
"2025 tdsharp contributors <https://github.com/egramtel/tdsharp>",
17+
"2025 TDLib contributors <https://github.com/tdlib/td>"
18+
]
19+
SPDX-License-Identifier = "MIT AND BSL-1.0"
20+
21+
[[annotations]]
22+
path = "TdLib.Api/Objects/*.cs"
23+
precedence = "override"
24+
SPDX-FileCopyrightText = [
25+
"2025 tdsharp contributors <https://github.com/egramtel/tdsharp>",
26+
"2025 TDLib contributors <https://github.com/tdlib/td>"
27+
]
28+
SPDX-License-Identifier = "MIT AND BSL-1.0"

TdLib.sln

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution
2525
LICENSE = LICENSE
2626
CONTRIBUTING.md = CONTRIBUTING.md
2727
TdLib.sln.license = TdLib.sln.license
28+
REUSE.toml = REUSE.toml
2829
EndProjectSection
2930
EndProject
3031
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = ".github", ".github", "{178D86BC-A6CA-4A4D-AE1A-B9DC926D77CB}"
@@ -46,11 +47,6 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Scripts", "Scripts", "{08FD
4647
EndProject
4748
Project("{6EC3EE1D-3C4E-46DD-8F32-0CC8E7565705}") = "TdLib.Samples.GetChats.FSharp", "Samples\TdLib.Samples.GetChats.FSharp\TdLib.Samples.GetChats.FSharp.fsproj", "{B968D706-7538-4D67-B167-461B10BFB4C0}"
4849
EndProject
49-
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = ".reuse", ".reuse", "{192616C6-D17F-400D-93CA-C86C5743A96F}"
50-
ProjectSection(SolutionItems) = preProject
51-
.reuse\dep5 = .reuse\dep5
52-
EndProjectSection
53-
EndProject
5450
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "LICENSES", "LICENSES", "{5399309F-760D-4FE6-B158-706A37F3B04B}"
5551
ProjectSection(SolutionItems) = preProject
5652
LICENSES\BSL-1.0.txt = LICENSES\BSL-1.0.txt

0 commit comments

Comments
 (0)