Commit graph

46 commits

Author SHA1 Message Date
Nico Schottelius
d49e95baac use wrapper in bin/ so script/ctt can run in sane PYTHONPATH
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
2013-08-30 11:35:55 +02:00
Nico Schottelius
5a9983f7dd rephrase website
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
2013-08-30 11:14:40 +02:00
Nico Schottelius
76283a1240 ++changes(1.0)
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
2013-08-30 11:11:06 +02:00
oz123
654153eb9c fix for crash in listprojects
[36] ozn@deboz:~/software/ctt  [master]  $ ctt listprojects
Traceback (most recent call last):
  File "/usr/local/bin/ctt", line 5, in <module>
    pkg_resources.run_script('ctt==0.9', 'ctt')
  File "/usr/lib/python3/dist-packages/pkg_resources.py", line 507, in run_script
    self.require(requires)[0].run_script(script_name, ns)
  File "/usr/lib/python3/dist-packages/pkg_resources.py", line 1273, in run_script
    exec(compile(open(script_filename).read(), script_filename, 'exec'), namespace, namespace)
  File "/usr/local/lib/python3.3/dist-packages/ctt-0.9-py3.3.egg/EGG-INFO/scripts/ctt", line 119, in <module>
    parse_argv(sys.argv[1:], ctt.VERSION)
  File "/usr/local/lib/python3.3/dist-packages/ctt-0.9-py3.3.egg/EGG-INFO/scripts/ctt", line 95, in parse_argv
    args.func(args)
  File "/usr/local/lib/python3.3/dist-packages/ctt-0.9-py3.3.egg/lib/ctt/listprojects.py", line 33, in commandline
    cls.print_projects()
TypeError: print_projects() takes 0 positional arguments but 1 was given
2013-08-30 10:06:49 +02:00
Nico Schottelius
a595e2af94 ++changes
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
2013-08-29 13:49:56 +02:00
oz123
cd6af4d0fd add installer 2013-08-29 13:48:18 +02:00
oz123
0d27fb60cb add author information to __init__.py 2013-08-29 13:48:02 +02:00
Nico Schottelius
2ac0d937b1 list times for all projects
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
2013-08-21 12:11:46 +02:00
Nico Schottelius
2de8525bab use project and report summary only once
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
2013-07-24 18:56:56 +02:00
Nico Schottelius
29fbda012f initial support for listing tracked time for all projects
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
2013-07-24 16:35:47 +02:00
Nico Schottelius
138e1075f9 work around python 3.3 argument parser bug
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
2013-06-08 22:53:09 +02:00
Nico Schottelius
5f0155b968 +push
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
2013-04-29 17:12:13 +02:00
Nico Schottelius
1cadbacaab +webpub
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
2013-04-29 17:06:50 +02:00
Nico Schottelius
09a7654f35 +example usage
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
2013-04-29 17:03:44 +02:00
Nico Schottelius
dbcecf9970 use a dict to have keyword access
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
2013-04-29 16:38:21 +02:00
Nico Schottelius
7f904fa702 ++changes
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
2013-04-29 16:12:20 +02:00
Nico Schottelius
e6e1ffbbf8 update manpage, update parameter descriptions
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
2013-04-29 14:27:19 +02:00
Nico Schottelius
2f2f774e8d changes for 0.9
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
2013-04-29 10:55:32 +02:00
Nico Schottelius
7b83d22a08 add manpage
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
2013-04-29 10:53:24 +02:00
Nico Schottelius
ab362be637 support -e/-i & changelog entry
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
2013-04-27 22:55:02 +02:00
Nico Schottelius
5003b935f4 remove obsolte report parts
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
2013-04-04 23:23:40 +02:00
Nico Schottelius
951597288b +website
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
2013-04-04 12:57:56 +02:00
Nico Schottelius
13373c4f60 support varying output modifiers for report
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
2013-04-04 00:05:41 +02:00
Nico Schottelius
875aeb4f03 begin to do more clever default date selection
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2012-12-03 18:11:29 +01:00
Nico Schottelius
9b943ebd3d add support for listprojects
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2012-11-27 13:05:18 +01:00
Nico Schottelius
92c51d9dc0 update version string
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2012-11-01 10:39:32 +01:00
Nico Schottelius
4f135916e3 +makefile
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2012-10-31 22:54:11 +01:00
Nico Schottelius
376d2d6079 sort entries on report
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2012-10-31 22:19:33 +01:00
Nico Schottelius
a791bae133 default to add a comment, not to skip
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2012-10-31 18:10:33 +01:00
Nico Schottelius
8e1402190c update readme
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2012-10-31 18:10:20 +01:00
Nico Schottelius
e642b525d9 support report with entry listing
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2012-10-14 16:15:59 +02:00
Nico Schottelius
f990b0158d cleanup report/tracker, ensure end day ends at 23:59:59
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2012-08-29 12:20:45 +02:00
Nico Schottelius
6d827c1dcc Add support for comments (after tracking)
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2012-08-28 17:23:24 +02:00
Nico Schottelius
58a8924811 change disk format and add conversion utility
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2012-08-28 14:03:58 +02:00
Nico Schottelius
be36db753d can specifiy start and end datetimes for tracking
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2012-08-27 18:37:03 +02:00
Nico Schottelius
1f482cf3f2 reporting tracked time works
[17:37] brief:ctt% ./bin/ctt report -s 2012-01-01 -e 2012-12-31  test
Tracked time between 2012-01-01 00:00:00 and 2012-12-31 00:00:00: 0h 0m
10.654657s.
[17:37] brief:ctt% ./bin/ctt report -s 2012-01-01 -e 2012-12-31  localch
Tracked time between 2012-01-01 00:00:00 and 2012-12-31 00:00:00: 16h
32m 38.84267699999327s.

Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2012-08-27 17:37:56 +02:00
Nico Schottelius
1681870473 begin manpage, begin integration of start/end tracking
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2012-08-27 17:14:54 +02:00
Nico Schottelius
cd733c73a8 finish reporting
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2012-08-27 16:58:18 +02:00
Nico Schottelius
69bbdf80bd ignore python cache
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2012-08-24 17:21:15 +02:00
Nico Schottelius
082c316f3c split off ctt into lib
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2012-08-24 16:54:32 +02:00
Nico Schottelius
73e9e8c3c6 +seconds
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2012-08-03 23:32:18 +02:00
Nico Schottelius
2de70a14af begin reports
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2012-08-03 23:32:11 +02:00
Nico Schottelius
5d0580d930 write delta, not end time
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2012-08-02 08:30:46 +02:00
Nico Schottelius
cb1e9aec54 can track time, storing seconds format
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2012-08-02 00:28:16 +02:00
Nico Schottelius
fc194c9f7a begin initial argparser
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2012-08-01 23:54:19 +02:00
Nico Schottelius
1e334b9f0b begin vork
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2012-08-01 23:00:25 +02:00