Skip to:
Content

BuddyPress.org

Opened 5 years ago

Closed 5 years ago

Last modified 3 years ago

#6409 closed enhancement (fixed)

Refresh SVN file properites

Reported by: DJPaul Owned by: djpaul
Milestone: 2.3 Priority: normal
Severity: normal Version:
Component: Core Keywords:
Cc:

Description

The svn properties for files in BP are inconsistent and we often forget to set eol-style when we add new text files, which is beginning to cause problems for people using Windows (hello hnla!).

I'm going to tidy up the properties and set some auto-props to hopefully make this less painful.

Change History (5)

#1 @djpaul
5 years ago

In 9819:

Tidy up SVN properties.

This first steps removes svn:eol-style, svn:executable, svn:mime-type on all files.
The svn:ignore property on the root folder has been tidied up and matches WordPress core's example.

A subsequent commit will re-instate svn:mime-type via svn:auto-props, and add some svn:global-ignores.

See #6409

#2 @djpaul
5 years ago

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

In 9820:

Set svn-autoprops and svn:global-ignores.

These commands were introduced with SVN 1.8 and let us set common properties for every file (and future file) in the project. This avoids setting the same properties on most of our files, and also saves us time by not having to remember to set the properties as new files are added to BuddyPress.

See r9819 where the old properties were cleared. Fixes #6409.

#3 @hnla
5 years ago

hello hnla!)

:)

Thanks for fixes, my file now shows auto-props inherited from project so looks good, shall test tomorrow.

Windows thanks you

#4 @netweb
5 years ago

Whilst your at this you should update .gitignore to match svn:ignore/svn:global-ignores ;)

https://buddypress.trac.wordpress.org/browser/trunk/.gitignore

https://core.trac.wordpress.org/browser/trunk/.gitignore

#5 @DJPaul
3 years ago

  • Component changed from Component - Any/All to Core
Note: See TracTickets for help on using tickets.