Skip to content

Commit 2b4306c

Browse files
committed
chore(agents): update license header instructions.
Signed-off-by: Camila Ayres <hello@camilasan.com>
1 parent 9ead024 commit 2b4306c

1 file changed

Lines changed: 6 additions & 3 deletions

File tree

AGENTS.md

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -59,14 +59,17 @@ All contributions generated or assisted by this agent must fully comply with:
5959

6060
## General Guidance
6161

62-
Every new file needs to get a SPDX header in the first rows according to this template.
63-
The year in the first line must be replaced with the year when the file is created (for example, 2026 for files first added in 2026).
64-
The commenting signs need to be used depending on the file type.
62+
### License headers
63+
64+
Every new file must include the correct SPDX license header. For AGPL-2.0-or-later (the default for this repository):
6565

6666
```plaintext
6767
SPDX-FileCopyrightText: <YEAR> Nextcloud GmbH and Nextcloud contributors
6868
SPDX-License-Identifier: GPL-2.0-or-later
6969
```
70+
The commenting signs need to be used depending on the file type.
71+
72+
See [HowToApplyALicense.md](https://github.com/nextcloud/server/blob/master/contribute/HowToApplyALicense.md) for details on per-language formats. AI-generated code must not include material from sources incompatible with AGPL-2.0-or-later.
7073

7174
Avoid creating source files that implement multiple types; instead, place each type in its own dedicated source file.
7275

0 commit comments

Comments
 (0)