Make WordPress Core

Opened 4 years ago

Closed 4 years ago

Last modified 4 years ago

#51113 closed task (blessed) (fixed)

Set 'svn:eol-style' to 'native' for all the new files in 5.5

Reported by: sergeybiryukov's profile SergeyBiryukov Owned by: sergeybiryukov's profile SergeyBiryukov
Milestone: 5.6 Priority: normal
Severity: normal Version:
Component: General Keywords:
Focuses: Cc:

Description

Background: #42594, #45412.

In [46585-46588], the svn:eol-style property was consistently set for all files.

Some new files have been added since then without the property, resulting in inconsistent line endings.

Relevant changesets:

  • [48141] Editor: Introduce new API method that register block from block.json metadata file
  • [48156] Block Editor: Add the Block Patterns API.
  • [48159] Editor: Introduce WP_Block and WP_Block_List classes
  • [48224] Editor: Introduce block context
  • [48262] Editor: Register core blocks on the server
  • [48277] Color schemes: Add new modern color scheme option.
  • [48334] Block Editor: Add the initial set of block patterns.
  • [48382] Block Editor: Add a script to run Gutenberg end 2 end tests on Core.

For some reason, the svn:auto-props option added in [46636] did not affect these new files.

Change History (4)

#1 @SergeyBiryukov
4 years ago

  • Owner set to SergeyBiryukov
  • Resolution set to fixed
  • Status changed from new to closed

In 48845:

General: Ensure svn:eol-style is consistently set for all recently added files.

Fixes #51113.

#2 @SergeyBiryukov
4 years ago

In 48930:

General: Correct reversed svn:auto-props for .mo and .po files.

  • .mo files are binary and should have svn:mime-type=application/octet-stream.
  • .po files are text and should have svn:eol-style=native, same as .pot files.

Follow-up to [46636], [48845].

See #51113.

#3 @SergeyBiryukov
4 years ago

In 48931:

General: Set svn:eol-style for phpunit/includes/normalize-xml.xsl.

Follow-up to [48072], [48845].

See #51113.

#4 @SergeyBiryukov
4 years ago

In 49545:

General: Set svn:eol-style for some new files in phpunit/includes.

Follow-up to [48845], [49037], [49226], [49230].

See #51113.

Note: See TracTickets for help on using tickets.