You can clone with
HTTPS or Subversion.
What steps will reproduce the problem?
This initially started as a way of excluding AppleDot files (matching the pattern « ._* » ), but could be useful in other situations. For example we may want to keep some source files like *.psd in the protected assets folder, but not publish them.
What is the expected output? What do you see instead?
When publishing assets, files/directories matching the pattern are not copied over. Currently they are.
What version of the product are you using? On what operating system?
1.1.8 on Linux and Mac
Migrated from http://code.google.com/p/yii/issues/detail?id=2967
qiang.xue said, at 2012-01-01T03:37:10.000Z:
set for 1.1.10 milestone
qiang.xue said, at 2012-01-01T03:37:36.000Z:
Added fnmatch based filename matching to CFileHelper and CAssetManager.
This adds a fnmatch array wrapper and a back port for php
< 5.3 on windows. This will also fix/affect #258.
The back port is based on http://www.php.net/manual/en/function.fnmatch.php#100207
@yiisoft This could be done via built-in functions (example: fnmatch). But most of them would higher yiis requirements. Comit above should keep yiis requirements without adding to much regex or configuration options.
feature implemented in yii2. Will not add it to yii 1.1 unless someone sends a PR with backport.