Commit graph

15 commits

Author SHA1 Message Date
Alan Hamlett
06b8fa2b7c rename project file module 2017-11-04 11:04:43 -07:00
Alan Hamlett
937350220e only read one line of extra heartbeats from stdin 2016-04-28 19:25:52 +02:00
Alan Hamlett
7656b5365d new --entity command line arg to replace --file 2015-08-29 18:14:07 -07:00
Alan Hamlett
92948386fa new --entitytype command line arg to replace --notfile 2015-08-29 16:16:14 -07:00
Alan Hamlett
e8bd8bba76 correct priority for project detection
Priority of project detection:
1. .wakatime-project file
2. [project_map] section in .wakatime.cfg INI file
3. --project arg
3. revision control directory name
5. --alternate-project arg
2015-06-29 19:26:01 -07:00
Alan Hamlett
d3a31fc72d fix a few bugs and remove unused imports 2015-02-10 12:09:32 -08:00
Alan Hamlett
e392ff6e77 namespace logger to prevent conflicts with other plugins 2014-07-25 00:59:25 -07:00
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