| | 56 | |
|---|
| | 57 | * handling of other commit hooks (pre-commit, etc) |
|---|
| | 58 | |
|---|
| | 59 | * better editting of hooks; I think the correct solution is showing |
|---|
| | 60 | the hooks in a textarea providing an interface to hook into. This |
|---|
| | 61 | could look like |
|---|
| | 62 | |
|---|
| | 63 | {{{ |
|---|
| | 64 | class HookContributer(Interface): |
|---|
| | 65 | |
|---|
| | 66 | def hook(): |
|---|
| | 67 | """name(s) of hooks to contibute to""" |
|---|
| | 68 | |
|---|
| | 69 | def name(): |
|---|
| | 70 | """name of the contributor; this will be added to the hook |
|---|
| | 71 | with |
|---|
| | 72 | |
|---|
| | 73 | ### ${name} Trac hook |
|---|
| | 74 | ${commandline} |
|---|
| | 75 | |
|---|
| | 76 | so that the hooks can be removed and installed reliably |
|---|
| | 77 | without overlapping. Maybe a format for command line could |
|---|
| | 78 | be asserted so that this could be parsed too; i'm thinking |
|---|
| | 79 | multiple projects |
|---|
| | 80 | """ |
|---|
| | 81 | |
|---|
| | 82 | def commandline(<arguments>): |
|---|
| | 83 | """the command line to be added""" |
|---|
| | 84 | }}} |
|---|