Skip to content

Commit 4918f5e

Browse files
committed
📚 [team] Describe TSV format for devteams.tsv
1 parent c238bbd commit 4918f5e

File tree

2 files changed

+16
-1
lines changed

2 files changed

+16
-1
lines changed

README.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -151,6 +151,20 @@ commits/reporting accordingly. You can run in team mode with:
151151
% HAVOC_TEAMWISE=1 havoc
152152
```
153153

154+
The team file should be named `devteams.tsv` and live in the directory you're
155+
running `havoc` from. The TSV format is like:
156+
157+
```
158+
Larry David Writers
159+
Billy Crystal Writers
160+
Martin Short Writers
161+
Chris Farley Cast
162+
Bill Murray Cast
163+
Tina Fey Cast
164+
Lorne Michaels Producers
165+
Dick Ebersol Producers
166+
```
167+
154168
That will print an additional summary for each team and create sections for
155169
each. The LLM prompt for teams is focused more on categorizing into noteworthy
156170
projects.

bin/wardoc

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ llmprompt="Summarize the following git commits in a couple concise paragraphs, w
1818
fmt=${HAVOC_COMMIT_FORMAT-'%s (%h) — _%an_'}
1919

2020
teamwise=${HAVOC_TEAMWISE}
21+
teamfile='devteams.tsv'
2122

2223
# Option and setup to print tables
2324
# If going tabular, just ignore any user-set commit format
@@ -158,7 +159,7 @@ org_projwise () {
158159
org_teamwise () {
159160
# Convert TSV to assoc array
160161
estr=$( print -- 'declare -A devs=('
161-
sed -r -e 's/\t/" "/g' -e 's/^/"/' -e 's/$/"/' devteams.tsv
162+
sed -r -e 's/\t/" "/g' -e 's/^/"/' -e 's/$/"/' $teamfile
162163
print ')'
163164
)
164165
eval "$estr"

0 commit comments

Comments
 (0)