Skip to content

Commit

Permalink
update all usage of user.name to user.accountId for privacy migration:
Browse files Browse the repository at this point in the history
  • Loading branch information
coryb committed Feb 24, 2020
1 parent 57e1c74 commit a26683e
Show file tree
Hide file tree
Showing 24 changed files with 557 additions and 206 deletions.
66 changes: 33 additions & 33 deletions _t/100basic.t
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,8 @@ status: To Do
summary: summary
project: BASIC
issuetype: Bug
assignee: gojira
reporter: gojira
assignee: GoJira
reporter: GoJira
priority: Medium
votes: 0
description: |
Expand Down Expand Up @@ -69,7 +69,7 @@ DIFF <<EOF
+------------+---------+------+----------+--------+----------+----------+----------+
| Issue | Summary | Type | Priority | Status | Age | Reporter | Assignee |
+------------+---------+------+----------+--------+----------+----------+----------+
| $issue | summary | Bug | Medium | To Do | a minute | gojira | gojira |
| $issue | summary | Bug | Medium | To Do | a minute | GoJira | GoJira |
+------------+---------+------+----------+--------+----------+----------+----------+
EOF

Expand Down Expand Up @@ -97,17 +97,17 @@ status: To Do
summary: summary
project: BASIC
issuetype: Bug
assignee: gojira
reporter: gojira
assignee: GoJira
reporter: GoJira
priority: High
votes: 0
description: |
description
comments:
- | # gojira, a minute ago
- | # GoJira, a minute ago
edit comment
- | # gojira, a minute ago
- | # GoJira, a minute ago
bulk edit comment
EOF
Expand Down Expand Up @@ -174,8 +174,8 @@ status: To Do
summary: summary
project: BASIC
issuetype: Bug
assignee: gojira
reporter: gojira
assignee: GoJira
reporter: GoJira
blockers:
depends: $dup[Done]
priority: Medium
Expand Down Expand Up @@ -221,8 +221,8 @@ status: To Do
summary: summary
project: BASIC
issuetype: Bug
assignee: gojira
reporter: gojira
assignee: GoJira
reporter: GoJira
blockers: $blocker[To Do]
depends: $dup[Done]
priority: Medium
Expand Down Expand Up @@ -267,8 +267,8 @@ status: To Do
summary: summary
project: BASIC
issuetype: Bug
assignee: gojira
reporter: gojira
assignee: GoJira
reporter: GoJira
blockers: $blocker[To Do]
depends: $dup[Done]
priority: Medium
Expand All @@ -294,8 +294,8 @@ status: To Do
summary: summary
project: BASIC
issuetype: Bug
assignee: gojira
reporter: gojira
assignee: GoJira
reporter: GoJira
blockers: $blocker[To Do]
depends: $dup[Done]
priority: Medium
Expand All @@ -314,10 +314,10 @@ OK $issue $ENDPOINT/browse/$issue
EOF

# FIXME we probably need a watchers command to wrap this?
RUNS sh -c "$jira req /rest/api/2/issue/$issue/watchers | jq -r .watchers[].name | sort"
RUNS sh -c "$jira req /rest/api/2/issue/$issue/watchers | jq -r .watchers[].displayName | sort"
DIFF <<EOF
gojira
mothra
GoJira
Mothra
EOF

