class Bicho::Plugins::Aliases

This plugin allows to specify shortcuts for bugzilla urls

Public Instance Methods

transform_site_url_hook(url, _logger) click to toggle source
# File lib/bicho/plugins/aliases.rb, line 7
def transform_site_url_hook(url, _logger)
  case url.to_s
  when 'bko', 'kernel' then 'https://bugzilla.kernel.org'
  when 'bgo', 'gnome' then 'https://bugzilla.gnome.org'
  when 'kde' then 'https://bugzilla.kde.org'
  else url
  end
end