Commit Graph

8 Commits

Author SHA1 Message Date
Alan Hamlett 297ebb902b updates to project plugins:
- force projects to return unicode names and branches, or None
 - refactor ProjectMap to set project name from cfg file
 - pass configs to find_project() as dict from plugin's cfg section
 - clean up git project class

updates to config file:

 - rename ~/.wakatime.conf to ~/.wakatime.cfg
 - better error handling while parsing and getting configs
 - no longer need to set defaults when parsing config file
 - use configparser for python3 when python2 import fails
2013-12-13 14:46:39 +01:00
3onyc d6e1da7073 Pass config to plugin, but only if it has a section for the plugin 2013-12-10 13:46:56 +01:00
3onyc 23c586e616 Use ConfigParser and add [settings] header in case it's missing 2013-12-10 13:46:56 +01:00
3onyc 81fe41409a Implement ProjectMap plugin 2013-12-10 13:46:56 +01:00
Alan Hamlett b345a1ff7b set project name with .wakatime-project file 2013-11-13 10:41:56 -08:00
Alan Hamlett cf2c5c07ad v0.1.4 use os.path for Windows compatible config file path. no longer importing BaseProject to prevent possible circular import. 2013-07-21 10:30:06 -07:00
Alan Hamlett 0af24e0b17 refactored project classes. supporting svn projects. finding more tags for git projects. 2013-07-09 20:11:49 -07:00
Alan Hamlett a902a2b948 added version 0.0.1 2013-07-06 00:51:09 -07:00