[wp-trac] [WordPress Trac] #44256: Build can fail when `src` folder contains folders with many files

WordPress Trac noreply at wordpress.org
Tue May 29 04:57:22 UTC 2018


#44256: Build can fail when `src` folder contains folders with many files
------------------------------+---------------------
 Reporter:  adamsilverstein   |       Owner:  (none)
     Type:  defect (bug)      |      Status:  new
 Priority:  normal            |   Milestone:  4.9.7
Component:  Build/Test Tools  |     Version:  trunk
 Severity:  normal            |  Resolution:
 Keywords:                    |     Focuses:
------------------------------+---------------------

Comment (by adamsilverstein):

 > Should the clean task also clean the upgrade and uploads folders?

 Yes, good point, I will add that.

 > I like the VCS change to only copy the root .git/.svn folders

 Yea, the original line:

 `'!**/.{svn,git}/**'`

 attempts to exclude any `.svn` or `.git` files from copying. The problem
 here is the ** prefix which causes the copy process to attempt to traverse
 every possible prefix path (eg every folder) which leads to the hung
 process.

 In my testing at least on my local system these folders are ignored by
 default (in which case we could remove the line). It is possible that on
 other systems/setups that is not the case, I'm going to see if I can
 figure out where/why this line was added.



 In my upcoming patch

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/44256#comment:5>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list