Commit bbd98411e8b0e430ee31b6be455bd648679c767a
1 parent
0d02c7cc
Exists in
master
and in
1 other branch
Remove old issue tracker body files
Those are not necessary as we have a general one that will be used as body for all issue trackers
Showing
10 changed files
with
0 additions
and
310 deletions
Show diff stats
app/views/issue_trackers/bitbucket_issues_body.txt.erb
... | ... | @@ -1,58 +0,0 @@ |
1 | -[[<%= app_problem_url problem.app, problem %>| [See this exception on Errbit]]] | |
2 | - | |
3 | ----- | |
4 | - | |
5 | -<% if notice = problem.notices.first %> | |
6 | - <%= notice.message %> | |
7 | - | |
8 | ----- | |
9 | - | |
10 | - == Summary == | |
11 | - <% if notice.request['url'].present? %> | |
12 | - === URL === | |
13 | - [[<%= notice.request['url'] %>]] | |
14 | - <% end %> | |
15 | - | |
16 | ----- | |
17 | - | |
18 | - === Where === | |
19 | - <%= notice.where %> | |
20 | - | |
21 | ----- | |
22 | - | |
23 | - === Occured === | |
24 | - <%= notice.created_at.to_s(:micro) %> | |
25 | - | |
26 | ----- | |
27 | - | |
28 | - === Similar === | |
29 | - <%= (notice.problem.notices_count - 1).to_s %> | |
30 | - | |
31 | ----- | |
32 | - | |
33 | - == Params == | |
34 | -{{{ | |
35 | -<%= pretty_hash(notice.params) %> | |
36 | -}}} | |
37 | - | |
38 | ----- | |
39 | - | |
40 | - == Session == | |
41 | -{{{ | |
42 | -<%= pretty_hash(notice.session) %> | |
43 | -}}} | |
44 | - | |
45 | ----- | |
46 | - | |
47 | - == Backtrace == | |
48 | - <% notice.backtrace_lines.each do |line| %>| <%= line['number'] %>: | <%= line['file'].to_s.sub(/^\[PROJECT_ROOT\]/, '') %> -> **<%= line['method'] %>** | | |
49 | - <% end %> | |
50 | - | |
51 | ----- | |
52 | - | |
53 | - == Environment == | |
54 | - <% for key, val in notice.env_vars %> | |
55 | - | <%= key %>: | <%= val %> | | |
56 | - <% end %> | |
57 | -<% end %> | |
58 | - |
app/views/issue_trackers/fogbugz_body.txt.erb
... | ... | @@ -1,31 +0,0 @@ |
1 | -"See this exception on Errbit": <%= app_problem_url(problem.app, problem) %> | |
2 | -<% if notice = problem.notices.first %> | |
3 | - <%= notice.message %> | |
4 | - | |
5 | - Summary | |
6 | - - Where | |
7 | - <%= notice.where %> | |
8 | - | |
9 | - - Occured | |
10 | - <%= notice.created_at.to_s(:micro) %> | |
11 | - | |
12 | - - Similar | |
13 | - <%= (notice.problem.notices_count - 1).to_s %> | |
14 | - | |
15 | - Params | |
16 | - <%= pretty_hash(notice.params) %> | |
17 | - | |
18 | - Session | |
19 | - <%= pretty_hash(notice.session) %> | |
20 | - | |
21 | - Backtrace | |
22 | - <% notice.backtrace_lines.each do |line| %> | |
23 | - <%= line.number %>: <%= line.file_relative %> | |
24 | - <% end %> | |
25 | - | |
26 | - Environment | |
27 | - <% for key, val in notice.env_vars %> | |
28 | - <%= key %>: <%= val %> | |
29 | - <% end %> | |
30 | -<% end %> | |
31 | - |
app/views/issue_trackers/github_issues_body.txt.erb
... | ... | @@ -1,45 +0,0 @@ |
1 | -[See this exception on Errbit](<%= app_problem_url problem.app, problem %> "See this exception on Errbit") | |
2 | -<% if notice = problem.notices.first %> | |
3 | -# <%= notice.message %> # | |
4 | -## Summary ## | |
5 | -<% if notice.request['url'].present? %> | |
6 | - ### URL ### | |
7 | - [<%= notice.request['url'] %>](<%= notice.request['url'] %>)" | |
8 | -<% end %> | |
9 | -### Where ### | |
10 | -<%= notice.where %> | |
11 | - | |
12 | -### Occured ### | |
13 | -<%= notice.created_at.to_s(:micro) %> | |
14 | - | |
15 | -### Similar ### | |
16 | -<%= (notice.problem.notices_count - 1).to_s %> | |
17 | - | |
18 | -## Params ## | |
19 | -``` | |
20 | -<%= pretty_hash(notice.params) %> | |
21 | -``` | |
22 | - | |
23 | -## Session ## | |
24 | -``` | |
25 | -<%= pretty_hash(notice.session) %> | |
26 | -``` | |
27 | - | |
28 | -## Backtrace ## | |
29 | -``` | |
30 | -<% notice.backtrace_lines.each do |line| %><%= line.number %>: <%= line.file_relative %> -> **<%= line.method %>** | |
31 | -<% end %> | |
32 | -``` | |
33 | - | |
34 | -## Environment ## | |
35 | - | |
36 | -<table> | |
37 | -<% for key, val in notice.env_vars %> | |
38 | - <tr> | |
39 | - <td><%= key %>:</td> | |
40 | - <td><%= val %></td> | |
41 | - </tr> | |
42 | -<% end %> | |
43 | -</table> | |
44 | -<% end %> | |
45 | - |
app/views/issue_trackers/gitlab_body.txt.erb
... | ... | @@ -1,29 +0,0 @@ |
1 | -<% if notice = problem.notices.first %> | |
2 | -## Params ## | |
3 | -``` | |
4 | -<%= pretty_hash(notice.params) %> | |
5 | -``` | |
6 | - | |
7 | -## Session ## | |
8 | -``` | |
9 | -<%= pretty_hash(notice.session) %> | |
10 | -``` | |
11 | - | |
12 | -## Backtrace ## | |
13 | -``` | |
14 | -<% notice.backtrace_lines.each do |line| %><%= line.number %>: <%= line.file_relative %> -> **<%= line.method %>** | |
15 | -<% end %> | |
16 | -``` | |
17 | - | |
18 | -## Environment ## | |
19 | - | |
20 | -<table> | |
21 | -<% for key, val in notice.env_vars %> | |
22 | - <tr> | |
23 | - <td><%= key %>:</td> | |
24 | - <td><%= val %></td> | |
25 | - </tr> | |
26 | -<% end %> | |
27 | -</table> | |
28 | -<% end %> | |
29 | - |
app/views/issue_trackers/gitlab_summary.txt.erb
... | ... | @@ -1,17 +0,0 @@ |
1 | -[See this exception on Errbit](<%= app_problem_url problem.app, problem %> "See this exception on Errbit") | |
2 | -<% if notice = problem.notices.first %> | |
3 | -# <%= notice.message %> # | |
4 | -## Summary ## | |
5 | -<% if notice.request['url'].present? %> | |
6 | - ### URL ### | |
7 | - [<%= notice.request['url'] %>](<%= notice.request['url'] %>)" | |
8 | -<% end %> | |
9 | -### Where ### | |
10 | -<%= notice.where %> | |
11 | - | |
12 | -### Occured ### | |
13 | -<%= notice.created_at.to_s(:micro) %> | |
14 | - | |
15 | -### Similar ### | |
16 | -<%= (notice.problem.notices_count - 1).to_s %> | |
17 | -<% end %> | |
18 | 0 | \ No newline at end of file |
app/views/issue_trackers/jira_body.txt.erb
... | ... | @@ -1,17 +0,0 @@ |
1 | -<% if notice = problem.notices.first %> | |
2 | -h2. Summary | |
3 | -<% if notice.request['url'].present? %> | |
4 | -h3. URL | |
5 | - | |
6 | -"<%= notice.request['url'] %>":<%= notice.request['url'] %> | |
7 | -<% end %> | |
8 | -h3. Where | |
9 | - | |
10 | -<%= notice.where %> | |
11 | - | |
12 | -h3. When | |
13 | - | |
14 | -<%= notice.created_at.to_s(:micro) %> | |
15 | - | |
16 | -"More Details on Errbit":<%= app_problem_url problem.app, problem %> | |
17 | -<% end %> | |
18 | 0 | \ No newline at end of file |
app/views/issue_trackers/lighthouseapp_body.txt.erb
... | ... | @@ -1,35 +0,0 @@ |
1 | -[See this exception on Errbit](<%= app_problem_url problem.app, problem %> "See this exception on Errbit") | |
2 | -<% if notice = problem.notices.first %> | |
3 | - # <%= notice.message %> # | |
4 | - ## Summary ## | |
5 | - <% if notice.request['url'].present? %> | |
6 | - ### URL ### | |
7 | - [<%= notice.request['url'] %>](<%= notice.request['url'] %>)" | |
8 | - <% end %> | |
9 | - ### Where ### | |
10 | - <%= notice.where %> | |
11 | - | |
12 | - ### Occured ### | |
13 | - <%= notice.created_at.to_s(:micro) %> | |
14 | - | |
15 | - ### Similar ### | |
16 | - <%= (notice.problem.notices_count - 1).to_s %> | |
17 | - | |
18 | - ## Params ## | |
19 | - <code><%= pretty_hash(notice.params) %></code> | |
20 | - | |
21 | - ## Session ## | |
22 | - <code><%= pretty_hash(notice.session) %></code> | |
23 | - | |
24 | - ## Backtrace ## | |
25 | - <code> | |
26 | - <% notice.backtrace_lines.each do |line| %><%= line.number %>: <%= line.file_relative %> -> **<%= line.method %>** | |
27 | - <% end %> | |
28 | - </code> | |
29 | - | |
30 | - ## Environment ## | |
31 | - <% for key, val in notice.env_vars %> | |
32 | - <%= key %>: <%= val %> | |
33 | - <% end %> | |
34 | -<% end %> | |
35 | - |
app/views/issue_trackers/pivotal_body.txt.erb
... | ... | @@ -1,17 +0,0 @@ |
1 | -See this exception on Errbit: <%= app_problem_url problem.app, problem %> | |
2 | -<% if notice = problem.notices.first %> | |
3 | - <% if notice.request['url'].present? %>URL: <%= notice.request['url'] %><% end %> | |
4 | - Where: <%= notice.where %> | |
5 | - Occurred: <%= notice.created_at.to_s :micro %> | |
6 | - Similar: <%= (notice.problem.notices_count - 1).to_s %> | |
7 | - | |
8 | - Params: | |
9 | - <%= pretty_hash notice.params %> | |
10 | - | |
11 | - Session: | |
12 | - <%= pretty_hash notice.session %> | |
13 | - | |
14 | - Backtrace: | |
15 | - <%= notice.backtrace_lines[0..4].map { |line| "#{line.number}: #{line.file_relative} -> *#{line.method}*" }.join "\n" %> | |
16 | -<% end %> | |
17 | - |
app/views/issue_trackers/redmine_body.txt.erb
... | ... | @@ -1,17 +0,0 @@ |
1 | -<% if notice = problem.notices.first %> | |
2 | -h2. Summary | |
3 | -<% if notice.request['url'].present? %> | |
4 | -h3. URL | |
5 | - | |
6 | -"<%= notice.request['url'] %>":<%= notice.request['url'] %> | |
7 | -<% end %> | |
8 | -h3. Where | |
9 | - | |
10 | -<%= notice.where %> | |
11 | - | |
12 | -h3. When | |
13 | - | |
14 | -<%= notice.created_at.to_s(:micro) %> | |
15 | - | |
16 | -"More Details on Errbit":<%= app_problem_url problem.app, problem %> | |
17 | -<% end %> | |
18 | 0 | \ No newline at end of file |
app/views/issue_trackers/textile_body.txt.erb
... | ... | @@ -1,44 +0,0 @@ |
1 | -<% if notice = problem.notices.first %> | |
2 | -h1. <%= notice.message %> | |
3 | - | |
4 | -h3. "See this exception on Errbit":<%= app_problem_url problem.app, problem %> | |
5 | - | |
6 | -h2. Summary | |
7 | -<% if notice.request['url'].present? %> | |
8 | -h3. URL | |
9 | - | |
10 | -"<%= notice.request['url'] %>":<%= notice.request['url'] %> | |
11 | -<% end %> | |
12 | -h3. Where | |
13 | - | |
14 | -<%= notice.where %> | |
15 | - | |
16 | -h3. Occurred | |
17 | - | |
18 | -<%= notice.created_at.to_s(:micro) %> | |
19 | - | |
20 | -h3. Similar | |
21 | - | |
22 | -<%= (notice.problem.notices_count - 1).to_s %> | |
23 | - | |
24 | -h2. Params | |
25 | - | |
26 | -<pre><%= pretty_hash(notice.params) %></pre> | |
27 | - | |
28 | -h2. Session | |
29 | - | |
30 | -<pre><%= pretty_hash(notice.session) %></pre> | |
31 | - | |
32 | -h2. Backtrace | |
33 | - | |
34 | -| Line | File | Method | | |
35 | -<% notice.backtrace_lines.each do |line| %>| <%= line.number %> | <%= line.file_relative %> | *<%= line.method %>* | | |
36 | -<% end %> | |
37 | - | |
38 | -h2. Environment | |
39 | - | |
40 | -<% for key, val in notice.env_vars %>| <%= key %> | <%= val %> | | |
41 | -<% end %> | |
42 | - | |
43 | -<% end %> | |
44 | - |