You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pekko.apache.org by he...@apache.org on 2026/06/19 08:44:08 UTC
(pekko-persistence-jdbc) branch docs/licensing-header-reminder created (now e94395fc)
This is an automated email from the ASF dual-hosted git repository.
He-Pin pushed a change to branch docs/licensing-header-reminder
in repository https://gitbox.apache.org/repos/asf/pekko-persistence-jdbc.git
at e94395fc docs: add mandatory header workflow reminder to Licensing Rules
This branch includes the following new commits:
new e94395fc docs: add mandatory header workflow reminder to Licensing Rules
The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@pekko.apache.org
For additional commands, e-mail: commits-help@pekko.apache.org
(pekko-persistence-jdbc) 01/01: docs: add mandatory header workflow reminder to Licensing Rules
Posted by he...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
He-Pin pushed a commit to branch docs/licensing-header-reminder
in repository https://gitbox.apache.org/repos/asf/pekko-persistence-jdbc.git
commit e94395fc4130d731fe69c8bbecdb15658fcdf790
Author: 虎鸣 <he...@alibaba-inc.com>
AuthorDate: Fri Jun 19 16:43:23 2026 +0800
docs: add mandatory header workflow reminder to Licensing Rules
Motivation:
Agents can miss the rule about not hand-writing license headers and
accidentally paste the wrong header (e.g. the Akka-derived header for
new code).
Modification:
Add a prominent blockquote reminder at the top of the Licensing Rules
section that spells out the mandatory workflow: create file without
header -> sbt headerCreateAll -> done.
Result:
Agents see the workflow before reading the detailed rules, reducing
the chance of hand-writing an incorrect header.
Tests:
Not run - docs only
References:
None - process improvement
---
AGENTS.md | 2 ++
1 file changed, 2 insertions(+)
diff --git a/AGENTS.md b/AGENTS.md
index e0dcdf97..02c68757 100644
--- a/AGENTS.md
+++ b/AGENTS.md
@@ -16,6 +16,8 @@ Follow `CONTRIBUTING.md`. If this file conflicts with `CONTRIBUTING.md`, follow
## Licensing Rules
+> **⚠️ Mandatory workflow for new files:** Create the file without any header → run `sbt headerCreateAll` → sbt adds the correct header automatically. Never hand-write or copy-paste a license header.
+
- Do not hand-write or invent license headers. Let sbt manage them.
- For new files, run `sbt headerCreateAll` to add the correct header. Do not manually paste header text.
- Run `sbt +headerCheckAll` to verify all files carry the expected header.
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@pekko.apache.org
For additional commands, e-mail: commits-help@pekko.apache.org