You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@grails.apache.org by jd...@apache.org on 2026/08/23 17:04:35 UTC
(grails-intellij-plugin) 06/06: Keep AGENTS.md in the source distribution
This is an automated email from the ASF dual-hosted git repository.
jdaugherty pushed a commit to branch asfCompilance
in repository https://gitbox.apache.org/repos/asf/grails-intellij-plugin.git
commit 345ee17a7732da08d9132c09421ab5e0d08a2fb5
Author: James Daugherty <jd...@jdresources.net>
AuthorDate: Sun Aug 23 13:03:07 2026 -0400
Keep AGENTS.md in the source distribution
Reverts stripping AGENTS.md at the tag. That came out of the issue checklist, which paired
it with MIGRATION-PLAN.md and IMPROVEMENT-PLAN.md on the grounds that it "ships with no
header and no RAT exclude" -- but it did have a header, just the non-canonical SPDX form,
and it now carries the canonical ASF header like every other file. A documentation file with
a valid header that RAT audits and passes has no reason not to ship.
The two planning documents still go: the RAT config excludes them specifically as "removed
before the first release", so leaving them in a distribution would ship files nothing audits.
verify-distributions.sh no longer forbids AGENTS.md in the source distribution.
---
.github/workflows/release.yml | 3 +--
RELEASE.md | 2 +-
etc/bin/verify-distributions.sh | 8 ++++----
3 files changed, 6 insertions(+), 7 deletions(-)
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index 3effd64..65c4d25 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -133,10 +133,9 @@ jobs:
rm -f grails-intellij-plugin/.asf.yaml
rm -f grails-intellij-plugin/gradlew grails-intellij-plugin/gradlew.bat
rm -rf grails-intellij-plugin/gradle/wrapper
- # working notes, not part of a release
+ # planning documents, RAT-excluded as removed before the first release
rm -f grails-intellij-plugin/MIGRATION-PLAN.md
rm -f grails-intellij-plugin/IMPROVEMENT-PLAN.md
- rm -f grails-intellij-plugin/AGENTS.md
- name: "📦 Create source distribution ZIP"
run: zip -r ${DIST_NAME}-${VERSION}-src.zip grails-intellij-plugin
- name: "🔐 Set up GPG" # use env var to not expose the key
diff --git a/RELEASE.md b/RELEASE.md
index 981b028..ae8858d 100644
--- a/RELEASE.md
+++ b/RELEASE.md
@@ -137,7 +137,7 @@ will wait for a reviewer, so they are approved one at a time in that order.
1. Check out the tag, then remove files that must not ship in a source release
(`.git`, `.github`, `.asf.yaml`, `gradlew`/`gradlew.bat`, `gradle/wrapper`, and the
- `MIGRATION-PLAN.md` / `IMPROVEMENT-PLAN.md` / `AGENTS.md` working notes).
+ `MIGRATION-PLAN.md` / `IMPROVEMENT-PLAN.md` planning documents).
2. Zip to `apache-grails-intellij-plugin-${VERSION}-src.zip`.
3. GPG-detached-sign (`.asc`) and checksum (`.sha512`).
4. Upload all three to the GitHub Release.
diff --git a/etc/bin/verify-distributions.sh b/etc/bin/verify-distributions.sh
index 24433d7..0a104ca 100755
--- a/etc/bin/verify-distributions.sh
+++ b/etc/bin/verify-distributions.sh
@@ -134,8 +134,9 @@ require_entries "${SRC_ZIP}" "source distribution" \
# are resolved from Maven at test time rather than committed, so a jar appearing in the source
# distribution means one of those two arrangements has regressed.
#
-# .git / .github / .asf.yaml are infrastructure that is not part of the release, and the planning
-# documents are working notes that do not belong in a release either.
+# .git / .github / .asf.yaml are infrastructure that is not part of the release, and the two
+# planning documents are RAT-excluded on the grounds that they are removed before the first
+# release, so nothing should have to audit them in a distribution.
forbid_entries "${SRC_ZIP}" "source distribution" \
'\.jar$' \
'/gradlew$' \
@@ -144,8 +145,7 @@ forbid_entries "${SRC_ZIP}" "source distribution" \
'/\.github/' \
'/\.asf\.yaml$' \
'/MIGRATION-PLAN\.md$' \
- '/IMPROVEMENT-PLAN\.md$' \
- '/AGENTS\.md$'
+ '/IMPROVEMENT-PLAN\.md$'
echo "✅ source distribution contents verified"
verify_archive "${BIN_ZIP}"