JetBrains Deployment Wildcards not working
Basically, I'm having a problem trying to import a new project. My project has symbolic links that create endless loops; which ruins my ability to download files/index those files without some wildcards in place.
When I try to add a new project from existing files where the Web Server is on a remote hose, files are accessible VIA FTP/SFTP/FTPS; I get to the 3rd page where I'm given the option to exclude items by name. This is what I have put in, basically.
.svn;.cvs;.idea;.DS_Store;.git;.hg;*.hprof;*.pyc;/home/DOMAIN/user/www/apps/*/cache/;/home/DOMAIN/user/www/apps/*/lib/;/home/DOMAIN/user/www/apps/*/system/;/home/DOMAIN/user/www/apps/*/temp_files/;/home/DOMAIN/user/www/system/cache/;/home/DOMAIN/user/www/system/logs/;
Where /home/DOMAIN/user/www/ is the remote path.
I have also tried these:
(full path with trailing slash)
.svn;.cvs;.idea;.DS_Store;.git;.hg;*.hprof;*.pyc;/home/DOMAIN/user/www/apps/*/cache;/home/DOMAIN/user/www/apps/*/lib;/home/DOMAIN/user/www/apps/*/system;/home/DOMAIN/user/www/apps/*/temp_files;/home/DOMAIN/user/www/system/cache;/home/DOMAIN/user/www/system/logs;
(- remote path + both pre & trailing slash)
.svn;.cvs;.idea;.DS_Store;.git;.hg;*.hprof;*.pyc;/apps/*/cache/;/apps/*/lib/;/apps/*/system/;/apps/*/temp_files/;/system/cache/;/system/logs/;
(- remote path with trailing slash)
.svn;.cvs;.idea;.DS_Store;.git;.hg;*.hprof;*.pyc;apps/*/cache/;apps/*/lib/;apps/*/system/;apps/*/temp_files/;system/cache/;system/logs/;
(- remote path, no pre/trailing slash)
.svn;.cvs;.idea;.DS_Store;.git;.hg;*.hprof;*.pyc;/apps/*/cache;/apps/*/lib;/apps/*/system;/apps/*/temp_files;system/cache;/system/logs;
-----
It looks to me like this 'ignore' only applies to the specific folder name or specific file name; it doesn't look to me like I can wild card a path, which is what I am trying to do. Having to 'exclude' each folder manually isn't going to work as we don't want to have to update this every time we add a new project to the list (which is very often).
No matter what path I take here, when I go the next page, I see folders I have specifically excluded are still highlighted green to be indexed … if I assume it's just for display and I try to get it to index, it index the folders I have excluded and it gets stuck (as it's circular, which means it will endlessly follow the links). I have turned off it's setting to recursive follow using ctrl + shift + a : registry something about symlinks.
I'm at a loss for what do here. I'm swapping to PHP Storm for the first time from Sublime Text, … In sublime text the wildcards worked just fine and it excluded all the folders we needed it to just fine; but I can't seem to replicate that in PHP storm.
Any help would be appreciated.
Please sign in to leave a comment.
Wildcards aren't supported there: https://youtrack.jetbrains.com/issue/WI-19041.
Here's a quick description of how Excluded paths are working: https://www.jetbrains.com/help/phpstorm/2018.3/deployment-excluded-paths-tab.html
Howdy,
When do you guys plan to add this? The above way isn't what I'm looking for … no one wants to manually exclude thousands of directories.
Thanks.
We might have to get a refund on on this IDE and just go back to Sublime text; there's no way we can go through and exclude thousands of directories because you guys don't support wild cards for paths vs wildcards for folders/filenames.
Unfortunately, there are no exact dates of implementation at this moment, sorry, but we will try to do our best to revive the YouTrack thread.
Please follow: https://youtrack.jetbrains.com/issue/WI-19041