Commit graph

16 commits

Author SHA1 Message Date
Alan Hamlett
43c461a7cc try opening files with filesystem encoding when opening with utf-8 causes UnicodeDecodeError 2015-08-23 18:49:34 -07:00
Alan Hamlett
4bad3541d9 new compat file for python2 and python3 compatibility. read files as utf-8. 2014-09-30 09:09:30 -07:00
Alan Hamlett
e392ff6e77 namespace logger to prevent conflicts with other plugins 2014-07-25 00:59:25 -07:00
Alan Hamlett
7697b54e8e detect project name and branch from mercurial revision control 2014-02-05 00:55:52 -08:00
Alan Hamlett
eb479efa52 define unicode as str for Python3 2014-01-15 16:41:35 -08: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
Alan Hamlett
da3f519dc0 read .git/HEAD file directly to find branch instead of running git command line 2013-10-13 16:31:37 -07:00
Alan Hamlett
1aa88e4bf1 using branch instead of tags 2013-08-15 00:09:27 -07:00
Alan Hamlett
08010e86fe removed --list option for older git installations. using sys.version_info as tuple for python 2.6 support. 2013-07-30 16:23:12 -07:00
Alan Hamlett
26212df0f7 support for Python3 2013-07-29 23:04:43 -07:00
Alan Hamlett
9f26012ddd don't assume all git urls are the same 2013-07-22 17:23:55 -07:00
Alan Hamlett
d1fc0ba0db removing duplicate tags before sending. reduced number of tags for git and svn projects. recursively finding parent svn directory. 2013-07-20 14:42:19 -07:00
Alan Hamlett
7134ac4650 discarding stderr when working with git and subversion command line clients 2013-07-10 01:33:36 -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
9457b85567 version 0.1.1. refactored. simplified action events schema. 2013-07-07 16:28:18 -07:00
Alan Hamlett
a902a2b948 added version 0.0.1 2013-07-06 00:51:09 -07:00