Commit graph

107 commits

Author SHA1 Message Date
Nico Schottelius
ac15255ad7 Merge pull request #13 from greendeath/bug/man_ctt_typo
Typo fix in ctt.text
2016-03-10 16:16:32 +01:00
c98b9231d1 Typo fix in ctt.text
ctt track also uses --sd and --ed not -s or -e
2015-09-25 16:23:44 +02:00
Nico Schottelius
bf0e47cef8 fix listprojects
Signed-off-by: Nico Schottelius <nico@freiheit.schottelius.org>
2015-04-12 01:04:38 +09:00
Nico Schottelius
d0cf603675 catch invalid time entries
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
2014-07-01 17:56:20 +02:00
Davide Riccardo Caliendo
4de600713a improved bash completion script
* fixed a bug with listprojects command name
* only long option names are expanded
* now various options depends on the given command, and are not
  expanded by default (start with -* and tab to list them)
* project names are only expanded when a suitable command is given
  before, and they are not expanded more than one time
2013-11-27 21:31:20 +01:00
Nico Schottelius
464d90948a More Changes for 1.0
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
2013-10-17 13:06:40 +09:00
Davide Riccardo Caliendo
cd29a8574f added bash completion script 2013-10-17 13:03:58 +09:00
Davide Riccardo Caliendo
4e0edfb3fc added license and manifest files 2013-10-17 13:03:58 +09:00
Davide Riccardo Caliendo
7619756360 correct license indication in setup.py 2013-10-17 13:03:58 +09:00
Nico Schottelius
c91e159836 remove sys.path from scripts/ctt - not needed anymore
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
2013-08-30 11:50:22 +02:00
Nico Schottelius
f0c0e5ac7b ++changes(1.0)
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
2013-08-30 11:37:39 +02:00
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