Make WordPress Core

Opened 5 years ago

Closed 4 years ago

#49784 closed task (blessed) (fixed)

Synchronise .gitignore and svn:ignore

Reported by: johnbillion's profile johnbillion Owned by: desrosj's profile 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
4 years ago

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

#2 @desrosj
4 years 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.