Changelog for 06-06-2008
[git-stats.git] / changelog.txt
blob1155ea621466e8548f3bf349336ca654fc304493
1 Preliminary version of the activityInArea function is done,
2 can't handle merges yet. The test repo perhaps needs some
3 TLC to produce merges, have mutliple authors, and mutliple
4 files. Merges may be handled by splitting the line and
5 checking if it has more than 1 part.
7 Finished activityInArea for now, it handles merges as
8 suggested, but the test repo still needs said TLC. Wrote a
9 wrapper script, stats.py, that will serve as a command
10 dispatcher / readability layer. Unhandled at the moment are
11 directory/file renames.
13 No work done because of uni project deadline, project is
14 finished now so more time for gsoc now.
16 Created a 'touched' command that shows all commits that
17 touch the same files as the staged changes. Also created
18 another function that lists all files touched in a commit.
19 That way instead of allowing it to only work on staged
20 changes it may also work upon a specific commit.
22 Created three functions, branchContains, commitmsgMatches,
23 and commitdiffMatches, to use for metrics later on. The
24 test repo needs major TLC now, it is rather useless for
25 testing the above functions. There is no validty checking
26 yet for any of the current functions, perhaps do this at
27 dispatch time? The function that dispatches should be able
28 to do git-rev-check on the arguments if required.
30 No development done in the morning during due to a
31 presentation for uni. Couldn't start coding till later in
32 the day due to going out with the family because the house
33 is sold. Gave the test repo the TLC it deserves.
35 Started work on a diff-parser. Turns out this will need
36 some further thought (what about renames etc), but not now.
38 Completed the diff parser and added a diff-differ. There
39 are currently no tests for either, but manual testing has
40 been done. Next step should probably be the creation of
41 testcases and perhaps expanding the test repo.
43 Done only trival work, spent most day studying for
44 upcomming examns. Tried to decide on how to test things but
45 came up short.
47 Decided on using a modified version of test-lib.sh for
48 testing. Next problem that came up is how to test functions
49 from the modules. Most obvious solution is to implement
50 command parsing in stats.py. Another problem is how to get
51 access to stats.py in the test repo.  Optparse looks nice
52 for parsing but might be overkill. Main problem now is what
53 commandline structure to use for dispatching.
55 Got started on the dispatcher, the 'diff' part actually has
56 a working dispatcher. All other modules have a no-op method
57 that excepts any amount of arguments though. Noticed a bug
58 in commitDiffEquals which will need fixing; it currently is
59 unable to handle hunks longer than one line, very lame.
60 This once more points out the need of good test-cases.
61 Dispatching has to be finished first though, which will
62 probably be done tomorrow.