Commit graph

32 commits

Author SHA1 Message Date
Alan Hamlett
d3a31fc72d fix a few bugs and remove unused imports 2015-02-10 12:09:32 -08:00
Alan Hamlett
685ba447b4 fix list index error when detecting subversion project 2014-11-18 15:57:29 -08:00
Alan Hamlett
1e1b001b61 detect branch name from local directory name for subversion projects 2014-11-10 12:25:01 -08:00
Alan Hamlett
0ec8c8edd9 don't open binary file as utf-8 2014-09-30 10:11:44 -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
138be33349 use os.devnull for python2 support 2014-08-29 12:45:52 -07:00
Alan Hamlett
c7989b1eaf supress output from running svn command 2014-08-29 12:37:54 -07:00
Alan Hamlett
a5572bfc29 find svn binary location from common install directories 2014-08-27 03:25:05 -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
275a2a6e57 set system language to English before running subversion program 2014-01-14 05:02:51 -08:00
Alan Hamlett
c3642fade2 second line in .wakatime-project sets branch name 2013-12-13 16:33:09 +01:00
Alan Hamlett
05ced3dbc0 update description with example of using projectmap config section 2013-12-13 15:02:44 +01: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
b75570a589 Fix ProjectMap always returning true if it has a config section 2013-12-12 10:09:14 +01:00
3onyc
5b9eb937ff Rename config to settings in BaseProject 2013-12-11 15:13:40 +01:00
3onyc
a4913289ce Make ProjectMap use config section 2013-12-10 13:46:56 +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
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
f8b4c91ae6 remove support for subversion on Windows to prevent cmd windows from opening 2013-10-14 21:50:22 -07: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