donmullen / mingle_git

git plugin for thoughtworks mingle

This URL has Read+Write access

Don Mullen (author)
Sat Sep 20 13:37:14 -0700 2008
commit  8bdda36750dde49dd6f8e47eaa20b51c0c1989ef
tree    c6a050007f0c789110cb2d84824abb8fbeda3a5b
parent  56bb16f70535506e1d095b8afc15d55152b032cf
mingle_git / todo.taskpaper
100644 31 lines (31 sloc) 2.083 kb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
TODO:
- Git pulls are happening way, way too frequently. These take a few seconds every time. Find a way to limit these. @done
- Allow for different branch names (curently hard-coded to 'master')
- Error processing
- Short shas where appropriate @done
- enhance github source routing
- check for path
- convert revision number to git sha
Known Defects to Fix:
- Repeated revisions on the history page (doesn't seem to happen for smaller projects), but the revision list seems to start getting repeats from the last revision back (turned out to be problem with submodules) @done
- Sometimes get uncaught exception GitRepository::NoSuchRevisionError - again for larger repos - generally prevents source view from displaying (submodule problem) @done
- Given Mingle assumes revisions are sequential numbers, there may be problems if git checkins change the order and make the cache incorrect.
Performance Enhancements:
- Change calls within revisions to Commit.changelist (new function that returns just the --name-status array) @done
- Move actual diff to ChangePath.diff @done
- Node.revision calls back into GitRepository.revision, which spins through a full changepath/diff. This is called frequently in source browsing. Figure out a better way. [Recently added cache so that this is only done once per node]. @done
Node:
- Implement revisions (not needed) @done
- Change revision_number to get the actual revision of the node, not the commit revision number @done
- Implement previous_revision_node (not needed) @done
Testing:
- rewrite tests for git
GitHub Integration:
- Put in links to github where appropriate
Wanted from Mingle API:
- Hook into Revision # display (currently not called) so that we can display SHA instead of Revision #
- Switch to not assuming numeric revision numbers - can add api to get size for paging purposes
- Access to the Revisions table to store additional information (in our case the SHA of the commit) @done
Misc:
- link from commit column on source view to display revision history
- switch from :text to :longtext for the sha_array @done