Commit graph

86 commits

Author SHA1 Message Date
Darko Poljak
0b012a47f9 Merge pull request #25 from darko-poljak/ignore-non-matching-patterns
Ignore non matching patterns for report command.
2017-02-15 21:29:56 +01:00
Darko Poljak
2238ea7042 Merge remote-tracking branch 'upstream/master' into ignore-non-matching-patterns 2017-02-15 21:30:50 +01:00
Darko Poljak
91cbda6c7b Merge pull request #24 from darko-poljak/fix-summary-option
Fix summary option
2017-02-15 21:26:40 +01:00
Darko Poljak
8ed104616a Ignore non matching patterns for report command.
Non matching datetime pattern directory entries are skipped.
2017-02-15 11:12:51 +01:00
Darko Poljak
bfded4d903 pep8 2016-11-07 09:18:08 +01:00
Darko Poljak
9adc35f78b Fix summary option output. 2016-11-07 08:47:12 +01:00
Nico Schottelius
03fcffb3bf Merge pull request #22 from darko-poljak/completions
Implement bash and zsh completions.
2016-06-07 10:45:19 +02:00
Darko Poljak
3079ab3642 Implement bash and zsh completions. 2016-06-07 10:20:08 +02:00
Nico Schottelius
c0eeb5a480 Merge pull request #21 from darko-poljak/bugfix-sorting
Fix sorting of time entries.
2016-05-24 21:30:34 +02:00
Nico Schottelius
16dec480d9 Merge pull request #20 from darko-poljak/fix-typo-and-man
Fix typo and man.text.
2016-05-24 21:29:31 +02:00
Darko Poljak
f1fea6add6 Fix sorting of time entries. 2016-05-24 08:49:02 +02:00
Darko Poljak
b3f4dec1d8 Fix typo and man.text. 2016-05-24 07:16:25 +02:00
Nico Schottelius
ebcb7aa7ba Merge pull request #19 from darko-poljak/test-intro
Add unit tests.
2016-04-14 09:37:40 +02:00
Darko Poljak
cd8d3b06fd Fix copy paste errors in comments. 2016-04-11 17:19:53 +02:00
Darko Poljak
dda4ff807d Add remaining tests. Merge bugfix for report printing. 2016-04-11 17:16:33 +02:00
Darko Poljak
a7dbe383e4 Merge branch 'bugfix-multiple_rows' into test-intro 2016-04-11 17:15:35 +02:00
Darko Poljak
f72db34875 Bugfix: report prints multiple rows. 2016-04-11 17:08:54 +02:00
Darko Poljak
6245a3c015 Introduce unit tests (init, main, listprojects, tracker). 2016-04-10 21:01:54 +02:00
Nico Schottelius
2cf503abac Merge pull request #17 from darko-poljak/summary-option
Summary option
2016-04-08 08:52:03 +02:00
Darko Poljak
0c90b7b2e7 Update .gitignore 2016-04-08 08:47:39 +02:00
Darko Poljak
f5123d3328 Code improvements. 2016-04-07 22:22:56 +02:00
Darko Poljak
4663003b69 Remove unnecessary code. 2016-04-07 18:26:34 +02:00
Darko Poljak
3ea214783c Add summary option. 2016-04-07 12:32:39 +02:00
Nico Schottelius
bd0c3cc13c Merge pull request #16 from darko-poljak/no-args-err
Fix error when called without args.
2016-04-03 23:51:39 +02:00
Darko Poljak
a5249a5f02 Fix error when called without args. 2016-04-03 21:58:19 +02:00
Nico Schottelius
53170402fd Merge pull request #15 from darko-poljak/report-project-basename
Report project name as file path basename.
2016-04-03 20:34:14 +02:00
Darko Poljak
525e8fbb93 Report project name as file path basename. 2016-04-02 21:18:42 +02:00
Nico Schottelius
a6d48be4aa Merge pull request #14 from darko-poljak/report-globbing
Add report project name globbing.
2016-03-25 10:12:45 +01:00
Darko Poljak
ff1ccba2fa Add report project name globbing. 2016-03-25 08:47:06 +01:00
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