Item-repository allocation/locking refactor

Ivan Shapovalov intelfx100 at
Wed Dec 5 06:11:13 UTC 2012


Following Milian's suggestion on, 
I'm putting the work on refactoring the "disk storage allocation" part of the 
item-repositories into a public repo instead of a review-request.

The refactoring is just about
- getting rid of locking in the item-repository directories (because we have 
rather good per-session locks);
- getting rid of numbered subdirectories inside of per-session cache 
directories (because nobody shall use and nobody actually uses multiple 
- changing the cache path once again
  from "~/.cache/kdevduchain/$session"
  to "~/.cache/kdevduchain/$appname-$session";
- making ItemRepositoryRegistry a true singleton;
- finally making the cache directories deleted when a session is deleted from 

The real reason behind all this was the last point.

The branch is called "itemrepository" and is on 

- Ivan

More information about the KDevelop-devel mailing list