Jump to content

Module:Gerrit dashboard/RelEng

From mediawiki.org
Module documentation
-- Gerrit open code review dashboard for the RelEng team
-- Displays all open code reviews filed by RelEng team members
-- Usage: {{#invoke:Gerrit dashboard/RelEng|link}}

local dashboard = require( 'Module:Gerrit dashboard' )
local link_to_dashboard = dashboard._link_to_dashboard

local team_members = {}
local dashboard_def = {}

local add_team_member = function ( member, name )
	table.insert( dashboard_def, { member, {
		{ 'status', 'open' },
		{ 'owner', name }
	} } )
	
	table.insert( team_members, { member, name } )
end

add_team_member( 'Antoine Musso', 'Hashar' )
add_team_member( 'Chad Horohoe', 'Chad' )
add_team_member( 'Dan Duvall', 'Dduvall' )
add_team_member( 'Mukunda Modell', '20after4' )
add_team_member( 'Tyler Cipriani', 'thcipriani' )
add_team_member( 'Željko Filipin', 'Zfilipin' )

return {
	link = function ( frame )
		return link_to_dashboard( dashboard_def, 'Release Engineering', 'Release Engineering dashboard on Gerrit' ) .. ' <sup>[[Module:Gerrit dashboard/RelEng|(source)]]</sup>'
	end
}