###############################################################################
Expand Down Expand Up @@ -386,8 +386,8 @@ status: To Do
summary: summary
project: BASIC
issuetype: Bug
assignee: gojira
reporter: gojira
assignee: GoJira
reporter: GoJira
blockers: $blocker[Done]
depends: $dup[Done]
priority: Medium
Expand All @@ -413,8 +413,8 @@ status: To Do
summary: summary
project: BASIC
issuetype: Bug
assignee: gojira
reporter: gojira
assignee: GoJira
reporter: GoJira
blockers: $blocker[Done]
depends: $dup[Done]
priority: Medium
Expand All @@ -423,7 +423,7 @@ description: |
description
comments:
- | # mothra, a minute ago
- | # Mothra, a minute ago
Yo, Comment
EOF
Expand All @@ -445,8 +445,8 @@ status: Done
summary: blocks
project: BASIC
issuetype: Bug
assignee: gojira
reporter: gojira
assignee: GoJira
reporter: GoJira
blockers:
depends: $issue[To Do]
priority: Medium
Expand All @@ -473,8 +473,8 @@ status: Done
summary: blocks
project: BASIC
issuetype: Bug
assignee: gojira
reporter: gojira
assignee: GoJira
reporter: GoJira
blockers:
depends: $issue[To Do]
priority: Medium
Expand All @@ -501,8 +501,8 @@ status: Done
summary: blocks
project: BASIC
issuetype: Bug
assignee: gojira
reporter: gojira
assignee: GoJira
reporter: GoJira
blockers:
depends: $issue[To Do]
priority: Medium
Expand All @@ -529,8 +529,8 @@ status: Done
summary: blocks
project: BASIC
issuetype: Bug
assignee: mothra
reporter: gojira
assignee: Mothra
reporter: GoJira
blockers:
depends: $issue[To Do]
priority: Medium
Expand All @@ -557,8 +557,8 @@ status: Done
summary: blocks
project: BASIC
issuetype: Bug
assignee: gojira
reporter: gojira
assignee: GoJira
reporter: GoJira
blockers:
depends: $issue[To Do]
priority: Medium
Expand Down
4 changes: 2 additions & 2 deletions _t/101default.t
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,8 @@ status: To Do
summary: summary
project: BASIC
issuetype: Bug
assignee: gojira
reporter: gojira
assignee: GoJira
reporter: GoJira
priority: Medium
votes: 0
description: |
Expand Down
2 changes: 1 addition & 1 deletion _t/110basic-worklog.t
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ EOF
###############################################################################
RUNS $jira worklog $issue
DIFF <<EOF
- # gojira, a minute ago
- # GoJira, a minute ago
comment: work is hard
started: 2017-01-29T06:17:00.000-0800
timeSpent: 1h 12m
Expand Down
2 changes: 1 addition & 1 deletion _t/120custom-commands.t
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,6 @@ DIFF <<EOF
+------------+---------+------+----------+--------+----------+----------+----------+
| Issue | Summary | Type | Priority | Status | Age | Reporter | Assignee |
+------------+---------+------+----------+--------+----------+----------+----------+
| $issue | summary | Bug | Medium | To Do | a minute | gojira | gojira |
| $issue | summary | Bug | Medium | To Do | a minute | GoJira | GoJira |
+------------+---------+------+----------+--------+----------+----------+----------+
EOF
6 changes: 3 additions & 3 deletions _t/130basic-epics.t
Original file line number Diff line number Diff line change
Expand Up @@ -72,8 +72,8 @@ DIFF<<EOF
+------------+---------+------+----------+--------+----------+----------+----------+
| Issue | Summary | Type | Priority | Status | Age | Reporter | Assignee |
+------------+---------+------+----------+--------+----------+----------+----------+
| $issue1 | summary | Bug | Medium | To Do | a minute | gojira | gojira |
| $issue2 | summary | Bug | Medium | To Do | a minute | gojira | gojira |
| $issue1 | summary | Bug | Medium | To Do | a minute | GoJira | GoJira |
| $issue2 | summary | Bug | Medium | To Do | a minute | GoJira | GoJira |
+------------+---------+------+----------+--------+----------+----------+----------+
EOF

Expand All @@ -95,7 +95,7 @@ DIFF<<EOF
+------------+---------+------+----------+--------+----------+----------+----------+
| Issue | Summary | Type | Priority | Status | Age | Reporter | Assignee |
+------------+---------+------+----------+--------+----------+----------+----------+
| $issue2 | summary | Bug | Medium | To Do | a minute | gojira | gojira |
| $issue2 | summary | Bug | Medium | To Do | a minute | GoJira | GoJira |
+------------+---------+------+----------+--------+----------+----------+----------+
EOF

Expand Down
12 changes: 6 additions & 6 deletions _t/140basic-attach.t
Original file line number Diff line number Diff line change
Expand Up @@ -62,9 +62,9 @@ DIFF <<EOF
+-------+-------------+---------+--------+----------+
| id | filename | bytes | user | created |
+-------+-------------+---------+--------+----------+
| $attach1 | README.md | 1239 | gojira | a minute |
| $attach2 | garbage.bin | 1048576 | gojira | a minute |
| $attach3 | foobar.bin | 1048576 | gojira | a minute |
| $attach1 | README.md | 1239 | GoJira | a minute |
| $attach2 | garbage.bin | 1048576 | GoJira | a minute |
| $attach3 | foobar.bin | 1048576 | GoJira | a minute |
+-------+-------------+---------+--------+----------+
EOF

Expand Down Expand Up @@ -149,8 +149,8 @@ DIFF <<EOF
+-------+-------------+---------+--------+----------+
| id | filename | bytes | user | created |
+-------+-------------+---------+--------+----------+
| $attach2 | garbage.bin | 1048576 | gojira | a minute |
| $attach3 | foobar.bin | 1048576 | gojira | a minute |
| $attach2 | garbage.bin | 1048576 | GoJira | a minute |
| $attach3 | foobar.bin | 1048576 | GoJira | a minute |
+-------+-------------+---------+--------+----------+
EOF

Expand All @@ -168,7 +168,7 @@ DIFF <<EOF
+-------+------------+---------+--------+----------+
| id | filename | bytes | user | created |
+-------+------------+---------+--------+----------+
| $attach3 | foobar.bin | 1048576 | gojira | a minute |
| $attach3 | foobar.bin | 1048576 | GoJira | a minute |
+-------+------------+---------+--------+----------+
EOF

Expand Down
Loading

0 comments on commit a26683e

Please sign in to comment.