WordPress.org

Make WordPress Core

Opened 14 months ago

Closed 3 months ago

#49784 closed task (blessed) (fixed)

Synchronise .gitignore and svn:ignore

Reported by: johnbillion Owned by: desrosj
Milestone: 5.7 Priority: low
Severity: normal Version:
Component: Build/Test Tools Keywords: needs-patch
Focuses: Cc:

Description

The svn:ignore prop is quite a way behind .gitignore. It should be brought up to date to avoid accidental commits to these files.

> svn propget svn:ignore
# Configuration files with possibly sensitive information
wp-config.php
wp-tests-config.php
.htaccess
# Files and folders related to build/test tools
phpunit.xml
phpcs.xml
.phpcs.xml
node_modules
npm-debug.log
build
wp-cli.local.yml
.git
jsdoc
vendor
docker-compose.override.yml
packagehash.txt

Change History (2)

#1 @desrosj
3 months ago

  • Milestone changed from Awaiting Review to 5.7
  • Owner set to desrosj
  • Status changed from new to assigned

#2 @desrosj
3 months ago

  • Resolution set to fixed
  • Status changed from assigned to closed

In 50277:

Build/Test Tools: Synchronize svn:ignore with .gitignore.

Some files ignored within the .gitignore file were not included in the svn:ignore property.

This also removed wp-config.php and wp-tests-config.php from the svn:ignore property. It’s already specified in svn:global-ignores.

Props johnbillion.
Fixes #49784.

Note: See TracTickets for help on using tickets.