Skip to content

Commit 87a4bf0

Browse files
author
Bastien Guerry
committed
Add licensing information
Implement https://reuse.software specifications.
1 parent fadc04e commit 87a4bf0

File tree

331 files changed

+1367
-9
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

331 files changed

+1367
-9
lines changed

Dockerfile.api

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# SPDX-FileCopyrightText: 2021-2025 DINUM <[email protected]>
2+
# SPDX-FileCopyrightText: 2024-2025 Université Grenoble Alpes
3+
# SPDX-License-Identifier: MIT
4+
15
FROM node:22-alpine as build
26
RUN apk add --no-cache \
37
git \

Dockerfile.web

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# SPDX-FileCopyrightText: 2021-2025 DINUM <[email protected]>
2+
# SPDX-FileCopyrightText: 2024-2025 Université Grenoble Alpes
3+
# SPDX-License-Identifier: MIT
4+
15
# build step
26
FROM node:22-alpine as build
37
WORKDIR /app

LICENSES/LicenseRef-Excluded.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
This file is covered by copyright.

REUSE.toml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
version = 1
2+
SPDX-PackageSupplier = "DINUM <[email protected]>"
3+
SPDX-PackageName = "Catalogi"
4+
SPDX-PackageDownloadLocation = "https://github.com/codegouvfr/catalogi"
5+
6+
[[annotations]]
7+
path = "docs/assets/**"
8+
precedence = "closest"
9+
SPDX-FileCopyrightText = "French Government"
10+
SPDX-License-Identifier = "MIT"
11+
SPDX-FileComment = "https://github.com/GouvernementFR/dsfr/"
12+
13+
[[annotations]]
14+
path = "*md"
15+
precedence = "closest"
16+
SPDX-FileCopyrightText = "DINUM, UGA"
17+
SPDX-License-Identifier = "CC-BY-4.0"
18+
SPDX-FileComment = "https://github.com/codegouvfr/catalogi"
19+
20+
[[annotations]]
21+
path = "web/public/logo/*"
22+
precedence = "closest"
23+
SPDX-FileCopyrightText = "Copyrighted file"
24+
SPDX-License-Identifier = "LicenseRef-Excluded"
25+
26+
[[annotations]]
27+
path = "web/src/ui/assets/*"
28+
precedence = "closest"
29+
SPDX-FileCopyrightText = "Copyrighted file"
30+
SPDX-License-Identifier = "LicenseRef-Excluded"

api/.config/kysely.config.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
// SPDX-FileCopyrightText: 2021-2025 DINUM <[email protected]>
2+
// SPDX-FileCopyrightText: 2024-2025 Université Grenoble Alpes
3+
// SPDX-License-Identifier: MIT
4+
15
import { PostgresDialect } from "kysely";
26
import { defineConfig } from "kysely-ctl";
37
import { Pool } from "pg";

api/.prettierrc.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
// SPDX-FileCopyrightText: 2021-2025 DINUM <[email protected]>
2+
// SPDX-FileCopyrightText: 2024-2025 Université Grenoble Alpes
3+
// SPDX-License-Identifier: MIT
4+
15
{
26
"printWidth": 120,
37
"tabWidth": 4,

api/knip.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
// SPDX-FileCopyrightText: 2021-2025 DINUM <[email protected]>
2+
// SPDX-FileCopyrightText: 2024-2025 Université Grenoble Alpes
3+
// SPDX-License-Identifier: MIT
4+
15
{
26
"$schema": "https://unpkg.com/knip@5/schema.json",
37
"entry": ["src/entrypoints/*.ts", "scripts/*.(ts|js)"],

api/package.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
// SPDX-FileCopyrightText: 2021-2025 DINUM <[email protected]>
2+
// SPDX-FileCopyrightText: 2024-2025 Université Grenoble Alpes
3+
// SPDX-License-Identifier: MIT
4+
15
{
26
"name": "api",
37
"version": "1.20.5",

api/renovate.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
// SPDX-FileCopyrightText: 2021-2025 DINUM <[email protected]>
2+
// SPDX-FileCopyrightText: 2024-2025 Université Grenoble Alpes
3+
// SPDX-License-Identifier: MIT
4+
15
{
26
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
37
"baseBranches": ["main"],

api/scripts/generate-translation-schema.js

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
// SPDX-FileCopyrightText: 2021-2025 DINUM <[email protected]>
2+
// SPDX-FileCopyrightText: 2024-2025 Université Grenoble Alpes
3+
// SPDX-License-Identifier: MIT
4+
15
const GenerateSchema = require("generate-schema");
26
const fs = require("fs");
37
const path = require("path");
@@ -110,4 +114,4 @@ enhanceSchemaObject(schema, translations);
110114
console.log(`Writing schema to ${outputPath}`);
111115
fs.writeFileSync(outputPath, JSON.stringify(schema, null, 2));
112116

113-
console.log("✅ Schema generation complete!");
117+
console.log("✅ Schema generation complete!");

0 commit comments

Comments
 (0)