[wp-trac] [WordPress Trac] #64971: Build: Synchronize .gitignore and svn:ignore
WordPress Trac
noreply at wordpress.org
Fri Mar 27 19:01:15 UTC 2026
#64971: Build: Synchronize .gitignore and svn:ignore
------------------------------+----------------------------
Reporter: dmsnell | Owner: (none)
Type: enhancement | Status: new
Priority: normal | Milestone: Future Release
Component: Build/Test Tools | Version:
Severity: normal | Keywords:
Focuses: |
------------------------------+----------------------------
The Core `git` repo and `svn` repo have mismatched methods for excluding
files, which increases the burden of developing in the `git` repo and in
generating the proper commits for the “build repo.”
At the heart of this is the distinction between how `git`’s `.gitignore`
contains patterns which apply recursively down the directory hierarchy,
but `svn`’s `svn:ignore` //property// applies only to the directory on
which it’s set.
In [62155], part of the `.gitignore` was ported into a `svn:global-
ignores` property, but only as much as was required to fix some broken
pieces of the 7.0 release process.
This ticket proposes three actions:
- Audit all of the existing ignores in both repos to discover all
discrepancies.
- Move all `subversion` ignores out of per-directory properties and into
a single global property.
- Provide a new script or automation to raise issues when the ignore sets
diverge.
== Related
- This first appeared during the work on #64393.
- A `svn:global-ignores` property was introduced in [62155]
--
Ticket URL: <https://core.trac.wordpress.org/ticket/64971>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list