Skip to content

Commit

Permalink
Merge pull request #12096 from fridrich/master
Browse files Browse the repository at this point in the history
Add Eclipse Bugzilla to the list of issue trackers
  • Loading branch information
hennevogel committed Jan 18, 2022
2 parents 67efd39 + 64baecd commit a3adcfe
Show file tree
Hide file tree
Showing 4 changed files with 28 additions and 1 deletion.
10 changes: 10 additions & 0 deletions docs/api/api/issue_trackers.xml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,16 @@
<label>deb#@@@</label>
<enable-fetch>false</enable-fetch>
</issue-tracker>
<issue-tracker>
<name>beo</name>
<kind>bugzilla</kind>
<description>Eclipse Bugzilla</description>
<url>https://bugs.eclipse.org/bugs/</url>
<show-url>https://bugs.eclipse.org/bugs/show_bug.cgi?id=@@@</show-url>
<regex>beo#(\d+)</regex>
<label>beo#@@@</label>
<enable-fetch>false</enable-fetch>
</issue-tracker>
<issue-tracker>
<name>fdo</name>
<kind>bugzilla</kind>
Expand Down
6 changes: 6 additions & 0 deletions src/api/db/seeds.rb
Original file line number Diff line number Diff line change
Expand Up @@ -194,6 +194,12 @@
url: 'http://bugs.debian.org/',
label: 'deb#@@@',
show_url: 'http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=@@@')
IssueTracker.where(name: 'beo').first_or_create(description: 'Eclipse Bugzilla',
kind: 'bugzilla',
regex: 'beo#(\d+)',
url: 'https://bugs.eclipse.org/bugs/',
label: 'beo#@@@',
show_url: 'https://bugs.eclipse.org/bugs/show_bug.cgi?id=@@@')
IssueTracker.where(name: 'fdo').first_or_create(description: 'Freedesktop.org Bugzilla',
kind: 'bugzilla',
regex: 'fdo#(\d+)',
Expand Down
11 changes: 11 additions & 0 deletions src/api/test/fixtures/issue_trackers.yml
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,17 @@ deb:
label: '@@@'
issues_updated: 2011-07-29 14:00:21.000000000 Z
enable_fetch: 0
beo:
id: 46
name: beo
kind: bugzilla
description: Eclipse Bugzilla
url: https://bugs.eclipse.org/bugs/
show_url: https://bugs.eclipse.org/bugs/show_bug.cgi?id=@@@
regex: beo#(\d+)
label: '@@@'
issues_updated: 2011-07-29 14:00:21.000000000 Z
enable_fetch: 0
fdo:
id: 29
name: fdo
Expand Down
2 changes: 1 addition & 1 deletion src/api/test/functional/issue_trackers_controller_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ def test_should_get_index
login_king
get '/issue_trackers'
assert_response :success
assert_select 'issue-tracker', 25
assert_select 'issue-tracker', 26
end

def test_create_and_update_new_trackers
Expand Down

0 comments on commit a3adcfe

Please sign in to comment.