graysky2 / profile-sync-daemon

Symlinks and syncs browser profile dirs to RAM thus reducing HDD/SDD calls and speeding-up browsers.
https://wiki.archlinux.org/index.php/Profile-sync-daemon
Other
910 stars 88 forks source link

Add pycharm as a profile sync option #107

Closed DebauchedSloth closed 9 years ago

DebauchedSloth commented 9 years ago

This pull request adds Idea Pycharm as a profile type. Pycharm is a python IDE. It saves a local history in its profile directory, along with indexes of the source code, and benefits (very) greatly from PSD.

hasufell commented 9 years ago

I think profile-sync-daemon should question it's own design. It doesn't make much sense to add tons of specific hardcoded directories. It should rather allow to sync arbitrary directories and add more abstraction.

DebauchedSloth commented 9 years ago

That would be great. If this patch serves to help move it in that direction, awesome. Ordinarily, I'd likely just keep this patch private (it's pretty specialized, no?), but the patch is so effective, I figured it would be worth it.

For Arch users, I have added an AUR package which will build PSD from git and also apply this patch.

graysky2 commented 9 years ago

@hasufell - I am interested in how you would propose implementing this since users would need to provide a few pieces of data including the sync path, an entry in the config_check function, and a browser name that is correctly corresponding to the executable.

andrewbolster commented 9 years ago

I was about to go off and make my own fork to produce the same behaviour not only for pycharm but for spotify and a few other cache-bound applications.

+1 for arbitrary config directories in conf even if it requires more information; easier than maintaining multiple 'ramcache' solutions.

graysky2 commented 9 years ago

PRs are welcome :p