This is an automated email from the ASF dual-hosted git repository.
bugraoz93 pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/airflow.git
The following commit(s) were added to refs/heads/main by this push:
new 51a4d81b7d8 Exclude agent tooling (.agents, agents.md) from source
release tarball (#68851)
51a4d81b7d8 is described below
commit 51a4d81b7d8c446d1da1e1d6105629dabc277975
Author: Jarek Potiuk <[email protected]>
AuthorDate: Mon Jun 22 14:00:26 2026 -0400
Exclude agent tooling (.agents, agents.md) from source release tarball
(#68851)
The source release tarball is built with `git archive`, which honors
`export-ignore` gitattributes. The existing `AGENTS.md export-ignore`
rule is unanchored and case-folds on case-insensitive filesystems
(macOS, `core.ignorecase=true`), so it also matches the lowercase
`.agents/skills/magpie-setup/agents.md`. As a result the source tarball
is not byte-reproducible across hosts: a Linux release manager ships
that file while a macOS verifier's rebuild drops it, breaking the
reproducible-build check.
Make the exclusion explicit and case-independent so the archive is
deterministic on any filesystem, and keep agent/AI tooling out of the
source release alongside the existing AGENTS.md / CLAUDE.md exclusions.
Co-authored-by: Claude Opus 4.8 <[email protected]>
---
.gitattributes | 2 ++
1 file changed, 2 insertions(+)
diff --git a/.gitattributes b/.gitattributes
index 073960ff35e..941af468b1d 100644
--- a/.gitattributes
+++ b/.gitattributes
@@ -18,6 +18,8 @@ CONTRIBUTING.rst export-ignore
ISSUE_TRIAGE_PROCESS.rst export-ignore
AGENTS.md export-ignore
+agents.md export-ignore
+.agents export-ignore
SKILLS.md export-ignore
CLAUDE.md export-ignore